summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2020-10-12 11:54:33 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-11-05 15:34:25 +0300
commit33fe43cfd9b1c20f6f9899b44bf04e91823ff1c9 (patch)
tree7b59cf264092897fcef311841c33540604407040 /README
parent29daf869cbab69088fe1755d9dd224e99ba78b56 (diff)
downloadlinux-33fe43cfd9b1c20f6f9899b44bf04e91823ff1c9.tar.xz
powerpc/8xx: Manage _PAGE_ACCESSED through APG bits in L1 entry
When _PAGE_ACCESSED is not set, a minor fault is expected. To do this, TLB miss exception ANDs _PAGE_PRESENT and _PAGE_ACCESSED into the L2 entry valid bit. To simplify the processing and reduce the number of instructions in TLB miss exceptions, manage it as an APG bit and get it next to _PAGE_GUARDED bit to allow a copy in one go. Then declare the corresponding groups as handling all accesses as user accesses. As the PP bits always define user as No Access, it will generate a fault. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/80f488db230c6b0e7b3b990d72bd94a8a069e93e.1602492856.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions