Re: [PATCH 2/4] powerpc/64: Setup KUP before feature fixups

2018-11-28 Thread Christophe Leroy
On 11/22/2018 02:04 PM, Russell Currey wrote: The subsequent implementation of KUAP for radix makes use of a MMU feature in order to patch out assembly when KUAP is disabled or unsupported. This won't work unless there's an entry point for KUP support before the feature magic happens, so

[PATCH 2/4] powerpc/64: Setup KUP before feature fixups

2018-11-22 Thread Russell Currey
The subsequent implementation of KUAP for radix makes use of a MMU feature in order to patch out assembly when KUAP is disabled or unsupported. This won't work unless there's an entry point for KUP support before the feature magic happens, so relocate setup_kup() earlier in setup. Signed-off-by: