Re: [PATCH 3/4] powerpc/kuap: Refactor static branch for disabling kuap

2023-06-21 Thread Christophe Leroy
Le 06/06/2023 à 11:16, Nicholas Piggin a écrit : > On Mon Jun 5, 2023 at 9:04 PM AEST, Christophe Leroy wrote: >> All but book3s/64 use a static branch key for disabling kuap. >> book3s/64 uses a memory feature. >> >> Refactor all targets except book3s/64. >> >> Signed-off-by: Christophe Leroy >

Re: [PATCH 3/4] powerpc/kuap: Refactor static branch for disabling kuap

2023-06-06 Thread Nicholas Piggin
On Mon Jun 5, 2023 at 9:04 PM AEST, Christophe Leroy wrote: > All but book3s/64 use a static branch key for disabling kuap. > book3s/64 uses a memory feature. > > Refactor all targets except book3s/64. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/book3s/32/kup.h | 7 -

[PATCH 3/4] powerpc/kuap: Refactor static branch for disabling kuap

2023-06-05 Thread Christophe Leroy
All but book3s/64 use a static branch key for disabling kuap. book3s/64 uses a memory feature. Refactor all targets except book3s/64. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/kup.h | 7 --- arch/powerpc/include/asm/book3s/64/kup.h | 1 + arch/powerpc/