Re: Crash in __do_IRQ with gcc 15

2025-05-13 Thread Paul Mackerras
On Sun, May 11, 2025 at 06:32:25PM +0530, Madhavan Srinivasan wrote: > > Can you try with this patch, I am testing this in my setup. > > Maddy > > > diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c > index a0e8b998c9b5..2ce7a4f2b2fb 100644 > --- a/arch/powerpc/kernel/irq.c > +

Re: Crash in __do_IRQ with gcc 15

2025-05-13 Thread Segher Boessenkool
Hi! On Mon, May 12, 2025 at 01:31:34PM +1000, Michael Ellerman wrote: > Paul Mackerras writes: > Are you building with pcrel? Otherwise r2 shouldn't be getting used as > an ordinary register. With any ELFv2 in fact, which is implied by the target triple. PCrel has nothing to do with it (well, i

Re: Crash in __do_IRQ with gcc 15

2025-05-13 Thread Paul Mackerras
On Mon, May 12, 2025 at 01:31:34PM +1000, Michael Ellerman wrote: > Are you building with pcrel? Otherwise r2 shouldn't be getting used as > an ordinary register. Yes, CONFIG_PPC_KERNEL_PCREL=y. I'll try with n and see what happens. > Can you show the disassembly of where it's getting used? c0

Re: Crash in __do_IRQ with gcc 15

2025-05-13 Thread Arnd Bergmann
On Mon, May 12, 2025, at 20:13, LEROY Christophe wrote: > Hi Arnd, > > Do you know when you will be able to add GCC 15 to > https://mirrors.edge.kernel.org/pub/tools/crosstool/ ? I have to create a new build environment for gcc-15 after I lost access to the machine I used for the earlier builds.

Re: Crash in __do_IRQ with gcc 15

2025-05-12 Thread LEROY Christophe
Hi Arnd, Do you know when you will be able to add GCC 15 to https://mirrors.edge.kernel.org/pub/tools/crosstool/ ? Thanks Christophe Le 10/05/2025 à 03:35, Paul Mackerras a écrit : > Running Linux on Microwatt with a kernel compiled on an x86-64 system > running Fedora 42 (using the packaged cr

Re: Crash in __do_IRQ with gcc 15

2025-05-11 Thread Michael Ellerman
Paul Mackerras writes: > Running Linux on Microwatt with a kernel compiled on an x86-64 system > running Fedora 42 (using the packaged cross-compiler, i.e. the > gcc-powerpcle64-linux-gnu package), I'm seeing a crash like this: > > [0.141591] smp: Bringing up secondary CPUs ... > [0.167628

Re: Crash in __do_IRQ with gcc 15

2025-05-11 Thread Madhavan Srinivasan
On 5/10/25 7:05 AM, Paul Mackerras wrote: > Running Linux on Microwatt with a kernel compiled on an x86-64 system > running Fedora 42 (using the packaged cross-compiler, i.e. the > gcc-powerpcle64-linux-gnu package), I'm seeing a crash like this: > > [0.141591] smp: Bringing up secondary CP

Crash in __do_IRQ with gcc 15

2025-05-10 Thread Paul Mackerras
Running Linux on Microwatt with a kernel compiled on an x86-64 system running Fedora 42 (using the packaged cross-compiler, i.e. the gcc-powerpcle64-linux-gnu package), I'm seeing a crash like this: [0.141591] smp: Bringing up secondary CPUs ... [0.167628] BUG: Unable to handle kernel data