]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Force VHE for systems affected by erratum 1165522
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 6 Dec 2018 17:31:23 +0000 (17:31 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 10 Dec 2018 11:59:07 +0000 (11:59 +0000)
commit1b3279daefe00f3d2e200421f15ec3b102c06563
treee5072b0bc997f0f2a58a55997c7734fba38abbbe
parentc8e1659fc029cc38748b566cec85898189a9d523
arm64: KVM: Force VHE for systems affected by erratum 1165522

In order to easily mitigate ARM erratum 1165522, we need to force
affected CPUs to run in VHE mode if using KVM.

Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kernel/cpu_errata.c