diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-10-15 12:02:47 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-10-22 15:22:03 +1100 |
commit | 0b2859a74306b2b89f6e77c216fe0992ff890fa6 (patch) | |
tree | 2917d67cd6bffe07782e1ac053ee10750d3f2182 /arch/powerpc/mm/mmu_decl.h | |
parent | 52bda69ae8b5102fe08c9db10f4a1514478e07d3 (diff) |
powerpc/fsl_booke: Allocate separate TLBCAMs for readonly memory
Reorganise TLBCAM allocation so that when STRICT_KERNEL_RWX is
enabled, TLBCAMs are allocated such that readonly memory uses
different TLBCAMs.
This results in an allocation looking like:
Memory CAM mapping: 4/4/4/1/1/1/1/16/16/16/64/64/64/256/256 Mb, residual: 256Mb
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/8ca169bc288261a0e0558712f979023c3a960ebb.1634292136.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
0 files changed, 0 insertions, 0 deletions