summaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2018-09-27 12:15:34 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2018-10-01 08:38:47 -0400
commit95b861a4a6d94f64d5242605569218160ebacdbe (patch)
tree201e6c1b33483438a87a7f2a030477bd41f82312 /arch/arm64/Kconfig
parent32a3e635fb0ecc1b197d54f710e76c6481cf19f0 (diff)
arm64: arch_timer: Add workaround for ARM erratum 1188873
When running on Cortex-A76, a timer access from an AArch32 EL0 task may end up with a corrupted value or register. The workaround for this is to trap these accesses at EL1/EL2 and execute them there. This only affects versions r0p0, r1p0 and r2p0 of the CPU. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index da5e6f085561..52985d175e5a 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -481,6 +481,18 @@ config ARM64_ERRATUM_1024718
481 481
482 If unsure, say Y. 482 If unsure, say Y.
483 483
484config ARM64_ERRATUM_1188873
485 bool "Cortex-A76: MRC read following MRRC read of specific Generic Timer in AArch32 might give incorrect result"
486 default y
487 help
488 This option adds work arounds for ARM Cortex-A76 erratum 1188873
489
490 Affected Cortex-A76 cores (r0p0, r1p0, r2p0) could cause
491 register corruption when accessing the timer registers from
492 AArch32 userspace.
493
494 If unsure, say Y.
495
484config CAVIUM_ERRATUM_22375 496config CAVIUM_ERRATUM_22375
485 bool "Cavium erratum 22375, 24313" 497 bool "Cavium erratum 22375, 24313"
486 default y 498 default y