[PATCH] tracing/kprobes: Fix the description of variable length arguments

2023-10-26 Thread Yujie Liu
Fix the following kernel-doc warnings: kernel/trace/trace_kprobe.c:1029: warning: Excess function parameter 'args' description in '__kprobe_event_gen_cmd_start' kernel/trace/trace_kprobe.c:1097: warning: Excess function parameter 'args' description in '__kprobe_event_add_fields' Refer to the

Re: [PATCH v6] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-10-26 Thread Alessandro Carminati
Hello Francis, Il giorno gio 26 ott 2023 alle ore 18:01 Francis Laniel ha scritto: > > Hi! > > > Le mercredi 25 octobre 2023, 21:33:43 EEST Alessandro Carminati a écrit : > > Hi Francis, > > Thanks a lot for your feedback! > > You are welcome! > > > Il giorno mer 25 ott 2023 alle ore 15:21

Re: [PATCH v6] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-10-26 Thread Alessandro Carminati
Hello Masami, Thank you for spending time to test this work. Il giorno gio 26 ott 2023 alle ore 03:07 Masami Hiramatsu ha scritto: > > On Tue, 24 Oct 2023 20:11:57 + > "Alessandro Carminati (Red Hat)" wrote: > > > In the kernel environment, scenarios often arise where identical names > >

Re: [PATCH v6] scripts/link-vmlinux.sh: Add alias to duplicate symbols for kallsyms

2023-10-26 Thread Francis Laniel
Hi! Le mercredi 25 octobre 2023, 21:33:43 EEST Alessandro Carminati a écrit : > Hi Francis, > Thanks a lot for your feedback! You are welcome! > Il giorno mer 25 ott 2023 alle ore 15:21 Francis Laniel > > /* SNIP */ > > > debug >= DebugLevel.INFO.value: > > Shouldn't this rather test nmdata?

[PATCH v4 3/4] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535)

2023-10-26 Thread Stefan Hansson
Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T535) LTE tablet based on the MSM8926 platform. The common dtsi is also modified to describe the widest constraints, which required modifications to the matisse-wifi dts. Signed-off-by: Stefan Hansson --- arch/arm/boot/dts/qcom/Makefile

[PATCH v4 4/4] ARM: dts: qcom: samsung-matisse-common: Add UART

2023-10-26 Thread Stefan Hansson
This was not enabled in the matisse-wifi tree. Without this, it is not possible to use the USB port for serial debugging via a "Carkit debug cable". Signed-off-by: Stefan Hansson --- .../boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi| 4 1 file changed, 4 insertions(+) diff

[PATCH v4 1/4] ARM: dts: qcom: samsung-matisse-common: Add initial common device tree

2023-10-26 Thread Stefan Hansson
According to the dts from the kernel source code released by Samsung, matissewifi and matisselte only have minor differences in hardware, so use a shared dtsi to reduce duplicated code. Additionally, this should make adding support for matisse3g easier should someone want to do that at a later

[PATCH v4 2/4] dt-bindings: arm: qcom: Add Samsung Galaxy Tab 4 10.1 LTE

2023-10-26 Thread Stefan Hansson
This documents Samsung Galaxy Tab 4 10.1 LTE (samsung,matisselte) which is a tablet by Samsung based on the MSM8926 SoC. Signed-off-by: Stefan Hansson Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 0/4] Add samsung-matisselte and common matisse dtsi

2023-10-26 Thread Stefan Hansson
This series adds a common samsung-matisse dtsi and reworks samsung-matisse-wifi to use it, and introduces samsung-matisselte. I choose matisselte over matisse-lte as this is how most other devices (klte, s3ve3g) do it and it is the codename that Samsung gave the device. See individual commits for

Re: [PATCH] eventfs: Fix WARN_ON() in create_file_dentry()

2023-10-26 Thread Google
On Tue, 24 Oct 2023 12:36:28 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > As the comment right above a WARN_ON() in create_file_dentry() states: > > * Note, with the mutex held, the e_dentry cannot have content > * and the ei->is_freed be true at the same time. > >

Re: [PATCH 3/3] locking/atomic: openrisc: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-10-26 Thread wuqiang.matt
On 2023/10/26 16:46, Arnd Bergmann wrote: On Thu, Oct 26, 2023, at 09:39, wuqiang.matt wrote: arch_cmpxchg[64]_local() are not defined for openrisc. So implement them with generci_cmpxchg[64]_local, advised by Masami Hiramatsu. Closes:

Re: [PATCH v3 04/13] mm/execmem, arch: convert remaining overrides of module_alloc to execmem

2023-10-26 Thread Will Deacon
On Thu, Oct 26, 2023 at 11:58:00AM +0300, Mike Rapoport wrote: > On Mon, Oct 23, 2023 at 06:14:20PM +0100, Will Deacon wrote: > > On Mon, Sep 18, 2023 at 10:29:46AM +0300, Mike Rapoport wrote: > > > diff --git a/arch/arm64/kernel/module.c b/arch/arm64/kernel/module.c > > > index

Re: [PATCH v2] locking/atomic: sh: Use generic_cmpxchg_local for arch_cmpxchg_local()

2023-10-26 Thread Geert Uytterhoeven
On Wed, Oct 25, 2023 at 5:10 PM Masami Hiramatsu (Google) wrote: > From: Masami Hiramatsu (Google) > > Use __generic_cmpxchg_local() for arch_cmpxchg_local() implementation > in SH architecture because it does not implement arch_cmpxchg_local(). > > Reported-by: kernel test robot > Closes: >

Re: [PATCH v3 04/13] mm/execmem, arch: convert remaining overrides of module_alloc to execmem

2023-10-26 Thread Mike Rapoport
Hi Will, On Mon, Oct 23, 2023 at 06:14:20PM +0100, Will Deacon wrote: > Hi Mike, > > On Mon, Sep 18, 2023 at 10:29:46AM +0300, Mike Rapoport wrote: > > From: "Mike Rapoport (IBM)" > > > > Extend execmem parameters to accommodate more complex overrides of > > module_alloc() by architectures. >

Re: [PATCH 3/3] locking/atomic: openrisc: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-10-26 Thread Arnd Bergmann
On Thu, Oct 26, 2023, at 09:39, wuqiang.matt wrote: > arch_cmpxchg[64]_local() are not defined for openrisc. So implement > them with generci_cmpxchg[64]_local, advised by Masami Hiramatsu. > > Closes: >

Re: [PATCH v3 03/13] mm/execmem, arch: convert simple overrides of module_alloc to execmem

2023-10-26 Thread Mike Rapoport
Hi Rick, Sorry for the delay, I was a bit preoccupied with $stuff. On Thu, Oct 05, 2023 at 06:09:07PM +, Edgecombe, Rick P wrote: > On Thu, 2023-10-05 at 08:26 +0300, Mike Rapoport wrote: > > On Wed, Oct 04, 2023 at 03:39:26PM +, Edgecombe, Rick P wrote: > > > On Tue, 2023-10-03 at 17:29

[PATCH 3/3] locking/atomic: openrisc: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-10-26 Thread wuqiang.matt
arch_cmpxchg[64]_local() are not defined for openrisc. So implement them with generci_cmpxchg[64]_local, advised by Masami Hiramatsu. Closes: https://lore.kernel.org/linux-trace-kernel/169824660459.24340.14614817132696360531.stgit@devnote2 Closes:

[PATCH 2/3] locking/atomic: hexagon: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-10-26 Thread wuqiang.matt
arch_cmpxchg[64]_local() are not defined for hexagon. So implement them with generci_cmpxchg[64]_local, as advised by Masami Hiramatsu. Closes: https://lore.kernel.org/linux-trace-kernel/169824660459.24340.14614817132696360531.stgit@devnote2 Closes:

[PATCH 1/3] locking/atomic: arc: use generic_cmpxchg[64]_local for arch_cmpxchg[64]_local

2023-10-26 Thread wuqiang.matt
arch_cmpxchg[64]_local() are not defined for arc architecture. This patch implement them with generci_cmpxchg[64]_local, advised by Masami Hiramatsu. Closes: https://lore.kernel.org/linux-trace-kernel/169824660459.24340.14614817132696360531.stgit@devnote2 Closes: