Re: powerpc/mm/radix: Fix checkstops caused by invalid tlbiel

2018-04-12 Thread Michael Ellerman
On Thu, 2018-04-12 at 05:53:52 UTC, Michael Ellerman wrote: > In tlbiel_radix_set_isa300() we use the PPC_TLBIEL() macro to > construct tlbiel instructions. The instruction takes 5 fields, two of > which are registers, and the others are constants. But because it's > constructed with inline asm the

Re: [PATCH] powerpc/mm/radix: Fix checkstops caused by invalid tlbiel

2018-04-11 Thread Nicholas Piggin
On Thu, 12 Apr 2018 15:53:52 +1000 Michael Ellerman wrote: > In tlbiel_radix_set_isa300() we use the PPC_TLBIEL() macro to > construct tlbiel instructions. The instruction takes 5 fields, two of > which are registers, and the others are constants. But because it's > constructed with inline asm th

[PATCH] powerpc/mm/radix: Fix checkstops caused by invalid tlbiel

2018-04-11 Thread Michael Ellerman
In tlbiel_radix_set_isa300() we use the PPC_TLBIEL() macro to construct tlbiel instructions. The instruction takes 5 fields, two of which are registers, and the others are constants. But because it's constructed with inline asm the compiler doesn't know that. We got the constraint wrong on the 'r'