Re: [PATCH 1/2] ASoC: fsl_rpmsg: Configure CPU DAI for card that sits on rpmsg-micfil-channel

2025-05-02 Thread Mark Brown
On Mon, 21 Apr 2025 19:57:00 +0900, Chancel Liu wrote: > Sound card that sits on rpmsg-micfil-channel has different settings on > CPU DAI. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: fsl_rpmsg: Configure CPU DAI for card tha

Re: [PATCH] powerpc/iommu: Memory leak in TCE table userspace view

2025-05-02 Thread IBM
Gaurav Batra writes: > When a device is opened by a userspace driver, via VFIO interface, DMA > window is created. This DMA window has TCE Table and a corresponding > data for userview of > TCE table. > > When the userspace driver closes the device, all the above infrastructure > is free'ed and t

Re: [PATCH bpf-next v3 08/11] bpf: Fall back to nospec for Spectre v1

2025-05-02 Thread Luis Gerhorst
Kumar Kartikeya Dwivedi writes: > Back when all of this surfaced, compiler folks came up with another > solution, to rely on Intel's guarantee that conditional moves are not > predicted. > > if (condition) { >mask = !condition ? 0UL : ~0UL; // CMOVcc >ptr &= mask; >x = *ptr; > } > > I

Re: [PATCH v3 0/9] module: Introduce hash-based integrity checking

2025-05-02 Thread James Bottomley
On Fri, 2025-05-02 at 08:53 +0200, Thomas Weißschuh wrote: > Hi James, > > On 2025-04-29 10:05:04-0400, James Bottomley wrote: > > On Tue, 2025-04-29 at 15:04 +0200, Thomas Weißschuh wrote: > > > The current signature-based module integrity checking has some > > > drawbacks in combination with rep

[PATCH] powerpc/8xx: Reduce alignment constraint for kernel memory

2025-05-02 Thread Christophe Leroy
8xx has three large page sizes: 8M, 512k and 16k. A too big alignment can lead to wasting memory. On a board which has only 32 MBytes of RAM, every single byte is worth it and a 512k alignment is sometimes too much. Allow mapping kernel memory with 16k pages and reduce the constraint on kernel me

Re: [PATCH] watchdog: Fix the SOFTLOCKUP_DETECTOR=n case

2025-05-02 Thread Venkat Rao Bagalkote
On 02/05/25 4:41 pm, Nysal Jan K.A. wrote: Update watchdog_thresh when SOFTLOCKUP_DETECTOR=n. Additionally fix a build failure in this case as well. Fixes: 0bff3dababb07 ("watchdog: fix watchdog may detect false positive of softlockup") Reported-by: Venkat Rao Bagalkote Closes: https://lore

Re: [PATCH 2/6] powerpc/xmon: fix sparse warning "Using plain integer as NULL pointer"

2025-05-02 Thread Christophe Leroy
Le 22/04/2025 à 15:10, Madhavan Srinivasan a écrit : Fix passing of argument 0 to NULL to avoid sparse warning I thought we wanted to keep this file in sync with opcodes/ppc-opc.c in the binutils repository. Are you sure you want to do such manual change ? Shouldn't the change first be d

Re: [PATCH 4/6] powerpc: fix sparse warnings

2025-05-02 Thread Christophe Leroy
Le 22/04/2025 à 15:10, Madhavan Srinivasan a écrit : structs are local to the source and does not need to be in global scope, so make it static. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/kernel/btext.c | 2 +- arch/powerpc/kernel/setup-common.c | 2 +- arch/p

[PATCH] watchdog: Fix the SOFTLOCKUP_DETECTOR=n case

2025-05-02 Thread Nysal Jan K.A.
Update watchdog_thresh when SOFTLOCKUP_DETECTOR=n. Additionally fix a build failure in this case as well. Fixes: 0bff3dababb07 ("watchdog: fix watchdog may detect false positive of softlockup") Reported-by: Venkat Rao Bagalkote Closes: https://lore.kernel.org/all/339e2b3e-c7ee-418f-a84c-9c6360d

Re: [PATCH] powerpc/iommu: Memory leak in TCE table userspace view

2025-05-02 Thread Nilay Shroff
On 4/25/25 10:38 PM, Gaurav Batra wrote: > When a device is opened by a userspace driver, via VFIO interface, DMA > window is created. This DMA window has TCE Table and a corresponding > data for userview of > TCE table. nitpick: Please consider folding the above line into the previous one. Oth

Re: [PATCH v2 2/5] powerpc: 83xx/gpio: use new line value setter callbacks

2025-05-02 Thread Christophe Leroy
Le 02/05/2025 à 10:59, Bartosz Golaszewski a écrit : From: Bartosz Golaszewski struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. Convert the driver to using them. Reviewed-by: Linus Walleij Signed-off-by: Bartosz Golaszewski

Re: [PATCH] tools/lib/perf: Fix -Werror=alloc-size-larger-than in cpumap.c

2025-05-02 Thread Likhitha Korrapati
Hi Arnaldo, On 4/25/25 23:16, Arnaldo Carvalho de Melo wrote: On Fri, Apr 25, 2025 at 08:19:02PM +0530, Athira Rajeev wrote: On 14 Apr 2025, at 7:08 AM, Madhavan Srinivasan wrote: On 4/7/25 5:38 PM, Venkat Rao Bagalkote wrote: On 07/04/25 12:10 am, Athira Rajeev wrote: On 6 Apr 2025, at 10:0

[PATCH v2 5/5] powerpc: 8xx/gpio: use new line value setter callbacks

2025-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. Convert the driver to using them. Reviewed-by: Linus Walleij Reviewed-by: Christophe Leroy Acked-by: Christophe Leroy # powerpc 8xx Signed-off-by: Bartos

[PATCH v2 4/5] powerpc: 52xx/gpio: use new line value setter callbacks

2025-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. Convert the driver to using them. Reviewed-by: Linus Walleij Reviewed-by: Christophe Leroy Signed-off-by: Bartosz Golaszewski --- arch/powerpc/platforms

[PATCH v2 3/5] powerpc: 44x/gpio: use new line value setter callbacks

2025-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. Convert the driver to using them. Reviewed-by: Linus Walleij Reviewed-by: Christophe Leroy Signed-off-by: Bartosz Golaszewski --- arch/powerpc/platforms

[PATCH v2 2/5] powerpc: 83xx/gpio: use new line value setter callbacks

2025-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. Convert the driver to using them. Reviewed-by: Linus Walleij Signed-off-by: Bartosz Golaszewski --- arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 13 +

[PATCH v2 1/5] powerpc: sysdev/gpio: use new line value setter callbacks

2025-05-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. Convert the driver to using them. Reviewed-by: Linus Walleij Reviewed-by: Christophe Leroy Signed-off-by: Bartosz Golaszewski --- arch/powerpc/sysdev/cp

[PATCH v2 0/5] powerpc: convert board-file GPIO chips to using new value setters

2025-05-02 Thread Bartosz Golaszewski
struct gpio_chip now has callbacks for setting line values that return an integer, allowing to indicate failures. We're in the process of converting all GPIO drivers to using the new API. This series converts all powerpc board-file level controllers. Signed-off-by: Bartosz Golaszewski --- Chang

Re: [PATCH] powerpc/powernv: Enable CPU idle state detection for POWER11

2025-05-02 Thread Christophe Leroy
Le 21/04/2025 à 09:07, Aboorva Devarajan a écrit : [Vous ne recevez pas souvent de courriers de aboor...@linux.ibm.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] Extend idle state detection to POWER11 by updating the PVR check. This ensures POWER

RE: segmentation fault when stepping multi-threaded application

2025-05-02 Thread Tomas Alvarez Vanoli
> Is it only when using gdbserver, or does it also happen when using gdb > directly on the board ? It also happens when using gdb directly on the board. Hadn't tested it because we don't have gdb in the target, but I included it and this is the result: (gdb) break ../sysdeps/powerpc/powerpc32

Re: [RFC V1 6/6] powerpc: Enable Generic Entry/Exit for syscalls.

2025-05-02 Thread Mukesh Kumar Chaurasiya
On Tue, Apr 29, 2025 at 11:41:09AM +0530, Shrikanth Hegde wrote: > > > On 4/28/25 20:52, Mukesh Kumar Chaurasiya wrote: > > Enable the syscall entry and exit path from generic framework. > > > > Signed-off-by: Mukesh Kumar Chaurasiya > > Hi Mukesh. Thanks for working on this. Trying to go thro

Re: [PATCH] tools/lib/perf: Fix -Werror=alloc-size-larger-than in cpumap.c

2025-05-02 Thread Mukesh Kumar Chaurasiya
On Fri, Apr 25, 2025 at 02:46:43PM -0300, Arnaldo Carvalho de Melo wrote: > On Fri, Apr 25, 2025 at 08:19:02PM +0530, Athira Rajeev wrote: > > > On 14 Apr 2025, at 7:08 AM, Madhavan Srinivasan > > > wrote: > > > On 4/7/25 5:38 PM, Venkat Rao Bagalkote wrote: > > >> On 07/04/25 12:10 am, Athira Ra

Re: [PATCH] Documentation: Fix description format for powerpc RTAS ioctls

2025-05-02 Thread Bagas Sanjaya
On Fri, May 02, 2025 at 09:42:37AM +0530, Madhavan Srinivasan wrote: > > > On 4/30/25 2:38 PM, Bagas Sanjaya wrote: > > On Tue, Apr 29, 2025 at 07:28:47PM -0700, Haren Myneni wrote: > >> Fix the description format for the following build warnings: > >> > >> "Documentation/userspace-api/ioctl/ioct