Marc Zyngier 517953c2c4 arm64: Use firmware to detect CPUs that are not affected by Spectre-v2
The SMCCC ARCH_WORKAROUND_1 service can indicate that although the
firmware knows about the Spectre-v2 mitigation, this particular
CPU is not vulnerable, and it is thus not necessary to call
the firmware on this CPU.

Let's use this information to our benefit.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
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>
2019-04-26 16:30:11 +01:00
..
2018-07-18 01:18:05 +09:00
2018-10-31 08:54:16 -07:00
2018-11-02 17:24:17 +00:00
2019-02-26 16:57:59 +00:00
2018-12-31 11:46:59 -08:00
2019-02-06 10:05:18 +00:00
2019-03-10 10:17:23 -07:00
2018-07-12 14:49:48 +01:00
2019-01-05 11:28:39 -08:00
2018-07-12 14:49:48 +01:00
2019-02-06 10:05:22 +00:00
2017-08-09 12:16:28 +01:00