diff options
author | James Morse <james.morse@arm.com> | 2019-10-17 19:42:58 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-10-25 18:46:40 +0200 |
commit | 05460849c3b51180d5ada3373d0449aea19075e4 (patch) | |
tree | 5bfcc53493c796afc793825f8801159106bdcf27 /arch/arm64/include/asm/cpucaps.h | |
parent | Linux 5.4-rc3 (diff) | |
download | linux-05460849c3b51180d5ada3373d0449aea19075e4.tar.xz linux-05460849c3b51180d5ada3373d0449aea19075e4.zip |
arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419
Cores affected by Neoverse-N1 #1542419 could execute a stale instruction
when a branch is updated to point to freshly generated instructions.
To workaround this issue we need user-space to issue unnecessary
icache maintenance that we can trap. Start by hiding CTR_EL0.DIC.
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpucaps.h')
-rw-r--r-- | arch/arm64/include/asm/cpucaps.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/cpucaps.h b/arch/arm64/include/asm/cpucaps.h index f19fe4b9acc4..f05afaec18cd 100644 --- a/arch/arm64/include/asm/cpucaps.h +++ b/arch/arm64/include/asm/cpucaps.h @@ -52,7 +52,8 @@ #define ARM64_HAS_IRQ_PRIO_MASKING 42 #define ARM64_HAS_DCPODP 43 #define ARM64_WORKAROUND_1463225 44 +#define ARM64_WORKAROUND_1542419 45 -#define ARM64_NCAPS 45 +#define ARM64_NCAPS 46 #endif /* __ASM_CPUCAPS_H */ |