aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2019-01-09 14:36:34 +0000
committerMarc Zyngier <maz@kernel.org>2019-10-26 10:44:49 +0100
commitc2cc62d831863151fd0cb7da7ac9a0c324aab871 (patch)
tree1217bcd4601a77368e948218f85f050cdd647691 /arch/arm64/Kconfig
parentarm64: KVM: Prevent speculative S1 PTW when restoring vcpu context (diff)
downloadlinux-dev-c2cc62d831863151fd0cb7da7ac9a0c324aab871.tar.xz
linux-dev-c2cc62d831863151fd0cb7da7ac9a0c324aab871.zip
arm64: Enable and document ARM errata 1319367 and 1319537
Now that everything is in place, let's get the ball rolling by allowing the corresponding config option to be selected. Also add the required information to silicon_errata.rst. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to '')
-rw-r--r--arch/arm64/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 950a56b71ff0..b2877ed09307 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -538,6 +538,16 @@ config ARM64_ERRATUM_1286807
invalidated has been observed by other observers. The
workaround repeats the TLBI+DSB operation.
+config ARM64_ERRATUM_1319367
+ bool "Cortex-A57/A72: Speculative AT instruction using out-of-context translation regime could cause subsequent request to generate an incorrect translation"
+ default y
+ help
+ This option adds work arounds for ARM Cortex-A57 erratum 1319537
+ and A72 erratum 1319367
+
+ Cortex-A57 and A72 cores could end-up with corrupted TLBs by
+ speculating an AT instruction during a guest context switch.
+
If unsure, say Y.
config ARM64_ERRATUM_1463225