Re: [PATCH v2] powerpc/8xx: Allow disabling KUAP at boot time

2021-06-17 Thread Michael Ellerman
On Fri, 4 Jun 2021 04:49:25 + (UTC), Christophe Leroy wrote: > PPC64 uses MMU features to enable/disable KUAP at boot time. > But feature fixups are applied way too early on PPC32. > > But since commit c16728835eec ("powerpc/32: Manage KUAP in C"), > all KUAP is in C so it is now possible to u

[PATCH v2] powerpc/8xx: Allow disabling KUAP at boot time

2021-06-03 Thread Christophe Leroy
PPC64 uses MMU features to enable/disable KUAP at boot time. But feature fixups are applied way too early on PPC32. But since commit c16728835eec ("powerpc/32: Manage KUAP in C"), all KUAP is in C so it is now possible to use static branches. Signed-off-by: Christophe Leroy --- v2: Added missing