]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Introduce handling of AArch32 TTBCR2 traps
authorMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 11:10:15 +0000 (11:10 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 11:22:50 +0000 (11:22 +0000)
commit2c8419cfaa326a911bbf7f9af1fff2ead810e8d9
tree02ff3f9026bc00830033743d187338c9806e72d9
parenta2e713a9e800b40365697401e2222fcaca279d35
KVM: arm64: Introduce handling of AArch32 TTBCR2 traps

ARMv8.2 introduced TTBCR2, which shares TCR_EL1 with TTBCR.
Gracefully handle traps to this register when HCR_EL2.TVM is set.

Cc: stable@vger.kernel.org
Reported-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/sys_regs.c