linux-next: build warnings after merge of the powerpc tree

2023-10-23 Thread Stephen Rothwell
Hi all, After merging the powerpc tree, today's linux-next build (powerpc allyesconfig) produced this warnings: WARNING: modpost: vmlinux: section mismatch in reference: process_fadump+0x2c8 (section: .text.process_fadump) -> fadump_setup_elfcorehdr_buf (section: .init.text) WARNING: modpost: v

Re: [PATCH v3 1/3] powerpc: make fadump resilient with memory add/remove events

2023-10-23 Thread Sourabh Jain
Hi Aditya, On 24/10/23 11:05, Aditya Gupta wrote: Hi sourabh, found a typo in comment. On Mon, Oct 09, 2023 at 09:49:51AM +0530, Sourabh Jain wrote: +/* + * Process an active dump in four steps. First, verify the crash info header + * signature/magic number for integrity and accuracy. Second,

[powerpc:topic/ppc-kvm] BUILD SUCCESS b7bce570430e42229fb63f775fcbb10f38b83c71

2023-10-23 Thread kernel test robot
arc allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20231022 gcc arc randconfig-001-20231023 gcc arm

Re: [PATCH v3 1/3] powerpc: make fadump resilient with memory add/remove events

2023-10-23 Thread Aditya Gupta
Hi sourabh, found a typo in comment. On Mon, Oct 09, 2023 at 09:49:51AM +0530, Sourabh Jain wrote: > > +/* > + * Process an active dump in four steps. First, verify the crash info header > + * signature/magic number for integrity and accuracy. Second, if the fadump > + * version is greater than 0,

Re: [PATCH 2/2] kexec: select CRYPTO from KEXEC_FILE instead of depending on it

2023-10-23 Thread Baoquan He
On 10/24/23 at 11:55am, Baoquan He wrote: > On 10/23/23 at 01:01pm, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > All other users of crypto code use 'select' instead of 'depends on', > > so do the same thing with KEXEC_FILE for consistency. > > > > In practice this makes very little diffe

Re: linux-next: Signed-off-by missing for commit in the powerpc tree

2023-10-23 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > Commit > > 351a050f602d ("Revert "powerpc: add `cur_cpu_spec` symbol to vmcoreinfo"") > > is missing a Signed-off-by from its author and committer. > > Reverts are commits as well ... Thanks, fixed. cheers

Re: [PATCH 2/2] kexec: select CRYPTO from KEXEC_FILE instead of depending on it

2023-10-23 Thread Baoquan He
On 10/23/23 at 01:01pm, Arnd Bergmann wrote: > From: Arnd Bergmann > > All other users of crypto code use 'select' instead of 'depends on', > so do the same thing with KEXEC_FILE for consistency. > > In practice this makes very little difference as kernels with kexec > support are very likely to

Re: [PATCH 10/10] [RFC] wifi: remove ipw2100/ipw2200 drivers

2023-10-23 Thread Stefan Lippers-Hollmann
Hi On 2023-10-23, Arnd Bergmann wrote: > From: Arnd Bergmann > > These two drivers were used for the earliest "Centrino" branded Intel > laptops during the late 32-bit Pentium-M era, roughly 2003 to 2005, which > probably makes it the most modern platform that still uses the wireless > extension

linux-next: Signed-off-by missing for commit in the powerpc tree

2023-10-23 Thread Stephen Rothwell
Hi all, Commit 351a050f602d ("Revert "powerpc: add `cur_cpu_spec` symbol to vmcoreinfo"") is missing a Signed-off-by from its author and committer. Reverts are commits as well ... -- Cheers, Stephen Rothwell pgpDO1RQ6UjL5.pgp Description: OpenPGP digital signature

Re: [PATCH v3 07/13] arm64, execmem: extend execmem_params for generated code allocations

2023-10-23 Thread Will Deacon
On Mon, Sep 18, 2023 at 10:29:49AM +0300, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The memory allocations for kprobes and BPF on arm64 can be placed > anywhere in vmalloc address space and currently this is implemented with > overrides of alloc_insn_page() and bpf_jit_alloc_exec() i

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

2023-10-23 Thread Will Deacon
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. > > This includes specification of a fallback range required by arm, arm64 > and powerp

Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies

2023-10-23 Thread Conor Dooley
On Mon, Oct 23, 2023 at 06:04:06PM +0200, Arnd Bergmann wrote: > On Mon, Oct 23, 2023, at 17:37, Conor Dooley wrote: > > On Mon, Oct 23, 2023 at 01:01:54PM +0200, Arnd Bergmann wrote: > > >> index 25474f8c12b79..f571bad2d22d0 100644 > >> --- a/arch/riscv/Kconfig > >> +++ b/arch/riscv/Kconfig > >>

Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies

2023-10-23 Thread Arnd Bergmann
On Mon, Oct 23, 2023, at 17:37, Conor Dooley wrote: > On Mon, Oct 23, 2023 at 01:01:54PM +0200, Arnd Bergmann wrote: >> index 25474f8c12b79..f571bad2d22d0 100644 >> --- a/arch/riscv/Kconfig >> +++ b/arch/riscv/Kconfig >> @@ -687,9 +687,7 @@ config ARCH_SELECTS_KEXEC_FILE >> select KEXEC_ELF >

Re: [PATCH 1/2] kexec: fix KEXEC_FILE dependencies

2023-10-23 Thread Conor Dooley
On Mon, Oct 23, 2023 at 01:01:54PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The cleanup for the CONFIG_KEXEC Kconfig logic accidentally changed the > 'depends on CRYPTO=y' dependency to a plain 'depends on CRYPTO', which > causes a link failure when all the crypto support is in a loa

Re: [PATCH 00/10] Remove obsolete and orphaned wifi drivers

2023-10-23 Thread Kalle Valo
"Arnd Bergmann" writes: > On Mon, Oct 23, 2023, at 15:45, Kalle Valo wrote: >> Arnd Bergmann writes: >> >>> From: Arnd Bergmann >>> >>> As discussed previously, a lot of the older wifi drivers are likely >>> entirely unused, Though we can't know for sure. >>> >>> As suggested by both Greg and J

Re: [PATCH 10/10] [RFC] wifi: remove ipw2100/ipw2200 drivers

2023-10-23 Thread Kalle Valo
Arnd Bergmann writes: > From: Arnd Bergmann > > These two drivers were used for the earliest "Centrino" branded Intel > laptops during the late 32-bit Pentium-M era, roughly 2003 to 2005, which > probably makes it the most modern platform that still uses the wireless > extension interface instea

Re: [PATCH 04/10] wifi: remove obsolete hostap driver

2023-10-23 Thread Kalle Valo
Arnd Bergmann writes: > From: Arnd Bergmann > > HostAP is an ISA/PCMCIA style 802.11b driver supporting only > wireless extensions, and some custom ioctls (already removed). > Some devices include a legacy PCI bridge but no DMA. > > The driver was marked obsolete in 2016 and is highly unlikely >

Re: [PATCH 00/10] Remove obsolete and orphaned wifi drivers

2023-10-23 Thread Arnd Bergmann
On Mon, Oct 23, 2023, at 15:45, Kalle Valo wrote: > Arnd Bergmann writes: > >> From: Arnd Bergmann >> >> As discussed previously, a lot of the older wifi drivers are likely >> entirely unused, Though we can't know for sure. >> >> As suggested by both Greg and Jakub, let's remove the ones that loo

Re: [PATCH 00/10] Remove obsolete and orphaned wifi drivers

2023-10-23 Thread Kalle Valo
Arnd Bergmann writes: > From: Arnd Bergmann > > As discussed previously, a lot of the older wifi drivers are likely > entirely unused, Though we can't know for sure. > > As suggested by both Greg and Jakub, let's remove the ones that look > are most likely to have no users left and also get in t

[PATCH 09/10] wifi: remove orphaned rndis_wlan driver

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann Wireless RNDIS USB is a new-style CFG80211 driver for 802.11b and 802.11g USB hardware from around 2004 to 2006. This makes it more modern than any of the others, but Kalle already classified it as "legacy" in commit 298e50ad8eb8f ("wifi: move raycs, wl3501 and rndis_wlan to l

[PATCH 08/10] wifi: remove orphaned wl3501 driver

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann Planet WL3501 is another PCMCIA driver for pre-802.11b interfaces (2Mbit/s) with incomplete CFG80211 support. This was marked as orphaned in 2017 but has been unmaintained for a long time before that. Signed-off-by: Arnd Bergmann --- MAINTAINERS

[PATCH 07/10] wifi: remove orphaned ray_cs driver

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann Aviator/Raytheon is an early PCMCIA driver, apparently predating 802.11b and only supporting wireless extensions. The driver has been orphaned since 2010 and only seen cosmetic updates long before than. Jean Tourrilhes pointed out in a 2005 changelog that he tested a change o

[PATCH 05/10] wifi: remove orphaned zd1201 driver

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann This is a wireless extensions style driver for 802.11b USB dongles, with partial support for cfg80211 interfaces. As these are all external dongles, there are probably few users that have not yet replaced them with cheap 802.11n devices that work better. Signed-off-by: Arnd

[PATCH 01/10] wifi: libertas: drop 16-bit PCMCIA support

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann With all the other PCMCIA WLAN adapters gone from the kernel, this is now the last remaining device with this interface, but as far as I can tell, all the actual libertas users were actually using either SDIO or USB. Signed-off-by: Arnd Bergmann --- drivers/net/wireless/mar

[PATCH 00/10] Remove obsolete and orphaned wifi drivers

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann As discussed previously, a lot of the older wifi drivers are likely entirely unused, Though we can't know for sure. As suggested by both Greg and Jakub, let's remove the ones that look are most likely to have no users left and also get in the way of the wext cleanup. If anyon

[PATCH v2] treewide: Spelling fix in comment

2023-10-23 Thread Kunwu Chan
reques -> request Signed-off-by: Kunwu Chan --- drivers/net/ethernet/toshiba/ps3_gelic_wireless.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c index dc14a66583ff..44488c1

Re: [PATCH] treewide: Spelling fix in comment

2023-10-23 Thread Kunwu Chan
Hi Geert, Thank you very much for your advice, I am a rookie, I am not familiar with many aspects, and I need to learn more. I'll modify the patch. On 2023/10/20 19:07, Geert Uytterhoeven wrote: Hi Kunwu, Thanks for your patch! This is not a treewide change. Hence the oneline-summary should

[PATCH] powerpc/mm: Fix boot crash with FLATMEM

2023-10-23 Thread Michael Ellerman
Erhard reported that his G5 was crashing with v6.6-rc kernels: mpic: Setting up HT PICs workarounds for U3/U4 BUG: Unable to handle kernel data access at 0xfeffbb62ffec65fe Faulting instruction address: 0xc005dc40 Oops: Kernel access of bad area, sig: 11 [#1] BE PAGE_SIZE=4K MMU=

[PATCH 2/2] kexec: select CRYPTO from KEXEC_FILE instead of depending on it

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann All other users of crypto code use 'select' instead of 'depends on', so do the same thing with KEXEC_FILE for consistency. In practice this makes very little difference as kernels with kexec support are very likely to also include some other feature that already selects both

[PATCH 1/2] kexec: fix KEXEC_FILE dependencies

2023-10-23 Thread Arnd Bergmann
From: Arnd Bergmann The cleanup for the CONFIG_KEXEC Kconfig logic accidentally changed the 'depends on CRYPTO=y' dependency to a plain 'depends on CRYPTO', which causes a link failure when all the crypto support is in a loadable module and kexec_file support is built-in: x86_64-linux-ld: vmlinu

Re: [PATCH V3] tools/perf: Add perf binary dependent rule for shellcheck log in Makefile.perf

2023-10-23 Thread James Clark
On 13/10/2023 08:36, Athira Rajeev wrote: > Add rule in new Makefile "tests/Makefile.tests" for running > shellcheck on shell test scripts. This automates below shellcheck > into the build. > > $ for F in $(find tests/shell/ -perm -o=x -name '*.sh'); do shellcheck > -S warning $F; done >

[PATCH] powerpc/32s: Implement local_flush_tlb_page_psize()

2023-10-23 Thread Michael Ellerman
There's a single call to local_flush_tlb_page_psize() in the code patching code. That call is never executed on 32-bit Book3S, because it's guarded by mm_patch_enabled() which is essentially a radix_enabled() check, which is always false on 32s. However depending on how the optimiser sees things i

Re: [PATCH v2 3/3] hvc/xen: fix console unplug

2023-10-23 Thread Juergen Gross
On 20.10.23 18:15, David Woodhouse wrote: From: David Woodhouse On unplug of a Xen console, xencons_disconnect_backend() unconditionally calls free_irq() via unbind_from_irqhandler(), causing a warning of freeing an already-free IRQ: (qemu) device_del con1 [ 32.050919] [ cut here

[PATCH] ppc64: add mmu information to vmcoreinfo

2023-10-23 Thread Aditya Gupta
Since below commit, address mapping for vmemmap has changed for Radix MMU, where address mapping is stored in kernel page table itself, instead of earlier used 'vmemmap_list'. commit 368a0590d954 ("powerpc/book3s64/vmemmap: switch radix to use a different vmemmap handling function") Hence