]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit895dd7351f6c7cae43889e08cacecfb033b2bc55
tree6d180cde9a9dfc0e388063bca1b9da78dc7b6c7b
parentf9f9889ceecfc77d39c87865065e017f962f97a1
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