powerpc/fsl_booke: Update of TLBCAMs after init
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 15 Oct 2021 10:02:48 +0000 (12:02 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 22 Oct 2021 04:22:03 +0000 (15:22 +1100)
commitd5970045cf9e266d9a43941ac0866865fd22a36a
treeadda8099d428aa047189299277b9dd05c0d97687
parent0b2859a74306b2b89f6e77c216fe0992ff890fa6
powerpc/fsl_booke: Update of TLBCAMs after init

After init, set readonly memory as ROX and set readwrite
memory as RWX, if STRICT_KERNEL_RWX is enabled.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/66bef0b9c273e1121706883f3cf5ad0a053d863f.1634292136.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/nohash/fsl_book3e.c