diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-02-10 16:05:45 +0000 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-03-05 10:42:07 +0000 |
commit | b9baf5c8c5c356757f4f9d8180b5e9d234065bc3 (patch) | |
tree | d5a219c88d8888508c947a84a86df32a941887a3 /arch/arm/kernel/spectre.c | |
parent | 8d9d651ff2270a632e9dc497b142db31e8911315 (diff) |
ARM: Spectre-BHB workaround
Workaround the Spectre BHB issues for Cortex-A15, Cortex-A57,
Cortex-A72, Cortex-A73 and Cortex-A75. We also include Brahma B15 as
well to be safe, which is affected by Spectre V2 in the same ways as
Cortex-A15.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel/spectre.c')
-rw-r--r-- | arch/arm/kernel/spectre.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/kernel/spectre.c b/arch/arm/kernel/spectre.c index 6f6dd1cfd099..ade967f18d06 100644 --- a/arch/arm/kernel/spectre.c +++ b/arch/arm/kernel/spectre.c @@ -45,6 +45,10 @@ ssize_t cpu_show_spectre_v2(struct device *dev, struct device_attribute *attr, method = "Firmware call"; break; + case SPECTRE_V2_METHOD_LOOP8: + method = "History overwrite"; + break; + default: method = "Multiple mitigations"; break; |