[PATCH] powerpc: Enable generic cpu idle-loop

2023-08-17 Thread Vaibhav Jain
This minor patch enables config option GENERIC_IDLE_POLL_SETUP for arch powerpc. This should add support for kernel param 'nohlt'. Powerpc kernel also supports another kernel boot-time param called 'powersave' which can also be used to disable all cpu idle-states and forces CPU to an idle-loop

linux-next: manual merge of the tty tree with the powerpc tree

2023-08-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tty tree got a conflict in: arch/powerpc/include/asm/fs_pd.h between commits: e6e077cb2aa4 ("powerpc/include: Declare mpc8xx_immr in 8xx_immap.h") fecc436a97af ("powerpc/include: Remove mpc8260.h and m82xx_pci.h") fbbf4280dae4 ("powerpc/8xx:

linux-next: manual merge of the net-next tree with the powerpc tree

2023-08-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/freescale/fs_enet/fs_enet.h between commit: 60bc069c433f ("powerpc/include: Remove unneeded #include ") from the powerpc tree and commit: 7a76918371fe ("net: fs_enet: Move struct

Re: KASAN debug kernel fails to boot at early stage when CONFIG_SMP=y is set (kernel 6.5-rc5, PowerMac G4 3,6)

2023-08-17 Thread Michael Ellerman
Erhard Furtner writes: > On Wed, 16 Aug 2023 15:56:26 + > Christophe Leroy wrote: > >> Not sure this is the reason of the crash. Just that it disables bootx >> console here and doesn't re-enable any console before the crash. >> >> Could you move the call to btext_unmap() after the call to

Re: [PATCH 6/9] ata: pata_buddha: Remove #include

2023-08-17 Thread Sergey Shtylyov
On 8/17/23 7:07 PM, Geert Uytterhoeven wrote: > The Buddha, Catweasel, and X-Surf PATA driver does not need anything > from . > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Sergey Shtylyov [...] MBR, Sergey

Re: [PATCH 8/9] ata: pata_gayle: Remove #include

2023-08-17 Thread Sergey Shtylyov
On 8/17/23 7:07 PM, Geert Uytterhoeven wrote: > The Amiga Gayle PATA driver does not need anything from . > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Sergey Shtylyov [...] MBR, Sergey

Re: [PATCH 7/9] ata: pata_falcon: Remove #include

2023-08-17 Thread Sergey Shtylyov
On 8/17/23 7:07 PM, Geert Uytterhoeven wrote: > The Atari Falcon PATA driver does not need anything from . > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Sergey Shtylyov [...] MBR, Sergey

Re: [PATCH] powerpc/ps3: refactor strncpy usage

2023-08-17 Thread Geoff Levand
On 8/16/23 14:39, Justin Stitt wrote: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > `make_first_field()` should use similar implementation to `make_field()` > due to memcpy having more obvious behavior here. The end result yields > the same behavior as the

Re: [PATCH 5/9] asm-generic: Remove ide_iops.h

2023-08-17 Thread Arnd Bergmann
On Thu, Aug 17, 2023, at 18:07, Geert Uytterhoeven wrote: > The last user of ide_iops.h was removed in commit b7fb14d3ac63117e > ("ide: remove the legacy ide driver") in v5.14. > > Signed-off-by: Geert Uytterhoeven > --- > include/asm-generic/ide_iops.h | 39 -- >

Re: [PATCH 2/9] parisc: Remove

2023-08-17 Thread Helge Deller
On 8/17/23 18:07, Geert Uytterhoeven wrote: As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven Acked-by: Helge Deller Thanks! Helge --- arch/parisc/include/asm/ide.h | 54

Re: [PATCH] Revert "powerpc/xmon: Relax frame size for clang"

2023-08-17 Thread Nathan Chancellor
n=4096 > -endif > - > ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) > > obj-y+= xmon.o nonstdio.o spr_access.o xmon_bpts.o > > --- > base-commit: 16931859a6500d360b90aeacab3b505a3560a3ed > change-id: 20230817-ppc_xmon-d288d803610e > > Best regards, > -- > Nick Desaulniers >

Re: [PATCH] perf test: Fix parse-events tests to skip parametrized events

2023-08-17 Thread Ian Rogers
On Sun, Aug 6, 2023 at 9:50 PM Athira Rajeev wrote: > > Testcase "Parsing of all PMU events from sysfs" parse events for > all PMUs, and not just cpu. In case of powerpc, the PowerVM > environment supports events from hv_24x7 and hv_gpci PMU which > is of example format like below: > > -

Re: KASAN debug kernel fails to boot at early stage when CONFIG_SMP=y is set (kernel 6.5-rc5, PowerMac G4 3,6)

2023-08-17 Thread Erhard Furtner
On Wed, 16 Aug 2023 15:56:26 + Christophe Leroy wrote: > Not sure this is the reason of the crash. Just that it disables bootx > console here and doesn't re-enable any console before the crash. > > Could you move the call to btext_unmap() after the call to >

Re: [PATCH] tools/perf: Fix bpf__probe to set bpf_prog_type type only if differs from the desired one

2023-08-17 Thread Ian Rogers
On Thu, Aug 17, 2023 at 10:35 AM Athira Rajeev wrote: > > > > > On 07-Aug-2023, at 11:07 AM, Sachin Sant wrote: > > > > > > > >> On 07-Aug-2023, at 10:22 AM, Athira Rajeev > >> wrote: > >> > >> The test "BPF prologue generation" fails as below: > >> > >> Writing event: p:perf_bpf_probe/func

[PATCH] Revert "powerpc/xmon: Relax frame size for clang"

2023-08-17 Thread ndesaulniers
/ClangBuiltLinux/linux/issues/252 -KBUILD_CFLAGS += -Wframe-larger-than=4096 -endif - ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) obj-y += xmon.o nonstdio.o spr_access.o xmon_bpts.o --- base-commit: 16931859a6500d360b90aeacab3b505a3560a3ed change-id: 20230817-ppc_xmon-d288d803610e

Re: [PATCH] tools/perf: Fix bpf__probe to set bpf_prog_type type only if differs from the desired one

2023-08-17 Thread Athira Rajeev
> On 07-Aug-2023, at 11:07 AM, Sachin Sant wrote: > > > >> On 07-Aug-2023, at 10:22 AM, Athira Rajeev >> wrote: >> >> The test "BPF prologue generation" fails as below: >> >> Writing event: p:perf_bpf_probe/func _text+10423200 f_mode=+20(%gpr3):x32 >> offset=%gpr4:s64 orig=%gpr5:s32

Re: [PATCH] perf test: Fix parse-events tests to skip parametrized events

2023-08-17 Thread Athira Rajeev
> On 07-Aug-2023, at 11:40 AM, Sachin Sant wrote: > > > >> On 07-Aug-2023, at 10:20 AM, Athira Rajeev >> wrote: >> >> Testcase "Parsing of all PMU events from sysfs" parse events for >> all PMUs, and not just cpu. In case of powerpc, the PowerVM >> environment supports events from

[PATCH V2 2/2] tools/perf/tests: Fix object code reading to skip address that falls out of text section

2023-08-17 Thread Athira Rajeev
The testcase "Object code reading" fails in somecases for "fs_something" sub test as below: Reading object code for memory address: 0xc00807f0142c File is: /lib/modules/6.5.0-rc3+/kernel/fs/xfs/xfs.ko On file address is: 0x1114cc Objdump command is: objdump -z -d

[PATCH V2 1/2] tools/perf: Add text_end to "struct dso" to save .text section size

2023-08-17 Thread Athira Rajeev
Update "struct dso" to include new member "text_end". This new field will represent the offset for end of text section for a dso. This value is derived as: sh_size (Size of section in byes) + sh_offset (Section file offst) of the elf header for text. To resolve the address from a sample, perf

Re: [PATCH net-next] net: freescale: Remove unused declarations

2023-08-17 Thread Sean Anderson
On 8/17/23 09:41, Yue Haibing wrote: > Commit 5d93cfcf7360 ("net: dpaa: Convert to phylink") removed > fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. > Commit 48257c4f168e ("Add fs_enet ethernet network driver, for several > embedded platforms.") declared but never

Re: [PATCH 4/9] sparc: Remove

2023-08-17 Thread Sam Ravnborg
On Thu, Aug 17, 2023 at 06:07:35PM +0200, Geert Uytterhoeven wrote: > As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in > v5.14, there are no more generic users of . > > Signed-off-by: Geert Uytterhoeven Acked-by: Sam Ravnborg

[PATCH] powerpc: Move DMA64_PROPNAME define to a header

2023-08-17 Thread Michal Suchanek
Avoid redefining the same value in multiple source. Signed-off-by: Michal Suchanek --- arch/powerpc/include/asm/iommu.h | 3 +++ arch/powerpc/kexec/file_load_64.c | 5 + arch/powerpc/platforms/pseries/iommu.c | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 2/2] selftests/powerpc: add const qualification where possible

2023-08-17 Thread Nathan Lynch via B4 Relay
From: Nathan Lynch Various char * parameters in the common powerpc selftest APIs can be const. Signed-off-by: Nathan Lynch --- tools/testing/selftests/powerpc/harness.c | 4 ++-- tools/testing/selftests/powerpc/include/subunit.h | 16

[PATCH 1/2] powerpc/selftests: sort mm/.gitignore, add exec_prot

2023-08-17 Thread Nathan Lynch via B4 Relay
From: Nathan Lynch Add exec_prot to to mm/.gitignore and sort the result. Signed-off-by: Nathan Lynch --- tools/testing/selftests/powerpc/mm/.gitignore | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tools/testing/selftests/powerpc/mm/.gitignore

[PATCH 0/2] powerpc/selftests: miscellaneous improvements

2023-08-17 Thread Nathan Lynch via B4 Relay
: 20230817-powerpc-selftest-misc-12c61153e328 Best regards, -- Nathan Lynch

[PATCH 9/9] m68k: Remove

2023-08-17 Thread Geert Uytterhoeven
There are no more users of . Signed-off-by: Geert Uytterhoeven --- arch/m68k/include/asm/ide.h | 67 - 1 file changed, 67 deletions(-) delete mode 100644 arch/m68k/include/asm/ide.h diff --git a/arch/m68k/include/asm/ide.h b/arch/m68k/include/asm/ide.h

[PATCH 6/9] ata: pata_buddha: Remove #include

2023-08-17 Thread Geert Uytterhoeven
The Buddha, Catweasel, and X-Surf PATA driver does not need anything from . Signed-off-by: Geert Uytterhoeven --- drivers/ata/pata_buddha.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/pata_buddha.c b/drivers/ata/pata_buddha.c index 49bc619b83e255a3..c36ee991d5e5fdcc 100644

[PATCH treewide 0/9] Remove obsolete IDE headers

2023-08-17 Thread Geert Uytterhoeven
Hi all, This patch series removes all unused headers and . was still included by 3 PATA drivers for m68k platforms, but without any real need. The first 5 patches have no dependencies. The last patch depends on the 3 pata patches. Thanks for your comments! Geert Uytterhoeven (9):

[PATCH 2/9] parisc: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/parisc/include/asm/ide.h | 54 --- 1 file changed, 54 deletions(-) delete mode 100644

[PATCH 4/9] sparc: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/sparc/include/asm/ide.h | 97 1 file changed, 97 deletions(-) delete mode 100644

[PATCH 1/9] ARM: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/arm/include/asm/ide.h | 24 1 file changed, 24 deletions(-) delete mode 100644 arch/arm/include/asm/ide.h diff

[PATCH 5/9] asm-generic: Remove ide_iops.h

2023-08-17 Thread Geert Uytterhoeven
The last user of ide_iops.h was removed in commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14. Signed-off-by: Geert Uytterhoeven --- include/asm-generic/ide_iops.h | 39 -- 1 file changed, 39 deletions(-) delete mode 100644

[PATCH 3/9] powerpc: Remove

2023-08-17 Thread Geert Uytterhoeven
As of commit b7fb14d3ac63117e ("ide: remove the legacy ide driver") in v5.14, there are no more generic users of . Signed-off-by: Geert Uytterhoeven --- arch/powerpc/include/asm/ide.h | 18 -- 1 file changed, 18 deletions(-) delete mode 100644 arch/powerpc/include/asm/ide.h

[PATCH 8/9] ata: pata_gayle: Remove #include

2023-08-17 Thread Geert Uytterhoeven
The Amiga Gayle PATA driver does not need anything from . Signed-off-by: Geert Uytterhoeven --- drivers/ata/pata_gayle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/pata_gayle.c b/drivers/ata/pata_gayle.c index e5aa07f92106547e..3bdbe2b65a2b49f1 100644 ---

[PATCH 7/9] ata: pata_falcon: Remove #include

2023-08-17 Thread Geert Uytterhoeven
The Atari Falcon PATA driver does not need anything from . Signed-off-by: Geert Uytterhoeven --- drivers/ata/pata_falcon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/pata_falcon.c b/drivers/ata/pata_falcon.c index 996516e64f13504e..0904232e5e0c4c8c 100644 ---

Re: [PATCH v3 3/4] arch/mips/configs/*_defconfig cleanup

2023-08-17 Thread Philippe Mathieu-Daudé
On 17/8/23 13:50, Trevor Woerner wrote: Drop CONFIG_IP_NF_TARGET_CLUSTERIP from any remaining mips defconfigs as it was removed in commit 9db5d918e2c0 ("netfilter: ip_tables: remove clusterip target"). Signed-off-by: Trevor Woerner --- arch/mips/configs/ip22_defconfig| 1 -

[PATCH] powerpc/4xx: Add missing includes to fix no previous prototype errors

2023-08-17 Thread Christophe Leroy
A W=1 build of ppc40x_defconfig throws the followings errors: CC arch/powerpc/platforms/4xx/uic.o arch/powerpc/platforms/4xx/uic.c:274:13: warning: no previous prototype for 'uic_init_tree' [-Wmissing-prototypes] 274 | void __init uic_init_tree(void) | ^

[PATCH v2] powerpc/47x: Remove early_init_mmu_47x() to fix no previous prototype

2023-08-17 Thread Christophe Leroy
4xx/iss476-smp_defconfig leads to: CC arch/powerpc/mm/nohash/tlb.o arch/powerpc/mm/nohash/tlb.c:322:13: error: no previous prototype for 'early_init_mmu_47x' [-Werror=missing-prototypes] 322 | void __init early_init_mmu_47x(void) | ^~

[PATCH] powerpc/47x: Add prototype for mmu_init_secondary()

2023-08-17 Thread Christophe Leroy
A W=1 build of 44x/iss476-smp_defconfig gives: arch/powerpc/mm/nohash/44x.c:220:13: error: no previous prototype for 'mmu_init_secondary' [-Werror=missing-prototypes] 220 | void __init mmu_init_secondary(int cpu) | ^~ That function is called from head_4xx.S

[PATCH] powerpc/47x: Remove early_init_mmu_47x() to fix no previous prototype

2023-08-17 Thread Christophe Leroy
4xx/iss476-smp_defconfig leads to: CC arch/powerpc/mm/nohash/tlb.o arch/powerpc/mm/nohash/tlb.c:322:13: error: no previous prototype for 'early_init_mmu_47x' [-Werror=missing-prototypes] 322 | void __init early_init_mmu_47x(void) | ^~

[PATCH net-next] net: freescale: Remove unused declarations

2023-08-17 Thread Yue Haibing
Commit 5d93cfcf7360 ("net: dpaa: Convert to phylink") removed fman_set_mac_active_pause()/fman_get_pause_cfg() but not declarations. Commit 48257c4f168e ("Add fs_enet ethernet network driver, for several embedded platforms.") declared but never implemented fs_enet_platform_init() and

[powerpc:next] BUILD SUCCESS fe8aa8e3379326ecb77203cae50e8e83c054aedc

2023-08-17 Thread kernel test robot
randconfig-r026-20230817 gcc arc randconfig-r043-20230817 gcc arm allmodconfig gcc arm allyesconfig gcc arm defconfig gcc arm randconfig

[PATCH] powerpc/4xx: Remove pika_dtm_[un]register_shutdown() to fix no previous prototype

2023-08-17 Thread Christophe Leroy
ppc4xx_defconfig with W=1 results in: CC arch/powerpc/platforms/44x/warp.o arch/powerpc/platforms/44x/warp.c:369:5: error: no previous prototype for 'pika_dtm_register_shutdown' [-Werror=missing-prototypes] 369 | int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) |

Re: [PATCH] powerpc/82xx: Remove pq2_init_pci

2023-08-17 Thread Michael Ellerman
Christophe Leroy writes: > Commit 859b21a008eb ("powerpc: drop PowerQUICC II Family ADS platform > support") removed last user of pq2_init_pci. > > Remove it. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/platforms/82xx/pq2.c | 46 --- > 1 file changed, 46

Re: [PATCH v2] powerpc/fadump: reset dump area size if fadump memory reserve fails

2023-08-17 Thread Michael Ellerman
Sourabh Jain writes: > Hello Michael, > > Are there any reviews or comments on this fix? No, looks fine. Will pick it up for 6.6. cheers > On 04/07/23 10:37, Sourabh Jain wrote: >> In case fadump_reserve_mem() fails to reserve memory, the >> reserve_dump_area_size variable will retain the

Re: [PATCH] powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error

2023-08-17 Thread Arnd Bergmann
On Thu, Aug 17, 2023, at 14:26, Christophe Leroy wrote: > A W=1 build of mpc885_ads_defconfig throws the following error: > > CC arch/powerpc/platforms/8xx/m8xx_setup.o > arch/powerpc/platforms/8xx/m8xx_setup.c:41:1: error: no previous > prototype for 'init_internal_rtc'

Re: [PATCH] powerpc/4xx: Remove WatchdogHandler() to fix no previous prototype error

2023-08-17 Thread Arnd Bergmann
On Thu, Aug 17, 2023, at 14:40, Christophe Leroy wrote: > Building ppc40x_defconfig throws the following error: > > CC arch/powerpc/kernel/traps.o > arch/powerpc/kernel/traps.c:2232:29: warning: no previous prototype for > 'WatchdogHandler' [-Wmissing-prototypes] > 2232 | void

[PATCH] powerpc/4xx: Remove WatchdogHandler() to fix no previous prototype error

2023-08-17 Thread Christophe Leroy
Building ppc40x_defconfig throws the following error: CC arch/powerpc/kernel/traps.o arch/powerpc/kernel/traps.c:2232:29: warning: no previous prototype for 'WatchdogHandler' [-Wmissing-prototypes] 2232 | void __attribute__ ((weak)) WatchdogHandler(struct pt_regs *regs) |

Re: [PATCH v8 1/2] powerpc/rtas: Rename rtas_error_rc to rtas_generic_errno

2023-08-17 Thread Nathan Lynch
Michael Ellerman writes: > Mahesh J Salgaonkar writes: >> On 2023-08-15 13:52:14 Tue, Michael Ellerman wrote: >>> Mahesh Salgaonkar writes: > ... >>> > diff --git a/arch/powerpc/include/asm/rtas.h >>> > b/arch/powerpc/include/asm/rtas.h >>> > index 3abe15ac79db1..5572a0a2f6e18 100644 >>> >

[powerpc:next-test] BUILD SUCCESS 9a32584bc108c8fe4d02fa33b16caf686e4a788a

2023-08-17 Thread kernel test robot
randconfig-r022-20230817 gcc arc randconfig-r034-20230817 gcc arc randconfig-r043-20230817 gcc arm allmodconfig gcc arm allyesconfig gcc arm defconfig

[powerpc:fixes-test] BUILD SUCCESS 4f3175979e62de3b929bfa54a0db4b87d36257a7

2023-08-17 Thread kernel test robot
gcc arc randconfig-r022-20230817 gcc arm allmodconfig gcc arm allyesconfig gcc arm defconfig gcc arm stm32_defconfig gcc arm

[PATCH] powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error

2023-08-17 Thread Christophe Leroy
A W=1 build of mpc885_ads_defconfig throws the following error: CC arch/powerpc/platforms/8xx/m8xx_setup.o arch/powerpc/platforms/8xx/m8xx_setup.c:41:1: error: no previous prototype for 'init_internal_rtc' [-Werror=missing-prototypes] 41 | init_internal_rtc(void) |

Re: [PATCH v3 5/6] KVM: PPC: Add support for nestedv2 guests

2023-08-17 Thread Michael Ellerman
Jordan Niethe writes: > A series of hcalls have been added to the PAPR which allow a regular > guest partition to create and manage guest partitions of its own. KVM > already had an interface that allowed this on powernv platforms. This > existing interface will now be called "nestedv1". The

Re: [PATCH v3 4/6] KVM: PPC: Book3s HV: Hold LPIDs in an unsigned long

2023-08-17 Thread Michael Ellerman
Jordan Niethe writes: > The LPID register is 32 bits long. The host keeps the lpids for each > guest in an unsigned word struct kvm_arch. Currently, LPIDs are already > limited by mmu_lpid_bits and KVM_MAX_NESTED_GUESTS_SHIFT. > > The nestedv2 API returns a 64 bit "Guest ID" to be used be the L1

[PATCH v3 4/4] arch/powerpc/configs/*_defconfig cleanup

2023-08-17 Thread Trevor Woerner
Drop CONFIG_IP_NF_TARGET_CLUSTERIP as it was removed in commit 9db5d918e2c0 ("netfilter: ip_tables: remove clusterip target"). Signed-off-by: Trevor Woerner --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/configs/ppc6xx_defconfig

[PATCH v3 3/4] arch/mips/configs/*_defconfig cleanup

2023-08-17 Thread Trevor Woerner
Drop CONFIG_IP_NF_TARGET_CLUSTERIP from any remaining mips defconfigs as it was removed in commit 9db5d918e2c0 ("netfilter: ip_tables: remove clusterip target"). Signed-off-by: Trevor Woerner --- arch/mips/configs/ip22_defconfig| 1 - arch/mips/configs/malta_defconfig | 1 -

[PATCH v3 2/4] arch/loongarch/configs/*_defconfig cleanup

2023-08-17 Thread Trevor Woerner
Drop CONFIG_IP_NF_TARGET_CLUSTERIP as it was removed in commit 9db5d918e2c0 ("netfilter: ip_tables: remove clusterip target"). Drop CONFIG_NFT_OBJREF as it was removed in commit d037abc2414b ("netfilter: nft_objref: make it builtin"). Signed-off-by: Trevor Woerner ---

[PATCH v3 1/4] arch/arm/configs/*_defconfig cleanup

2023-08-17 Thread Trevor Woerner
Drop CONFIG_NF_LOG_NETDEV as it was removed in commit 1510618e45cb ("netfilter: nf_log_netdev: merge with nf_log_syslog"). Drop CONFIG_NFT_COUNTER as it was removed in commit 023223dfbfb3 ("netfilter: nf_tables: make counter support built-in"). Drop CONFIG_NF_FLOW_TABLE_IPV6 and

[PATCH v3 0/4] general defconfig cleanups

2023-08-17 Thread Trevor Woerner
Drop config options from defconfigs whose code has been removed. v3: While reorganizing the patches, I put the wrong commit message with the CONFIG_IP_NF_TARGET_CLUSTERIP option. v2: Generate arch-specific patches. In v1 I organized the patches by CONFIG_ option which caused some of the patches

Re: [PATCH v2 3/4] arch/mips/configs/*_defconfig cleanup

2023-08-17 Thread Trevor Woerner
On Thu 2023-08-17 @ 09:33:13 AM, Philippe Mathieu-Daudé wrote: > Hi Trevor, > > On 17/8/23 04:59, Trevor Woerner wrote: > > Drop CONFIG_IP_NF_TARGET_CLUSTERIP from any remaining mips defconfigs as it > > was removed in commit 57f8e00d8a82 ("usb: 71 musb: Drop old unused am35x > > glue layer"). >

Re: [PATCH v2] powerpc/fadump: reset dump area size if fadump memory reserve fails

2023-08-17 Thread Sourabh Jain
Hello Michael, Are there any reviews or comments on this fix? Thanks, Sourabh Jain On 04/07/23 10:37, Sourabh Jain wrote: In case fadump_reserve_mem() fails to reserve memory, the reserve_dump_area_size variable will retain the reserve area size. This will lead to

[PATCH] powerpc/82xx: Remove CONFIG_8260 and CONFIG_8272

2023-08-17 Thread Christophe Leroy
CONFIG_8272 is never used, remove it. CONFIG_8260 is redundant with CONFIG_PPC_82xx, remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/cputable.h | 2 +- arch/powerpc/platforms/82xx/Kconfig | 25 - arch/powerpc/platforms/Kconfig | 2 +- 3

[PATCH] powerpc/82xx: Remove pq2_init_pci

2023-08-17 Thread Christophe Leroy
Commit 859b21a008eb ("powerpc: drop PowerQUICC II Family ADS platform support") removed last user of pq2_init_pci. Remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/82xx/pq2.c | 46 --- 1 file changed, 46 deletions(-) diff --git

Re: [PATCH v2 3/4] arch/mips/configs/*_defconfig cleanup

2023-08-17 Thread Philippe Mathieu-Daudé
Hi Trevor, On 17/8/23 04:59, Trevor Woerner wrote: Drop CONFIG_IP_NF_TARGET_CLUSTERIP from any remaining mips defconfigs as it was removed in commit 57f8e00d8a82 ("usb: 71 musb: Drop old unused am35x glue layer"). How 57f8e00d8a82 is related? Do you mean commit 9db5d918e2c0 ("netfilter:

Re: [PATCH v8 1/2] powerpc/rtas: Rename rtas_error_rc to rtas_generic_errno

2023-08-17 Thread Michael Ellerman
Mahesh J Salgaonkar writes: > On 2023-08-15 13:52:14 Tue, Michael Ellerman wrote: >> Mahesh Salgaonkar writes: ... >> > diff --git a/arch/powerpc/include/asm/rtas.h >> > b/arch/powerpc/include/asm/rtas.h >> > index 3abe15ac79db1..5572a0a2f6e18 100644 >> > --- a/arch/powerpc/include/asm/rtas.h

Re: [PATCH] powerpc/ps3: refactor strncpy usage

2023-08-17 Thread Michael Ellerman
Justin Stitt writes: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > `make_first_field()` should use similar implementation to `make_field()` > due to memcpy having more obvious behavior here. The end result yields > the same behavior as the previous