[PATCH v2] powerpc/book3s/kup: Mark the kuap/keup function non __init
Sachin Sant
sachinp at linux.vnet.ibm.com
Mon Dec 14 21:53:18 AEDT 2020
> On 14-Dec-2020, at 1:31 PM, Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com> wrote:
>
> The kernel call these functions on cpu online and hence they should
> not be marked __init.
>
> Fixes: 3b47b7549ead ("powerpc/book3s64/kuap: Move KUAP related function outside radix")
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>
> —
This fixes the reported crash I ran into during a cpu online operation.
Reported-by: Sachin Sant <sachinp at linux.vnet.ibm.com>
Tested-by: Sachin Sant <sachinp at linux.vnet.ibm.com>
-Sachin
More information about the Linuxppc-dev
mailing list