linux_dsm_epyc7002/arch/powerpc/include/asm/book3s
Aneesh Kumar K.V 8550e2fa34 powerpc/mm/hash: Use the correct PPP mask when updating HPTE
With commit e58e87adc8 "powerpc/mm: Update _PAGE_KERNEL_RO" we now
use all the three PPP bits. The top bit is now used to have a PPP value
of 0b110 which will be mapped to kernel read only. When updating the
hpte entry use right mask such that we update the 63rd bit (top 'P' bit)
too.

Prior to e58e87adc8 we didn't support KERNEL_RO at all (it was ==
KERNEL_RW), so this isn't a regression as such.

Fixes: e58e87adc8 ("powerpc/mm: Update _PAGE_KERNEL_RO")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-06-14 13:54:51 +10:00
..
32 powerpc/mm/radix: Flush page walk cache when freeing page table 2016-06-10 16:14:52 +10:00
64 powerpc/mm/hash: Use the correct PPP mask when updating HPTE 2016-06-14 13:54:51 +10:00
pgalloc.h powerpc/mm/radix: Flush page walk cache when freeing page table 2016-06-10 16:14:52 +10:00
pgtable.h powerpc/mm: Move PTE bits from generic functions to hash64 functions. 2015-12-14 15:19:08 +11:00