Re: [PATCH] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits."

2020-05-28 Thread Michael Ellerman
On Wed, 20 May 2020 10:23:45 + (UTC), Christophe Leroy wrote: > This reverts commit 697ece78f8f749aeea40f2711389901f0974017a. > > 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

[PATCH] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits."

2020-05-20 Thread Christophe Leroy
This reverts commit 697ece78f8f749aeea40f2711389901f0974017a. 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