Re: [PATCH] powerpc/40x: Fix assembler warning about r0

2020-08-06 Thread Michael Ellerman
Christophe Leroy writes: > Le 06/08/2020 à 04:18, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> Le 22/07/2020 à 04:24, Michael Ellerman a écrit : The assembler says: arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression >>> >>> I get exactly the

Re: [PATCH] powerpc/40x: Fix assembler warning about r0

2020-08-06 Thread Christophe Leroy
Le 06/08/2020 à 04:18, Michael Ellerman a écrit : Christophe Leroy writes: Le 22/07/2020 à 04:24, Michael Ellerman a écrit : The assembler says: arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression I get exactly the same with head_32.S, for the exact same reason.

Re: [PATCH] powerpc/40x: Fix assembler warning about r0

2020-08-05 Thread Michael Ellerman
Christophe Leroy writes: > Le 22/07/2020 à 04:24, Michael Ellerman a écrit : >> The assembler says: >>arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression > > I get exactly the same with head_32.S, for the exact same reason. Ah yep, I see it. I mostly build pmac32_defconfi

Re: [PATCH] powerpc/40x: Fix assembler warning about r0

2020-08-05 Thread Christophe Leroy
Le 22/07/2020 à 04:24, Michael Ellerman a écrit : The assembler says: arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression I get exactly the same with head_32.S, for the exact same reason. Christophe It's objecting to the use of r0 as the RA argument. That's becaus

Re: [PATCH] powerpc/40x: Fix assembler warning about r0

2020-08-04 Thread Michael Ellerman
On Wed, 22 Jul 2020 12:24:22 +1000, Michael Ellerman wrote: > The assembler says: > arch/powerpc/kernel/head_40x.S:623: Warning: invalid register expression > > It's objecting to the use of r0 as the RA argument. That's because > when RA = 0 the literal value 0 is used, rather than the content o