arm64: ssbs: Don't treat CPUs with SSBS as unaffected by SSB
authorWill Deacon <will.deacon@arm.com>
Tue, 30 Apr 2019 15:58:56 +0000 (16:58 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 1 May 2019 13:48:06 +0000 (14:48 +0100)
commiteb337cdfcd5dd3b10522c2f34140a73a4c285c30
tree6d180cde9a9dfc0e388063bca1b9da78dc7b6c7b
parent61ae1321f06c4489c724c803e9b8363dea576da3
arm64: ssbs: Don't treat CPUs with SSBS as unaffected by SSB

SSBS provides a relatively cheap mitigation for SSB, but it is still a
mitigation and its presence does not indicate that the CPU is unaffected
by the vulnerability.

Tweak the mitigation logic so that we report the correct string in sysfs.

Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/cpu_errata.c