mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Spectre-v2 detection fixes
@ 2019-01-14 10:35 Marc Zyngier
  2019-01-14 10:35 ` [PATCH v2 1/2] arm64: Advertise mitigation of Spectre-v2, or lack thereof Marc Zyngier
  2019-01-14 10:35 ` [PATCH v2 2/2] arm64: Use firmware to detect CPUs that are not affected by Spectre-v2 Marc Zyngier
  0 siblings, 2 replies; 4+ messages in thread
From: Marc Zyngier @ 2019-01-14 10:35 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel
  Cc: Jeremy Linton, Will Deacon, Catalin Marinas

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-14 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 10:35 [PATCH v2 0/2] Spectre-v2 detection fixes Marc Zyngier
2019-01-14 10:35 ` [PATCH v2 1/2] arm64: Advertise mitigation of Spectre-v2, or lack thereof Marc Zyngier
2019-01-14 17:06   ` Jeremy Linton
2019-01-14 10:35 ` [PATCH v2 2/2] arm64: Use firmware to detect CPUs that are not affected by Spectre-v2 Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®