Re: [PATCH] powerpc/64s: Fix THP PMD collapse serialisation

2019-06-06 Thread Nicholas Piggin
Aneesh Kumar K.V's on June 7, 2019 1:23 am: > Nicholas Piggin writes: > >> Commit 1b2443a547f9 ("powerpc/book3s64: Avoid multiple endian conversion >> in pte helpers") changed the actual bitwise tests in pte_access_permitted >> by using pte_write() and pte_present() helpers rather than raw bitwis

Re: [PATCH] powerpc/64s: Fix THP PMD collapse serialisation

2019-06-06 Thread Aneesh Kumar K.V
Nicholas Piggin writes: > Commit 1b2443a547f9 ("powerpc/book3s64: Avoid multiple endian conversion > in pte helpers") changed the actual bitwise tests in pte_access_permitted > by using pte_write() and pte_present() helpers rather than raw bitwise > testing _PAGE_WRITE and _PAGE_PRESENT bits. > >

Re: [PATCH] powerpc/64s: Fix THP PMD collapse serialisation

2019-06-03 Thread Nicholas Piggin
Aneesh Kumar K.V's on June 3, 2019 4:43 pm: > On 6/3/19 11:35 AM, Nicholas Piggin wrote: >> Commit 1b2443a547f9 ("powerpc/book3s64: Avoid multiple endian conversion >> in pte helpers") changed the actual bitwise tests in pte_access_permitted >> by using pte_write() and pte_present() helpers rather

Re: [PATCH] powerpc/64s: Fix THP PMD collapse serialisation

2019-06-02 Thread Aneesh Kumar K.V
On 6/3/19 11:35 AM, Nicholas Piggin wrote: Commit 1b2443a547f9 ("powerpc/book3s64: Avoid multiple endian conversion in pte helpers") changed the actual bitwise tests in pte_access_permitted by using pte_write() and pte_present() helpers rather than raw bitwise testing _PAGE_WRITE and _PAGE_PRESEN

[PATCH] powerpc/64s: Fix THP PMD collapse serialisation

2019-06-02 Thread Nicholas Piggin
Commit 1b2443a547f9 ("powerpc/book3s64: Avoid multiple endian conversion in pte helpers") changed the actual bitwise tests in pte_access_permitted by using pte_write() and pte_present() helpers rather than raw bitwise testing _PAGE_WRITE and _PAGE_PRESENT bits. The pte_present change now returns t