diff options
author | Aneesh Kumar K.V (IBM) <aneesh.kumar@kernel.org> | 2023-12-04 12:36:37 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-12-07 15:34:11 +0300 |
commit | 773b93f1d1c38c5c0d5308b8c9229c7a6ec5b2a0 (patch) | |
tree | 324ada961a6bcad350dc738ed3e8523ab6dd12ac /arch/powerpc/mm/pgtable_32.c | |
parent | 27951e1d8274e9f9a2925b069e4492939a3f2099 (diff) | |
download | linux-773b93f1d1c38c5c0d5308b8c9229c7a6ec5b2a0.tar.xz |
powerpc/book3s/hash: Drop _PAGE_PRIVILEGED from PAGE_NONE
There used to be a dependency on _PAGE_PRIVILEGED with pte_savedwrite.
But that got dropped by
commit 6a56ccbcf6c6 ("mm/autonuma: use can_change_(pte|pmd)_writable() to replace savedwrite")
With the change in this patch numa fault pte (pte_protnone()) gets mapped as regular user pte
with RWX cleared (no-access) whereas earlier it used to be mapped _PAGE_PRIVILEGED.
Hash fault handling code gets some WARN_ON added in this patch because
those functions are not expected to get called with _PAGE_READ cleared.
commit 18061c17c8ec ("powerpc/mm: Update PROTFAULT handling in the page
fault path") explains the details.
Signed-off-by: "Aneesh Kumar K.V (IBM)" <aneesh.kumar@kernel.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231204093638.71503-1-aneesh.kumar@kernel.org
Diffstat (limited to 'arch/powerpc/mm/pgtable_32.c')
0 files changed, 0 insertions, 0 deletions