]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Set CSV2 for guests on hardware unaffected by Spectre-v2
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Sep 2020 23:07:05 +0000 (00:07 +0100)
committerWill Deacon <will@kernel.org>
Tue, 29 Sep 2020 15:08:16 +0000 (16:08 +0100)
commit1d6c752dce7f3b5ccef0b88d759803616f6a2501
tree17b3f19aadc96051d069522cfd9c9a61d0d7757b
parent98f1dfac2123a0223063353d8526175886c52e9d
KVM: arm64: Set CSV2 for guests on hardware unaffected by Spectre-v2

If the system is not affected by Spectre-v2, then advertise to the KVM
guest that it is not affected, without the need for a safelist in the
guest.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kvm/sys_regs.c