aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/test_emulate_step_exec_instr.S
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-01-25 12:34:20 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-22 00:10:16 +1100
commit78ca1108b10927b3d068c8da91352b0f4cd01fc5 (patch)
tree06e9414cb146b251eead7a86677eb2f251651ade /arch/powerpc/lib/test_emulate_step_exec_instr.S
parentpowerpc/603: don't handle PAGE_ACCESSED in TLB miss handlers. (diff)
downloadlinux-dev-78ca1108b10927b3d068c8da91352b0f4cd01fc5.tar.xz
linux-dev-78ca1108b10927b3d068c8da91352b0f4cd01fc5.zip
powerpc/book3s32: Reorder _PAGE_XXX flags to simplify TLB handling
For pages without _PAGE_USER, PP field is 00 For pages with _PAGE_USER, PP field is 10 for RW and 11 for RO. This patch sets _PAGE_USER to 0x002 and _PAGE_RW to 0x001 is order to simplify TLB handling by reducing amount of shifts. The location of _PAGE_PRESENT and _PAGE_HASHPTE doesn't matter as they are only SW related flags. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/test_emulate_step_exec_instr.S')
0 files changed, 0 insertions, 0 deletions