summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-12-06 14:04:47 +0300
committerWill Deacon <will@kernel.org>2022-12-06 14:04:47 +0300
commitf455fb65b4fcfcae29b4e8c44a46b23e3c8e893a (patch)
tree387bb0278a789a59b5c3c075a47275181d499142 /arch/arm64/Kconfig
parentf6ffa4c8c177c0b52d1c849289b08178f6da0eea (diff)
parent44ecda71fd8a70185c270f5914ac563827fe1d4c (diff)
downloadlinux-f455fb65b4fcfcae29b4e8c44a46b23e3c8e893a.tar.xz
Merge branch 'for-next/errata' into for-next/core
* for-next/errata: arm64: errata: Workaround possible Cortex-A715 [ESR|FAR]_ELx corruption arm64: Add Cortex-715 CPU part definition
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 1a1bd71ae294..0cb1443cc26f 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -968,6 +968,22 @@ config ARM64_ERRATUM_2457168
If unsure, say Y.
+config ARM64_ERRATUM_2645198
+ bool "Cortex-A715: 2645198: Workaround possible [ESR|FAR]_ELx corruption"
+ default y
+ help
+ This option adds the workaround for ARM Cortex-A715 erratum 2645198.
+
+ If a Cortex-A715 cpu sees a page mapping permissions change from executable
+ to non-executable, it may corrupt the ESR_ELx and FAR_ELx registers on the
+ next instruction abort caused by permission fault.
+
+ Only user-space does executable to non-executable permission transition via
+ mprotect() system call. Workaround the problem by doing a break-before-make
+ TLB invalidation, for all changes to executable user space mappings.
+
+ If unsure, say Y.
+
config CAVIUM_ERRATUM_22375
bool "Cavium erratum 22375, 24313"
default y