]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/book3s-64: Shuffle read, write, execute and user bits in PTE
authorPaul Mackerras <paulus@samba.org>
Mon, 22 Feb 2016 02:41:18 +0000 (13:41 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Feb 2016 09:34:40 +0000 (20:34 +1100)
commiteaa84b7b58f3915dfd742d565b3d54e37726dbd3
tree381c6e4d9365c72f810723194070c303bb7af625
parent04eee05360c8175758b4ec58b28cc0cb2c9ba170
powerpc/mm/book3s-64: Shuffle read, write, execute and user bits in PTE

This moves the _PAGE_EXEC, _PAGE_RW and _PAGE_USER bits around in
the Linux PTE on 64-bit Book 3S systems to correspond with the bit
positions used in radix mode by PowerISA v3.0 CPUs.  This also adds
a _PAGE_READ bit corresponding to the read permission bit in the
radix PTE.  _PAGE_READ is currently unused but could possibly be used
in future to improve pte_protnone().

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