Re: [PATCH] powerpc/xics: Set the IRQ chip data for the ICS native backend

2021-09-19 Thread Michael Ellerman
On Mon, 13 Sep 2021 15:40:56 +0200, Cédric Le Goater wrote: > The ICS native driver relies on the IRQ chip data to find the struct > 'ics_native' describing the ICS controller but it was removed by commit > 248af248a8f4 ("powerpc/xics: Rename the map handler in a check handler"). > Revert this chan

Re: [PATCH] powerpc/xics: Set the IRQ chip data for the ICS native backend

2021-09-13 Thread Gustavo Romero
Hi, I confirm that if this fix is *not* applied to current Linus tree (c605c39677b9) and kernel boots on Microwatt (18eb029) the kernel will crash with the following exception: [1.846437] BUG: Kernel NULL pointer dereference on read at 0x0048 [1.853121] Faulting instruction address

Re: [PATCH] powerpc/xics: Set the IRQ chip data for the ICS native backend

2021-09-13 Thread Joel Stanley
On Mon, 13 Sept 2021 at 13:48, Cédric Le Goater wrote: > > The ICS native driver relies on the IRQ chip data to find the struct > 'ics_native' describing the ICS controller but it was removed by commit > 248af248a8f4 ("powerpc/xics: Rename the map handler in a check handler"). > Revert this change

Re: [PATCH] powerpc/xics: Set the IRQ chip data for the ICS native backend

2021-09-13 Thread Gustavo Romero
Hi, I confirm that if this fix is *not* applied to current Linus tree (c605c39677b9) and kernel boots on Microwatt (18eb029) the kernel will crash with the following exception: [1.846437] BUG: Kernel NULL pointer dereference on read at 0x0048 [1.853121] Faulting instruction address

[PATCH] powerpc/xics: Set the IRQ chip data for the ICS native backend

2021-09-13 Thread Cédric Le Goater
The ICS native driver relies on the IRQ chip data to find the struct 'ics_native' describing the ICS controller but it was removed by commit 248af248a8f4 ("powerpc/xics: Rename the map handler in a check handler"). Revert this change to fix the Microwatt SoC platform. Fixes: 248af248a8f4 ("powerpc