linux_dsm_epyc7002/arch/powerpc/mm/book3s32
Christophe Leroy 40bb0e9042 Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits."
This reverts commit 697ece78f8.

The implementation of SWAP on powerpc requires page protection
bits to not be one of the least significant PTE bits.

Until the SWAP implementation is changed and this requirement voids,
we have to keep at least _PAGE_RW outside of the 3 last bits.

For now, revert to previous PTE bits order. A further rework
may come later.

Fixes: 697ece78f8 ("powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits.")
Reported-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b34706f8de87f84d135abb5f3ede6b6f16fb1f41.1589969799.git.christophe.leroy@csgroup.eu
2020-05-20 22:35:52 +10:00
..
hash_low.S Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits." 2020-05-20 22:35:52 +10:00
Makefile powerpc/mm: Fix makefile for KASAN 2019-05-06 20:21:56 +10:00
mmu_context.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mmu.c Merge branch 'fixes' into next 2020-03-10 15:16:42 +11:00
tlb.c powerpc/32: refactor pmd_offset(pud_offset(pgd_offset... 2020-02-26 10:34:40 +11:00