Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Christian Zigotzky
On 05.07.24 03:19, Michael Ellerman wrote: Right, I had some debug code that I removed before posting. This version should compile :} cheers diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index fbb68fc28ed3..965d58c54fab 100644 --- a/arch/powerpc/kernel/prom_ini

WARNING&Oops in v6.6.37 on ppc64lea - Trying to vfree() bad address (00000000453be747)

2024-07-05 Thread Vitaly Chikunov
Hi, There is new WARNING and Oops on ppc64le in v6.6.37 when running LTP tests: bpf_prog01, bpf_prog02, bpf_prog04, bpf_prog05, prctl04. Logs excerpt below. I see there is 1 commit in v6.6.36..v6.6.37 with call to bpf_jit_binary_pack_finalize, backported from 5 patch mainline patchset: f99feda5

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Trevor Dickinson
Just for info.Christian is a very active tester of the Kernel on our PowerPC hardware. Healso coordinates a small but active team of beta testers who ensure that our hardware supports a wide range of PowerPC Linux distribution.Regards,Trevor DickinsonCo-founder of A-EON TechnologySent from my G

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Christian Zigotzky
Types corrected and html removed On 05.07.24 03:19, Michael Ellerman wrote: > > > Right, I had some debug code that I removed before posting. > > This version should compile :} > > cheers > > diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c > index fbb68fc28ed3..96

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Christian Zigotzky
On 05.07.24 03:19, Michael Ellerman wrote: > > > Right, I had some debug code that I removed before posting. > > This version should compile :} > > cheers > > diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c > index fbb68fc28ed3..965d58c54fab 100644 > --- a/arch/pow

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Segher Boessenkool
On Fri, Jul 05, 2024 at 11:19:39AM +1000, Michael Ellerman wrote: > + prom_printf("nemo: deleting interrupt-map properties\n"); > + rc = call_prom("interpret", 1, 1, > + " s\" /pxp@0,e000\" find-device" > + " s\" interrupt-map\" delete-property" > +

Re: [PATCH v4 28/29] kselftest/arm64: Add test case for POR_EL0 signal frame records

2024-07-05 Thread Shuah Khan
On 5/29/24 09:51, Mark Brown wrote: On Fri, May 03, 2024 at 02:01:46PM +0100, Joey Gouly wrote: Ensure that we get signal context for POR_EL0 if and only if POE is present on the system. Reviewed-by: Mark Brown For kselftest: Acked-by: Shuah Khan thanks, -- Shuah

Re: [PATCH] PCI: Fix crash during pci_dev hot-unplug on pseries KVM guest

2024-07-05 Thread Bjorn Helgaas
[+cc Lukas, FYI] On Wed, Jul 03, 2024 at 07:46:34PM +0530, Amit Machhiwal wrote: > With CONFIG_PCI_DYNAMIC_OF_NODES [1], a hot-plug and hot-unplug sequence > of a PCI device attached to a PCI-bridge causes following kernel Oops on > a pseries KVM guest: > > RTAS: event: 2, Type: Hotplug Event (2

Re: [PATCH v4 22/29] arm64: add Permission Overlay Extension Kconfig

2024-07-05 Thread Catalin Marinas
On Fri, May 03, 2024 at 02:01:40PM +0100, Joey Gouly wrote: > Now that support for POE and Protection Keys has been implemented, add a > config to allow users to actually enable it. > > Signed-off-by: Joey Gouly > Cc: Catalin Marinas > Cc: Will Deacon Acked-by: Catalin Marinas

Re: [PATCH v4 18/29] arm64: add POE signal support

2024-07-05 Thread Catalin Marinas
On Fri, May 03, 2024 at 02:01:36PM +0100, Joey Gouly wrote: > Add PKEY support to signals, by saving and restoring POR_EL0 from the > stackframe. > > Signed-off-by: Joey Gouly > Cc: Catalin Marinas > Cc: Will Deacon > Reviewed-by: Mark Brown > Acked-by: Szabolcs Nagy Reviewed-by: Catalin Ma

Re: [PATCH v4 17/29] arm64: implement PKEYS support

2024-07-05 Thread Catalin Marinas
On Fri, May 03, 2024 at 02:01:35PM +0100, Joey Gouly wrote: > @@ -163,7 +182,8 @@ static inline pteval_t __phys_to_pte_val(phys_addr_t phys) > #define pte_access_permitted_no_overlay(pte, write) \ > (((pte_val(pte) & (PTE_VALID | PTE_USER)) == (PTE_VALID | PTE_USER)) && > (!(write) || pte_w

Re: [PATCH 11/13] huge_memory: Remove dead vmf_insert_pXd code

2024-07-05 Thread Peter Xu
Hi, Alistair, On Thu, Jun 27, 2024 at 10:54:26AM +1000, Alistair Popple wrote: > Now that DAX is managing page reference counts the same as normal > pages there are no callers for vmf_insert_pXd functions so remove > them. > > Signed-off-by: Alistair Popple > --- > include/linux/huge_mm.h | 2

[powerpc:next] BUILD SUCCESS 45547a0a93d85f704b49788cde2e1d9ab9cd363b

2024-07-05 Thread kernel test robot
defconfig gcc-13.2.0 arc haps_hs_smp_defconfig gcc-13.2.0 arcnsim_700_defconfig gcc-13.2.0 arc randconfig-001-20240705 gcc-13.2.0 arc randconfig-002-20240705 gcc-13.2.0 arm

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Marc Zyngier
On 2024-07-05 09:05, Christian Zigotzky wrote: How about the other patch[1], which would be far preferable? M. [1] https://lore.kernel.org/all/86ed8ba2sp.wl-...@kernel.org - - - - Marc, We will test the patch as soon as possible. Christian - - - - Our tester has reported, that it doesn

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Christian Zigotzky
How about the other patch[1], which would be far preferable? M. [1] https://lore.kernel.org/all/86ed8ba2sp.wl-...@kernel.org - - - - Marc, We will test the patch as soon as possible. Christian - - - - Our tester has reported, that it doesn’t boot. Link: https://forum.hyperion-entertainm

[powerpc:next-test] BUILD SUCCESS 20ce0c247b2500cb7060cb115274ba71abda2626

2024-07-05 Thread kernel test robot
arc haps_hs_smp_defconfig gcc-13.2.0 arcnsim_700_defconfig gcc-13.2.0 arc randconfig-001-20240705 gcc-13.2.0 arc randconfig-002-20240705 gcc-13.2.0 arm allmodconfig gcc-13.2.0 arm

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

2024-07-05 Thread kernel test robot
gcc-13.2.0 arc haps_hs_smp_defconfig gcc-13.2.0 arcnsim_700_defconfig gcc-13.2.0 arc randconfig-001-20240705 gcc-13.2.0 arc randconfig-002-20240705 gcc-13.2.0 arm allmodconfig gcc

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Christian Zigotzky
How about the other patch[1], which would be far preferable? M. [1] https://lore.kernel.org/all/86ed8ba2sp.wl-...@kernel.org - - - - Marc, We will test the patch as soon as possible. Christian - - - - Our tester has reported, that it doesn’t boot. Link: https://forum.hyperion-entertainm

Re: [PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

2024-07-05 Thread Christian Zigotzky
[snip] My earlier request for valuable debug information still stands. But while you're at it, can you please give the following hack a go? M. --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -282,8 +282,10 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq)