]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/book3s-64: Move _PAGE_PTE to 2nd most significant bit
authorPaul Mackerras <paulus@samba.org>
Mon, 22 Feb 2016 02:41:16 +0000 (13:41 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Feb 2016 09:34:39 +0000 (20:34 +1100)
commit8d17cb40e98bcbac9db8b18f868aea857ef26cb0
treef142e102797cd7281f1e7dac90fd632f669f27f2
parent42f239ec2d14eed5554836c6f930898ac969f31f
powerpc/mm/book3s-64: Move _PAGE_PTE to 2nd most significant bit

This changes _PAGE_PTE for 64-bit Book 3S processors from 0x1 to
0x4000_0000_0000_0000, because that bit is used as the L (leaf)
bit by PowerISA v3.0 CPUs in radix mode.  The "leaf" bit indicates
that the PTE points to a page directly rather than another radix
level, which is what the _PAGE_PTE bit means.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/hash.h