[PATCH net-next] net: use pdev instead of OF funcs

2024-11-09 Thread Rosen Penev
np here is ofdev->dev.of_node. Better to use the proper functions as there's no use of children or anything else. Signed-off-by: Rosen Penev --- drivers/net/can/grcan.c | 2 +- drivers/net/can/mscan/mpc5xxx_can.c | 2 +- drivers/net/dsa/bcm_sf2.c

Re: [PATCH] powerpc/ps3: Mark ps3_setup_uhc_device() __init

2024-11-09 Thread Geoff Levand
Hi Geert, On 11/6/24 22:26, Geert Uytterhoeven wrote: > ps3_setup_uhc_device() is only called from ps3_setup_ehci_device() and > ps3_setup_ohci_device(), which are both marked __init. Hence replace > the former's __ref marker by __init. > > Note that before commit bd721ea73e1f9655 ("treewide: re

Re: [PATCH 1/7] powerpc/entry: convert to common and generic entry

2024-11-09 Thread Luming Yu
On Thu, Nov 07, 2024 at 11:40:04AM +0800, Luming Yu wrote: > On Tue, Nov 05, 2024 at 12:47:18PM +0800, Luming Yu wrote: > > On Fri, Oct 25, 2024 at 10:50:05AM +0800, Luming Yu wrote: > > > On Thu, Oct 24, 2024 at 04:43:04PM +0800, Luming Yu wrote: > > > > On Wed, Oct 23, 2024 at 12:53:47PM +1100, M

Re: [PATCH] powerpc: Add preempt lazy support

2024-11-09 Thread Shrikanth Hegde
Thank you Sebastian for taking a look and rwb tag. On 2024-11-08 15:48:53 [+0530], Shrikanth Hegde wrote: Define preempt lazy bit for Powerpc. Use bit 9 which is free and within 16 bit range of NEED_RESCHED, so compiler can issue single andi. Since Powerpc doesn't use the generic entry/exit

Re: [PATCH] powerpc: Add preempt lazy support

2024-11-09 Thread Shrikanth Hegde
On 11/9/24 00:36, Ankur Arora wrote: Shrikanth Hegde writes: Define preempt lazy bit for Powerpc. Use bit 9 which is free and within 16 bit range of NEED_RESCHED, so compiler can issue single andi. Since Powerpc doesn't use the generic entry/exit, add lazy check at exit to user. CONFIG_PR