KVM: arm64: Set SCTLR_EL2.DSSBS if SSBD is forcefully disabled and !vhe
authorWill Deacon <will.deacon@arm.com>
Wed, 8 Aug 2018 15:10:54 +0000 (16:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Sep 2018 16:46:20 +0000 (17:46 +0100)
commit7c36447ae5a090729e7b129f24705bb231a07e0b
tree30a096c5533d645081b5a558d6c538c3a245ae32
parent8f04e8e6e29c93421a95b61cad62e3918425eac7
KVM: arm64: Set SCTLR_EL2.DSSBS if SSBD is forcefully disabled and !vhe

When running without VHE, it is necessary to set SCTLR_EL2.DSSBS if SSBD
has been forcefully disabled on the kernel command-line.

Acked-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/hyp/sysreg-sr.c