[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162505885820.174506.3727018626821602076.b4-ty@ellerman.id.au>
Date: Wed, 30 Jun 2021 23:14:18 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2] powerpc/4xx: Fix setup_kuep() on SMP
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
Powered by blists - more mailing lists