diff options
author | Russell King (Oracle) | 2022-02-11 16:45:54 +0000 |
---|---|---|
committer | Russell King (Oracle) | 2022-03-05 10:41:22 +0000 |
commit | 9dd78194a3722fa6712192cdd4f7032d45112a9a (patch) | |
tree | 5ee76e8cebc54c104407856e61f83d47c9bf52ee /arch/arm/mm/Kconfig | |
parent | df0cc57e057f18e44dac8e6c18aba47ab53202f9 (diff) |
ARM: report Spectre v2 status through sysfs
As per other architectures, add support for reporting the Spectre
vulnerability status via sysfs CPU.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r-- | arch/arm/mm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 58afba346729..850329ea9bf8 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -830,6 +830,7 @@ config CPU_BPREDICT_DISABLE config CPU_SPECTRE bool + select GENERIC_CPU_VULNERABILITIES config HARDEN_BRANCH_PREDICTOR bool "Harden the branch predictor against aliasing attacks" if EXPERT |