Home
last modified time | relevance | path

Searched hist:"25 ae981fafaa140a12e4c830992b4fe997071124" (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/mm/nohash/
H A Dkup.c25ae981fafaa140a12e4c830992b4fe997071124 Tue Oct 19 09:29:24 CEST 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/nohash: Move setup_kuap out of 8xx.c

In order to reuse it on booke/4xx, move KUAP
setup routine out of 8xx.c

Make them usable on SMP by removing the __init tag
as it is called for each CPU.

And use __prevent_user_access() instead of hard
coding initial lock.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae35eec3426509efc2b8ae69586c822e2fe2642a.1634627931.git.christophe.leroy@csgroup.eu
H A DMakefilediff 25ae981fafaa140a12e4c830992b4fe997071124 Tue Oct 19 09:29:24 CEST 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/nohash: Move setup_kuap out of 8xx.c

In order to reuse it on booke/4xx, move KUAP
setup routine out of 8xx.c

Make them usable on SMP by removing the __init tag
as it is called for each CPU.

And use __prevent_user_access() instead of hard
coding initial lock.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae35eec3426509efc2b8ae69586c822e2fe2642a.1634627931.git.christophe.leroy@csgroup.eu
H A D8xx.cdiff 25ae981fafaa140a12e4c830992b4fe997071124 Tue Oct 19 09:29:24 CEST 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/nohash: Move setup_kuap out of 8xx.c

In order to reuse it on booke/4xx, move KUAP
setup routine out of 8xx.c

Make them usable on SMP by removing the __init tag
as it is called for each CPU.

And use __prevent_user_access() instead of hard
coding initial lock.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ae35eec3426509efc2b8ae69586c822e2fe2642a.1634627931.git.christophe.leroy@csgroup.eu