arm64: enable generic CPU vulnerabilites support
authorMian Yousaf Kaukab <ykaukab@suse.de>
Mon, 15 Apr 2019 21:21:29 +0000 (16:21 -0500)
committerWill Deacon <will.deacon@arm.com>
Wed, 1 May 2019 13:48:06 +0000 (14:48 +0100)
Enable CPU vulnerabilty show functions for spectre_v1, spectre_v2,
meltdown and store-bypass.

Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig

index 7e34b9eba5de151572ba479d73ccf82ba18e8beb..6a7b7d4e0e903c37f6afd787076865fb7bf25309 100644 (file)
@@ -90,6 +90,7 @@ config ARM64
        select GENERIC_CLOCKEVENTS
        select GENERIC_CLOCKEVENTS_BROADCAST
        select GENERIC_CPU_AUTOPROBE
+       select GENERIC_CPU_VULNERABILITIES
        select GENERIC_EARLY_IOREMAP
        select GENERIC_IDLE_POLL_SETUP
        select GENERIC_IRQ_MULTI_HANDLER