[PATCH v2] powerpc/4xx: Fix setup_kuep() on SMP
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Jun 30 23:14:18 AEST 2021
On Tue, 29 Jun 2021 12:24:21 +0000 (UTC), Christophe Leroy wrote:
> On SMP, setup_kuep() is also called from start_secondary() since
> commit 86f46f343272 ("powerpc/32s: Initialise KUAP and KUEP in C").
>
> start_secondary() is not an __init function.
>
> Remove the __init marker from setup_kuep() and bail out when
> not caller on the first CPU as the work is already done.
Applied to powerpc/next.
[1/1] powerpc/4xx: Fix setup_kuep() on SMP
https://git.kernel.org/powerpc/c/fc4999864bca323f1b844fefe1b402632443c076
cheers
More information about the Linuxppc-dev
mailing list