diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2019-04-15 16:21:24 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-11 18:21:38 +0200 |
commit | af33d746286c1209fc0026877371d03c8f52606f (patch) | |
tree | a08e76b23e7f706d20e7fdc31396e16f24f371ca /Documentation | |
parent | 17d1acc4c61ded6b61f65e5904d9758ddc75ae15 (diff) | |
download | linux-stable-af33d746286c1209fc0026877371d03c8f52606f.tar.gz linux-stable-af33d746286c1209fc0026877371d03c8f52606f.tar.bz2 linux-stable-af33d746286c1209fc0026877371d03c8f52606f.zip |
arm64: Use firmware to detect CPUs that are not affected by Spectre-v2
commit 517953c2c47f9c00a002f588ac856a5bc70cede3 upstream.
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>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions