diff options
author | Christophe Leroy <[email protected]> | 2024-07-02 15:51:30 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-07-12 15:52:18 -0700 |
commit | 276d5affbbaea4d369d1e5b9711cb2951037f6ee (patch) | |
tree | 15cf13dbe083b480a55a4cd011dc63270aa44845 /arch/powerpc/mm/pgtable.c | |
parent | 84319905ca5f3759c42082e20ed978c81f4dead0 (diff) |
powerpc/e500: don't pre-check write access on data TLB error
Don't pre-check write access on read-only pages on data TLB error.
Load the TLB anyway and take a DSI exception when it happens. This avoids
reading SPRN_ESR at every data TLB error exception.
Link: https://lkml.kernel.org/r/8525518e1657d6032b7e980c1888102828d66950.1719928057.git.christophe.leroy@csgroup.eu
Signed-off-by: Christophe Leroy <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Peter Xu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'arch/powerpc/mm/pgtable.c')
0 files changed, 0 insertions, 0 deletions