lkml.org 
[lkml]   [2021]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] powerpc/4xx: Fix setup_kuep() on SMP
Date
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

\
 
 \ /
  Last update: 2021-06-30 15:16    [W:0.098 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site