[PATCH v2 0/2] Spectre-v2 detection fixes

From: Marc Zyngier
Date: Mon Jan 14 2019 - 05:35:40 EST


These two patches, now built on top of Jeremy's sysfs series, tweak
the way we detect the Spectre-v2 vulnerability by switching from a
blacklist to a whitelist, making sure we correctly detect unmitigated
systems.

We further improve things by relying on firmware to tell us about CPUs
that are part of an affected system, but that are not affected
themselves (big-little type).

For convenience, I've pushed out a branch containing both Jeremy's v3
series and these patches at [1].

[1] git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git arm64/spectre-sysfs

Marc Zyngier (2):
arm64: Advertise mitigation of Spectre-v2, or lack thereof
arm64: Use firmware to detect CPUs that are not affected by Spectre-v2

arch/arm64/kernel/cpu_errata.c | 141 +++++++++++++++++----------------
1 file changed, 73 insertions(+), 68 deletions(-)

--
2.20.1