Re: [PATCH] eventfs: Use SRCU for freeing eventfs_inodes

2024-07-23 Thread Steven Rostedt
On Tue, 23 Jul 2024 23:07:53 +0200 Mathias Krause wrote: > To mirror the SRCU lock held in eventfs_iterate() when iterating over > eventfs inodes, use call_srcu() to free them too. > > This was accidentally(?) degraded to RCU in commit 43aa6f97c2d0 > ("eventfs: Get rid of dentry pointers

Re: [GIT PULL] rpmsg updates for v6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 12:17:49 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git > tags/rpmsg-v6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/643af93f15be901982b2b08f241263934201c99f Thank you! --

Re: [GIT PULL] hwspinlock updates for v6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 10:20:47 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git > tags/hwlock-v6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/58bffbac533d4526cb4922b8563d1963a90729be Thank you! --

Re: [GIT PULL] remoteproc updates for v6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 11:30:41 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git > tags/rproc-v6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/60c6119cadba52bee86b3e88011495483e26eb43 Thank you! --

[PATCH] eventfs: Use SRCU for freeing eventfs_inodes

2024-07-23 Thread Mathias Krause
To mirror the SRCU lock held in eventfs_iterate() when iterating over eventfs inodes, use call_srcu() to free them too. This was accidentally(?) degraded to RCU in commit 43aa6f97c2d0 ("eventfs: Get rid of dentry pointers without refcounts"). Cc: Ajay Kaher Cc: Linus Torvalds Fixes:

Re: tracing: user events UAF crash report

2024-07-23 Thread Mathias Krause
On 23.07.24 16:43, Steven Rostedt wrote: > On Fri, 19 Jul 2024 22:47:01 +0200 > Mathias Krause wrote: > >> Beside the obvious bug, I noticed the following (not fixing the issue, >> tho): >> >> diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c >> index 5d88c184f0fc..687ad0a26458

Re: [PATCH 2/2] LoongArch: KVM: Add paravirt qspinlock in guest side

2024-07-23 Thread kernel test robot
Hi Bibo, kernel test robot noticed the following build errors: [auto build test ERROR on 7846b618e0a4c3e0099d1d4512722b39ca99] url: https://github.com/intel-lab-lkp/linux/commits/Bibo-Mao/LoongArch-KVM-Add-paravirt-qspinlock-in-kvm-side/20240723-160536 base:

[GIT PULL] rpmsg updates for v6.11

2024-07-23 Thread Bjorn Andersson
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rpmsg-v6.11 for you to fetch changes up to

Re: [GIT PULL] livepatching for 6.11

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 17:46:20 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching > tags/livepatching-for-6.11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d2d721e2eb1337c67f0c5bba303f8a013b622bed Thank you!

Re: [GIT PULL] Modules changes for v6.11-rc1

2024-07-23 Thread pr-tracker-bot
The pull request you sent on Tue, 23 Jul 2024 10:14:01 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ > tags/modules-6.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f488790059fe7be6b2b059ddee10835b2500b603 Thank you! --

Re: [PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro

2024-07-23 Thread Jeff Johnson
On 7/15/2024 7:18 AM, Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o > > Add the missing invocation of the MODULE_DESCRIPTION() macro. > > Reviewed-by: Matt Wu > Signed-off-by: Jeff Johnson > --- > Changes

Re: [PATH v5 2/3] vdpa_sim_net: Add the support of set mac address

2024-07-23 Thread Andrew Lunn
> +static int vdpasim_net_set_attr(struct vdpa_mgmt_dev *mdev, > + struct vdpa_device *dev, > + const struct vdpa_dev_set_config *config) > +{ > + struct vdpasim *vdpasim = container_of(dev, struct vdpasim, vdpa); > + struct

Re: [PATH v5 1/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Andrew Lunn
On Tue, Jul 23, 2024 at 01:39:20PM +0800, Cindy Lu wrote: > Add new UAPI to support the mac address from vdpa tool > Function vdpa_nl_cmd_dev_attr_set_doit() will get the > new MAC address from the vdpa tool and then set it to the device. > > The usage is: vdpa dev set name vdpa_name mac

Re: [PATH v5 0/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Andrew Lunn
On Tue, Jul 23, 2024 at 01:39:19PM +0800, Cindy Lu wrote: > Add support for setting the MAC address using the VDPA tool. > This feature will allow setting the MAC address using the VDPA tool. > For example, in vdpa_sim_net, the implementation sets the MAC address > to the config space. However,

Re: [PATCH] rpmsg: char: add missing MODULE_DESCRIPTION() macro

2024-07-23 Thread Jeff Johnson
On 6/10/2024 10:25 AM, Mathieu Poirier wrote: > On Tue, Jun 04, 2024 at 06:53:44PM -0700, Jeff Johnson wrote: >> make allmodconfig && make W=1 C=1 reports: >> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/rpmsg/rpmsg_char.o >> >> Add the missing invocation of the MODULE_DESCRIPTION()

[GIT PULL] remoteproc updates for v6.11

2024-07-23 Thread Bjorn Andersson
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/rproc-v6.11 for you to fetch changes up to

[GIT PULL] hwspinlock updates for v6.11

2024-07-23 Thread Bjorn Andersson
The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0: Linux 6.10-rc1 (2024-05-26 15:20:12 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux.git tags/hwlock-v6.11 for you to fetch changes up to

[GIT PULL] Modules changes for v6.11-rc1

2024-07-23 Thread Luis Chamberlain
The following changes since commit 6ba59ff4227927d3a8530fc2973b80e94b54d58f: Linux 6.10-rc4 (2024-06-16 13:40:16 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ tags/modules-6.11-rc1 for you to fetch changes up to

[GIT PULL] livepatching for 6.11

2024-07-23 Thread Petr Mladek
Hi Linus, please pull the latest changes for the kernel livepatching from git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching tags/livepatching-for-6.11 - Show also patch->replace flag in sysfs. - Add or improve few selftests.

Re: tracing: user events UAF crash report

2024-07-23 Thread Steven Rostedt
On Fri, 19 Jul 2024 22:47:01 +0200 Mathias Krause wrote: > Beside the obvious bug, I noticed the following (not fixing the issue, > tho): > > diff --git a/fs/tracefs/event_inode.c b/fs/tracefs/event_inode.c > index 5d88c184f0fc..687ad0a26458 100644 > --- a/fs/tracefs/event_inode.c > +++

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Konrad Dybcio
On 23.07.2024 3:39 PM, Raymond Hackley wrote: >> Fixes? >> >> Konrad > > Hi Konrad, > > the issue is not reported or discussed on lkml, so there is no thread to fix? See the "In case your patch fixes a bug.." paragraph in: https://docs.kernel.org/process/submitting-patches.html > > Regards, >

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Raymond Hackley
> Fixes? > > Konrad Hi Konrad, the issue is not reported or discussed on lkml, so there is no thread to fix? Regards, Raymond

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

2024-07-23 Thread Konrad Dybcio
On 23.07.2024 3:15 PM, Raymond Hackley wrote: > Core Prime uses an Imagis IST3038 touchscreen that is connected to > blsp_i2c5. Add it to the device tree. > > Signed-off-by: Raymond Hackley > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

2024-07-23 Thread Raymond Hackley
Tested-by: Juan-Rafael Fernandez Regards, Raymond

[PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

2024-07-23 Thread Raymond Hackley
Core Prime uses an Imagis IST3038 touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Raymond Hackley --- .../boot/dts/qcom/msm8916-samsung-rossa.dts | 20 +++ 1 file changed, 20 insertions(+) diff --git

Re: [PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Konrad Dybcio
On 23.07.2024 3:12 PM, Raymond Hackley wrote: > The phone needs the touchkeys to be enabled so the sense lines of the > touch controller are mapped properly. Otherwise the touchscreen is not > mapped to the display properly. > > Signed-off-by: Raymond Hackley > --- Fixes? Konrad

[PATCH] arm64: dts: qcom: msm8916-samsung-fortuna: Enable the touchkeys

2024-07-23 Thread Raymond Hackley
The phone needs the touchkeys to be enabled so the sense lines of the touch controller are mapped properly. Otherwise the touchscreen is not mapped to the display properly. Signed-off-by: Raymond Hackley --- arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi | 2 ++ 1 file changed, 2

[PATCH] eventfs: Don't return NULL in eventfs_create_dir()

2024-07-23 Thread Mathias Krause
Commit 77a06c33a22d ("eventfs: Test for ei->is_freed when accessing ei->dentry") added another check, testing if the parent was freed after we released the mutex. If so, the function returns NULL. However, all callers expect it to either return a valid pointer or an error pointer, at least since

Re: [PATCH v3 7/9] dt-bindings: interconnect: qcom: msm8939: Fix example

2024-07-23 Thread Konrad Dybcio
On 9.07.2024 12:22 PM, Adam Skladowski wrote: > For now example list snoc_mm as children of bimc which is obviously > not valid, drop bimc and move snoc_mm into snoc. > > Signed-off-by: Adam Skladowski > --- loool, thanks Reviewed-by: Konrad Dybcio Konrad

Re: [PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-23 Thread Michael S. Tsirkin
On Tue, Jul 23, 2024 at 07:49:44AM +, Dragos Tatulea wrote: > On Tue, 2024-07-23 at 13:39 +0800, Cindy Lu wrote: > > Add the function to support setting the MAC address. > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > > to set the mac address > > > > Tested in ConnectX-6 Dx

Re: [PATCH 1/2] x86/tdx: Add prctl to allow userlevel TDX hypercalls

2024-07-23 Thread Kirill A . Shutemov
On Mon, Jul 22, 2024 at 10:04:40PM -0700, Tim Merrifield wrote: > > Thanks for the review, Kirill. > > On Mon, Jul 08, 2024 at 03:19:54PM +0300, Kirill A . Shutemov wrote: > > Hm. Per-thread flag is odd. I think it should be per-process. > > This is the only point I might need some

Re: [PATCH 3/4] ASoC: dt-bindings: qcom,sm8250: Add msm8953/msm8976-qdsp6-sndcard

2024-07-23 Thread Krzysztof Kozlowski
On 23/07/2024 10:19, Krzysztof Kozlowski wrote: > On 22/07/2024 11:51, Adam Skladowski wrote: >> Document MSM8953/MSM8976 QDSP6 cards. >> >> Signed-off-by: Adam Skladowski > > ... > >> +then: >>properties: >> -reg: false >> -reg-names: false >> +reg: >> +

Re: [PATCH 3/4] ASoC: dt-bindings: qcom,sm8250: Add msm8953/msm8976-qdsp6-sndcard

2024-07-23 Thread Krzysztof Kozlowski
On 22/07/2024 11:51, Adam Skladowski wrote: > Document MSM8953/MSM8976 QDSP6 cards. > > Signed-off-by: Adam Skladowski ... > +then: >properties: > -reg: false > -reg-names: false > +reg: > + items: > +- description: Microphone I/O mux

Re: [PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-23 Thread Dragos Tatulea
On Tue, 2024-07-23 at 13:39 +0800, Cindy Lu wrote: > Add the function to support setting the MAC address. > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > to set the mac address > > Tested in ConnectX-6 Dx device > > Signed-off-by: Cindy Lu > --- > drivers/vdpa/mlx5/net/mlx5_vnet.c |

[PATCH 2/2] LoongArch: KVM: Add paravirt qspinlock in guest side

2024-07-23 Thread Bibo Mao
Option PARAVIRT_SPINLOCKS is added on LoongArch system, and pv_lock_ops template is added here. If option PARAVIRT_SPINLOCKS is enabled, the native ops works on host machine. Two functions kvm_wait() and kvm_kick_cpu() are added specicial for VM, if VM detects hypervisor supports pv spinlock.

[PATCH 0/2] LoongArch: KVM: Add paravirt qspinlock support

2024-07-23 Thread Bibo Mao
Lock Holder Preemption (LHP) is classic problem especially on VM, if lock holder vCPU is preempted on host, other vCPUs will do busy looping and waste pCPU time. And there is no hw Pause Loop Exiting (PLE) supported on LoongArch system also. Here pavavirt qspinlock is introduced, by the kernel

[PATCH 1/2] LoongArch: KVM: Add paravirt qspinlock in kvm side

2024-07-23 Thread Bibo Mao
Add paravirt spinlock in kvm side, idle instruction is used with pv_wait() function so that vCPU thread releases pCPU and sleeps on the wait queue. With pv_kick_cpu() function, hypercall instruction is used to wake up vCPU thread and yield to vcpu thread, caller vcpu thread gives up schedule.

[PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text

2024-07-23 Thread Zheng Yejian
When a weak type function is overridden, its symbol will be removed from the symbol table, but its code will not be removed. Besides, due to lacking of size for kallsyms, kernel compute function size by substracting its symbol address from its next symbol address (see

[PATCH v2 4/5] ftrace: Fix possible out-of-bound issue in ftrace_process_locs()

2024-07-23 Thread Zheng Yejian
In ftrace_process_locs(), a series pages are prepared and linked in start_pg, then fentry records are skipped or added, then unused pages are freed. However, assume that all records are skipped, currently the start_pg will still be in list of ftrace_pages_start but without any record. Then in

[PATCH v2 3/5] ftrace: Skip invalid __fentry__ in ftrace_process_locs()

2024-07-23 Thread Zheng Yejian
ftrace_location() was changed to not only return the __fentry__ location when called for the __fentry__ location, but also when called for the sym+0 location after commit aebfd12521d9 ("x86/ibt,ftrace: Search for __fentry__ location"). That is, if sym+0 location is not __fentry__,

[PATCH v2 5/5] ftrace: Revert the FTRACE_MCOUNT_MAX_OFFSET workaround

2024-07-23 Thread Zheng Yejian
After patch titled "ftrace: Skip invalid __fentry__ in ftrace_process_locs()", __fentry__ locations in overridden weak function have been checked and skipped, then all records in ftrace_pages are valid, the FTRACE_MCOUNT_MAX_OFFSET workaround can be reverted, include: 1. commit b39181f7c690

[PATCH v2 2/5] module: kallsyms: Determine exact function size

2024-07-23 Thread Zheng Yejian
When a weak type function is overridden, its symbol will be removed from the symbol table, but its code will not been removed. It will cause find_kallsyms_symbol() to compute a larger function size than it actually is, just because symbol of its following weak function is removed. To fix this

[PATCH v2 0/5] kallsyms: Emit symbol for holes in text and fix weak function issue

2024-07-23 Thread Zheng Yejian
Background of this patch set can be found in v1: https://lore.kernel.org/all/20240613133711.2867745-1-zhengyeji...@huawei.com/ Here add a reproduction to show the impact to livepatch: 1. Add following hack to make livepatch-sample.ko do patch on do_one_initcall() which has an overriden weak

Re: [PATH v5 1/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Cindy Lu
On Tue, 23 Jul 2024 at 14:01, Jason Wang wrote: > > On Tue, Jul 23, 2024 at 1:41 PM Cindy Lu wrote: > > > > Add new UAPI to support the mac address from vdpa tool > > Function vdpa_nl_cmd_dev_attr_set_doit() will get the > > new MAC address from the vdpa tool and then set it to the device. > > >

Re: [PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-23 Thread Jason Wang
On Tue, Jul 23, 2024 at 1:41 PM Cindy Lu wrote: > > Add the function to support setting the MAC address. > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > to set the mac address > > Tested in ConnectX-6 Dx device > > Signed-off-by: Cindy Lu Acked-by: Jason Wang Thanks

Re: [PATH v5 2/3] vdpa_sim_net: Add the support of set mac address

2024-07-23 Thread Jason Wang
On Tue, Jul 23, 2024 at 1:41 PM Cindy Lu wrote: > > Add the function to support setting the MAC address. > For vdpa_sim_net, the driver will write the MAC address > to the config space, and other devices can implement > their own functions to support this. > > Signed-off-by: Cindy Lu Acked-by:

Re: [PATH v5 1/3] vdpa: support set mac address from vdpa tool

2024-07-23 Thread Jason Wang
On Tue, Jul 23, 2024 at 1:41 PM Cindy Lu wrote: > > Add new UAPI to support the mac address from vdpa tool > Function vdpa_nl_cmd_dev_attr_set_doit() will get the > new MAC address from the vdpa tool and then set it to the device. > > The usage is: vdpa dev set name vdpa_name mac

Re: [PATCH 04/17] arch, mm: move definition of node_data to generic code

2024-07-22 Thread Davidlohr Bueso
On Tue, 16 Jul 2024, Mike Rapoport wrote:\n From: "Mike Rapoport (Microsoft)" Every architecture that supports NUMA defines node_data in the same way: struct pglist_data *node_data[MAX_NUMNODES]; No reason to keep multiple copies of this definition and its forward declarations,

[PATH v5 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Cindy Lu
Add the function to support setting the MAC address. For vdpa/mlx5, the function will use mlx5_mpfs_add_mac to set the mac address Tested in ConnectX-6 Dx device Signed-off-by: Cindy Lu --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 28 1 file changed, 28 insertions(+)

[PATH v5 2/3] vdpa_sim_net: Add the support of set mac address

2024-07-22 Thread Cindy Lu
Add the function to support setting the MAC address. For vdpa_sim_net, the driver will write the MAC address to the config space, and other devices can implement their own functions to support this. Signed-off-by: Cindy Lu --- drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 22 +- 1

[PATH v5 1/3] vdpa: support set mac address from vdpa tool

2024-07-22 Thread Cindy Lu
Add new UAPI to support the mac address from vdpa tool Function vdpa_nl_cmd_dev_attr_set_doit() will get the new MAC address from the vdpa tool and then set it to the device. The usage is: vdpa dev set name vdpa_name mac **:**:**:**:**:** Here is example: root@L1# vdpa -jp dev config show vdpa0

[PATH v5 0/3] vdpa: support set mac address from vdpa tool

2024-07-22 Thread Cindy Lu
Add support for setting the MAC address using the VDPA tool. This feature will allow setting the MAC address using the VDPA tool. For example, in vdpa_sim_net, the implementation sets the MAC address to the config space. However, for other drivers, they can implement their own function, not

Re: [PATCH 1/2] x86/tdx: Add prctl to allow userlevel TDX hypercalls

2024-07-22 Thread Tim Merrifield
Thanks for the review, Kirill. On Mon, Jul 08, 2024 at 03:19:54PM +0300, Kirill A . Shutemov wrote: > Hm. Per-thread flag is odd. I think it should be per-process. This is the only point I might need some clarification on. I agree there doesn't seem to be much value in allowing per-thread

[PATCH v3 1/2] hugetlbfs: support tracepoint

2024-07-22 Thread Hongbo Li
Add basic tracepoints for {alloc, evict, free}_inode, setattr and fallocate. These can help users to debug hugetlbfs more conveniently. Signed-off-by: Hongbo Li --- MAINTAINERS | 1 + include/trace/events/hugetlbfs.h | 156 +++ 2 files changed,

[PATCH v3 2/2] hugetlbfs: use tracepoints in hugetlbfs functions.

2024-07-22 Thread Hongbo Li
Here we use the hugetlbfs tracepoint to track the call stack. And the output in trace is as follows: ``` touch-5265[005] .43.246550: hugetlbfs_alloc_inode: dev 0,51 ino 24621 dir 21959 mode 0100644 touch-5265[005] .43.246638: hugetlbfs_setattr: dev 0,51 ino 24621

[PATCH v3 0/2] Introduce tracepoint for hugetlbfs

2024-07-22 Thread Hongbo Li
Here we add some basic tracepoints for debugging hugetlbfs: {alloc, free, evict}_inode, setattr and fallocate. v2 can be found at: https://lore.kernel.org/all/zoyy-sfj5jvs8...@casper.infradead.org/T/ Changes since v2: - Simplify the tracepoint output for setattr. - Make every token be space

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Cindy Lu
On Tue, 23 Jul 2024 at 09:28, Jason Wang wrote: > > On Mon, Jul 22, 2024 at 10:48 PM Cindy Lu wrote: > > > > On Mon, 22 Jul 2024 at 20:55, Cindy Lu wrote: > > > > > > On Mon, 22 Jul 2024 at 17:45, Dragos Tatulea wrote: > > > > > > > > On Mon, 2024-07-22 at 15:48 +0800, Jason Wang wrote: > > >

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Jason Wang
On Mon, Jul 22, 2024 at 5:45 PM Dragos Tatulea wrote: > > On Mon, 2024-07-22 at 15:48 +0800, Jason Wang wrote: > > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > > > Add the function to support setting the MAC address. > > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > > >

[PATCH bpf-next v2 2/2] bpf: allow bpf_current_task_under_cgroup() with BPF_CGROUP_*

2024-07-22 Thread technoboy85
From: Matteo Croce The helper bpf_current_task_under_cgroup() currently is only allowed for tracing programs. Allow its usage also in the BPF_CGROUP_* program types. Move the code from kernel/trace/bpf_trace.c to kernel/bpf/helpers.c, so it compiles also without CONFIG_BPF_EVENTS. This will be

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Jason Wang
On Mon, Jul 22, 2024 at 10:48 PM Cindy Lu wrote: > > On Mon, 22 Jul 2024 at 20:55, Cindy Lu wrote: > > > > On Mon, 22 Jul 2024 at 17:45, Dragos Tatulea wrote: > > > > > > On Mon, 2024-07-22 at 15:48 +0800, Jason Wang wrote: > > > > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > > > >

[PATCH bpf-next v2 1/2] bpf: enable generic kfuncs for BPF_CGROUP_* programs

2024-07-22 Thread technoboy85
From: Matteo Croce These kfuncs are enabled even in BPF_PROG_TYPE_TRACING, so they should be safe also in BPF_CGROUP_* programs. Signed-off-by: Matteo Croce --- kernel/bpf/helpers.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c index

[PATCH bpf-next v2 0/2] bpf: enable some functions in cgroup programs

2024-07-22 Thread technoboy85
From: Matteo Croce Enable some BPF kfuncs and the helper bpf_current_task_under_cgroup() for program types BPF_CGROUP_*. These will be used by systemd-networkd: https://github.com/systemd/systemd/pull/32212 Matteo Croce (2): bpf: enable generic kfuncs for BPF_CGROUP_* programs bpf: allow

Re: tracing: user events UAF crash report

2024-07-22 Thread Steven Rostedt
On Fri, 19 Jul 2024 22:47:01 +0200 Mathias Krause wrote: > Subject: [PATCH] eventfs: Don't return NULL in eventfs_create_dir() > > Commit 77a06c33a22d ("eventfs: Test for ei->is_freed when accessing > ei->dentry") added another check, testing if the parent was freed after > we released the

Re: [PATCH bpf-next] bpf: allow bpf_current_task_under_cgroup() with BPF_CGROUP_*

2024-07-22 Thread Andrii Nakryiko
On Mon, Jul 22, 2024 at 11:21 AM wrote: > > From: Matteo Croce > > The helper bpf_current_task_under_cgroup() currently is only allowed for > tracing programs. > Allow its usage also in the BPF_CGROUP_* program types. > Move the code from kernel/trace/bpf_trace.c to kernel/bpf/cgroup.c, > so it

[PATCH bpf-next] bpf: allow bpf_current_task_under_cgroup() with BPF_CGROUP_*

2024-07-22 Thread technoboy85
From: Matteo Croce The helper bpf_current_task_under_cgroup() currently is only allowed for tracing programs. Allow its usage also in the BPF_CGROUP_* program types. Move the code from kernel/trace/bpf_trace.c to kernel/bpf/cgroup.c, so it compiles also without CONFIG_BPF_EVENTS. Signed-off-by:

Re: [PATCH v2] remoteproc: xlnx: add sram support

2024-07-22 Thread Mathieu Poirier
Good morning, On Mon, Jul 15, 2024 at 06:39:54PM -0700, Tanmay Shah wrote: > AMD-Xilinx zynqmp platform contains on-chip sram memory (OCM). > R5 cores can access OCM and access is faster than DDR memory but slower > than TCM memories available. Sram region can have optional multiple >

Re: [PATCH 4/4] ASoC: qcom: apq8016_sbc: Add support for msm8953/msm8976 SoC

2024-07-22 Thread kernel test robot
Hi Adam, kernel test robot noticed the following build warnings: [auto build test WARNING on v6.10] [also build test WARNING on linus/master next-20240722] [cannot apply to broonie-sound/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch,

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Cindy Lu
On Mon, 22 Jul 2024 at 20:55, Cindy Lu wrote: > > On Mon, 22 Jul 2024 at 17:45, Dragos Tatulea wrote: > > > > On Mon, 2024-07-22 at 15:48 +0800, Jason Wang wrote: > > > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > > > > > Add the function to support setting the MAC address. > > > >

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Cindy Lu
On Mon, 22 Jul 2024 at 17:45, Dragos Tatulea wrote: > > On Mon, 2024-07-22 at 15:48 +0800, Jason Wang wrote: > > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > > > Add the function to support setting the MAC address. > > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > > > to

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Cindy Lu
On Mon, 22 Jul 2024 at 15:49, Jason Wang wrote: > > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > Add the function to support setting the MAC address. > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > > to set the mac address > > > > Tested in ConnectX-6 Dx device > > > >

Re: [PATCH 1/4] ASoC: qcom: apq8016_sbc.c: Add Quinary support

2024-07-22 Thread Dmitry Baryshkov
On Mon, Jul 22, 2024 at 11:51:05AM GMT, Adam Skladowski wrote: > From: Vladimir Lypak > > Add support for configuring Quinary Mi2S interface > it will be used on MSM8953 and MSM8976 platform. > > Signed-off-by: Vladimir Lypak > [Adam: Split from MSM8953 support patch,add msg] > Signed-off-by:

Re: tracing: user events UAF crash report

2024-07-22 Thread Ajay Kaher
On Sat, Jul 20, 2024 at 2:17 AM Mathias Krause wrote: > > Hi Steven, Ajay, > > [ @Cc list: I found out issues with tracefs have been reported / > attempted to get fixed in the past, so you may be interested. ] > > I noticed, the user events ftrace selftest is crashing every now and > then in

Re: [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > Enable [A,C]DSP and MPSS remote processor on this device. > > Signed-off-by: Dang Huynh > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > The USB-C port is used for powering external devices and transfer > data from/to them. > > Signed-off-by: Dang Huynh > --- Reviewed-by: Konrad Dybcio Konradqmpphy_out { > + remote-endpoint = <_ss_in>; > +}; > + > _board { > clock-frequency

Re: [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > The F(x)tec Pro1X supports USB 3.0 through it's USB-C port. > > Signed-off-by: Dang Huynh > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 1/2] module: Split modules_install compression and in-kernel decompression

2024-07-22 Thread Masahiro Yamada
On Mon, Jul 22, 2024 at 6:07 PM Petr Pavlu wrote: > > The kernel configuration allows specifying a module compression mode. If > one is selected then each module gets compressed during > 'make modules_install' and additionally one can also enable support for > a respective direct in-kernel

Re: [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 11:17 AM, Dang Huynh wrote: >>> +_dsi0_phy { >>> + status = "okay"; >> >> No power supplies? >> >> Konrad > > Doesn't seem to be defined anywhere on downstream, may be hardware controlled. my downstream suggests L1b Konrad

[PATCH 4/4] ASoC: qcom: apq8016_sbc: Add support for msm8953/msm8976 SoC

2024-07-22 Thread Adam Skladowski
From: Vladimir Lypak Introduce support for audio card on MSM8953/MSM8976 platform. Main difference between those two is Q6AFE CLK API supported by firmware which influence way we enable digital codec clock. Either inside machine driver or outside via q6afe-clocks driver. Signed-off-by: Vladimir

[PATCH 3/4] ASoC: dt-bindings: qcom,sm8250: Add msm8953/msm8976-qdsp6-sndcard

2024-07-22 Thread Adam Skladowski
Document MSM8953/MSM8976 QDSP6 cards. Signed-off-by: Adam Skladowski --- .../bindings/sound/qcom,sm8250.yaml | 28 +-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml

[PATCH 2/4] ASoC: msm8916-wcd-analog: add cajon and cajon v2 support

2024-07-22 Thread Adam Skladowski
From: Vladimir Lypak Add regs overrides for Cajon(PM8952) and Cajon v2(PM8953) codecs. Signed-off-by: Vladimir Lypak [Adam: Add Cajon support,add msg] Co-developed-by: Adam Skladowski Signed-off-by: Adam Skladowski --- sound/soc/codecs/msm8916-wcd-analog.c | 63 +--

[PATCH 1/4] ASoC: qcom: apq8016_sbc.c: Add Quinary support

2024-07-22 Thread Adam Skladowski
From: Vladimir Lypak Add support for configuring Quinary Mi2S interface it will be used on MSM8953 and MSM8976 platform. Signed-off-by: Vladimir Lypak [Adam: Split from MSM8953 support patch,add msg] Signed-off-by: Adam Skladowski --- sound/soc/qcom/apq8016_sbc.c | 16 +++- 1

[PATCH 0/4] MSM8953/MSM8976 ASoC support

2024-07-22 Thread Adam Skladowski
Introduce support for basic sound card setup on MSM8953/MSM8976 platforms, document new compatibles and introduce support for more dais. Most of code is sourced from msm8953-mainline fork over github with some changes implemented by me,some basic changes are mentioned in each patch. Adam

Re: [PATH v4 3/3] vdpa/mlx5: Add the support of set mac address

2024-07-22 Thread Dragos Tatulea
On Mon, 2024-07-22 at 15:48 +0800, Jason Wang wrote: > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > Add the function to support setting the MAC address. > > For vdpa/mlx5, the function will use mlx5_mpfs_add_mac > > to set the mac address > > > > Tested in ConnectX-6 Dx device > > >

Re: [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU

2024-07-22 Thread Dang Huynh
> > +_dsi0_phy { > > + status = "okay"; > > No power supplies? > > Konrad Doesn't seem to be defined anywhere on downstream, may be hardware controlled.

[PATCH 2/2] module: Clean up the description of MODULE_SIG_

2024-07-22 Thread Petr Pavlu
The MODULE_SIG_ config choice has an inconsistent prompt styled as a question and lengthy option names. Simplify the prompt and option names to be consistent with other module options. Signed-off-by: Petr Pavlu --- kernel/module/Kconfig | 16 1 file changed, 8 insertions(+), 8

[PATCH 1/2] module: Split modules_install compression and in-kernel decompression

2024-07-22 Thread Petr Pavlu
The kernel configuration allows specifying a module compression mode. If one is selected then each module gets compressed during 'make modules_install' and additionally one can also enable support for a respective direct in-kernel decompression support. This means that the decompression support

[PATCH 0/2] module: Split modules_install compression and in-kernel decompression

2024-07-22 Thread Petr Pavlu
Allow enabling the in-kernel module decompression support separately, without requiring to enable also the automatic compression during 'make modules_install'. Petr Pavlu (2): module: Split modules_install compression and in-kernel decompression module: Clean up the description of MODULE_SIG_

Re: [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > Enable onboard Wi-Fi on the F(x)tec Pro1X. > > For reference, HW/SW identifies as: > qmi chip_id 0x120 chip_family 0x4007 board_id 0xff soc_id 0x4067 > qmi fw_version 0x324103d6 fw_build_timestamp 2021-12-02 08:20 > fw_build_id

Re: [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > This device has an RGB LED. It is used for notifications. > > Signed-off-by: Dang Huynh > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > Fxtec Pro1x uses the same display (BOE BF060Y8M-AJ0) as Pro1. > > Signed-off-by: Dang Huynh > --- [...] > + panel: panel@0 { > + compatible = "boe,bf060y8m-aj0"; > + reg = <0>; > + > + reset-gpios = < 82

Re: [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen

2024-07-22 Thread Dang Huynh
> On 22.07.2024 9:10 AM, Dang Huynh wrote: > > + > > + ts_vdd_supply: ts-vdd-supply { > > + compatible = "regulator-fixed"; > > + regulator-name = "ts_vdd_supply"; > > + gpio = < 3 GPIO_ACTIVE_HIGH>; > > + enable-active-high; > > + }; > > + > > +

Re: [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > The Pro1X has a caps lock LED on the keyboard. > > Signed-off-by: Dang Huynh > --- > arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts

Re: [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > The Fxtec Pro1X touchscreen uses Goodix GT9286 chip. > > Signed-off-by: Dang Huynh > --- > arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 49 > + > 1 file changed, 49 insertions(+) > > diff --git

Re: [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > F(x)tec Pro1X comes with PCA9534 IO Expander, it is used for enabling > touch screen VDD/VDDIO and keyboard's caps lock LED. > > Signed-off-by: Dang Huynh > --- Reviewed-by: Konrad Dybcio Konrad

Re: [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button

2024-07-22 Thread Konrad Dybcio
On 22.07.2024 9:10 AM, Dang Huynh wrote: > The Pro1X has a flip keyboard and a single-state camera button. > > Signed-off-by: Dang Huynh > --- > arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 33 > +++-- > 1 file changed, 31 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 00/15] Implement MODVERSIONS for Rust

2024-07-22 Thread Petr Pavlu
On 7/15/24 22:39, Sami Tolvanen wrote: > On Wed, Jul 10, 2024 at 7:30 AM Petr Pavlu wrote: >> On 6/17/24 19:58, Sami Tolvanen wrote: >>> The first 12 patches of this series add a small tool for computing >>> symbol versions from DWARF, called gendwarfksyms. When passed a list >>> of exported

Re: [PATCH 00/17] mm: introduce numa_memblks

2024-07-22 Thread Mike Rapoport
On Fri, Jul 19, 2024 at 02:33:47PM +0100, Jonathan Cameron wrote: > On Tue, 16 Jul 2024 14:13:29 +0300 > Mike Rapoport wrote: > > > From: "Mike Rapoport (Microsoft)" > > > > Hi, > > > > Following the discussion about handling of CXL fixed memory windows on > > arm64 [1] I decided to bite the

Re: [PATCH 15/17] mm: make numa_memblks more self-contained

2024-07-22 Thread Mike Rapoport
On Fri, Jul 19, 2024 at 07:07:12PM +0100, Jonathan Cameron wrote: > On Tue, 16 Jul 2024 14:13:44 +0300 > Mike Rapoport wrote: > > > From: "Mike Rapoport (Microsoft)" > > > > Introduce numa_memblks_init() and move some code around to avoid several > > global variables in numa_memblks. > > Hi

Re: [PATCH 12/17] mm: introduce numa_memblks

2024-07-22 Thread Mike Rapoport
On Fri, Jul 19, 2024 at 07:16:47PM +0100, Jonathan Cameron wrote: > On Tue, 16 Jul 2024 14:13:41 +0300 > Mike Rapoport wrote: > > > From: "Mike Rapoport (Microsoft)" > > > > Move code dealing with numa_memblks from arch/x86 to mm/ and add Kconfig > > options to let x86 select it in its

Re: [PATH v4 2/3] vdpa_sim_net: Add the support of set mac address

2024-07-22 Thread Jason Wang
On Mon, Jul 22, 2024 at 3:57 PM Cindy Lu wrote: > > On Mon, 22 Jul 2024 at 15:48, Jason Wang wrote: > > > > On Mon, Jul 22, 2024 at 9:06 AM Cindy Lu wrote: > > > > > > Add the function to support setting the MAC address. > > > For vdpa_sim_net, the driver will write the MAC address > > > to the

  1   2   3   4   5   6   7   8   9   10   >