linux_dsm_epyc7002/arch/arm64
Mark Rutland 3813733595 arm64: mm: fix inverted PAR_EL1.F check
When detecting a spurious EL1 translation fault, we have the CPU retry
the translation using an AT S1E1R instruction, and inspect PAR_EL1 to
determine if the fault was spurious.

When PAR_EL1.F == 0, the AT instruction successfully translated the
address without a fault, which implies the original fault was spurious.
However, in this case we return false and treat the original fault as if
it was not spurious.

Invert the return value so that we treat such a case as spurious.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Fixes: 42f91093b0 ("arm64: mm: Ignore spurious translation faults taken from the kernel")
Tested-by: James Morse <james.morse@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
2019-10-16 09:58:03 -07:00
..
boot pci-v5.4-changes 2019-09-23 19:16:01 -07:00
configs
crypto
include arm64: sysreg: fix incorrect definition of SYS_PAR_EL1_F 2019-10-16 09:52:28 -07:00
kernel arm64: entry.S: Do not preempt from IRQ before all cpufeatures are enabled 2019-10-16 09:51:43 -07:00
kvm
lib
mm arm64: mm: fix inverted PAR_EL1.F check 2019-10-16 09:58:03 -07:00
net
xen
Kbuild
Kconfig arm64: Kconfig: Make CONFIG_COMPAT_VDSO a proper Kconfig option 2019-10-07 13:32:15 +01:00
Kconfig.debug
Kconfig.platforms
Makefile arm64: Kconfig: Make CONFIG_COMPAT_VDSO a proper Kconfig option 2019-10-07 13:32:15 +01:00