linux/arch/powerpc/mm/book3s64
Nicholas Piggin 1479e3d3b7 powerpc/64s: Fix hash fault to use TRAP accessor
Hash faults use the trap vector to decide whether this is an
instruction or data fault. This should use the TRAP accessor
rather than open access regs->trap.

This won't cause a problem at the moment because 64s only uses
trap flags for system call interrupts (the norestart flag), but
that could change if any other trap flags get used in future.

Fixes: a4922f5442 ("powerpc/64s: move the hash fault handling logic to C")
Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210316105205.407767-1-npiggin@gmail.com
2021-03-29 13:22:15 +11:00
..
Makefile powerpc/book3s64/kuap/kuep: Add PPC_PKEY config on book3s64 2020-12-04 01:01:24 +11:00
hash_4k.c powerpc/book3s64/kuap: Use Key 3 for kernel mapping with hash translation 2020-12-04 01:01:25 +11:00
hash_64k.c powerpc/book3s64/kuap: Use Key 3 for kernel mapping with hash translation 2020-12-04 01:01:25 +11:00
hash_hugepage.c powerpc/book3s64/kuap: Use Key 3 for kernel mapping with hash translation 2020-12-04 01:01:25 +11:00
hash_hugetlbpage.c powerpc/mm: Move hpte_insert_repeating() prototype 2021-01-30 11:39:29 +11:00
hash_native.c powerpc/64s/pseries: Fix hash tlbiel_all_isa300 for guest kernels 2020-11-27 00:10:39 +11:00
hash_pgtable.c powerpc/book3s64/kuap: Use Key 3 for kernel mapping with hash translation 2020-12-04 01:01:25 +11:00
hash_tlb.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
hash_utils.c powerpc/64s: Fix hash fault to use TRAP accessor 2021-03-29 13:22:15 +11:00
internal.h powerpc/mm/64s: Fix no previous prototype warning 2021-02-11 23:28:51 +11:00
iommu_api.c powerpc/mm/book3s64/iommu: fix some RCU-list locks 2021-01-31 22:35:49 +11:00
mmu_context.c powerpc/mm/book3s64: Fix a typo in mmu_context.c 2021-03-29 13:22:12 +11:00
pgtable.c powerpc/mm/64s: Fix no previous prototype warning 2021-02-11 23:28:51 +11:00
pkeys.c powerpc/64s: Fold update_current_thread_[i]amr() into their only callers 2021-03-29 13:22:14 +11:00
radix_hugetlbpage.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
radix_pgtable.c powerpc/book3s64/kuep: Move KUEP related function outside radix 2020-12-04 01:01:24 +11:00
radix_tlb.c powerpc/mm/64s: Fix no previous prototype warning 2021-02-11 23:28:51 +11:00
slb.c powerpc: convert interrupt handlers to use wrappers 2021-02-09 00:02:12 +11:00
subpage_prot.c mmap locking API: convert mmap_sem comments 2020-06-09 09:39:14 -07:00