]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Add emulation for 32bit guests accessing ACTLR2
authorJames Morse <james.morse@arm.com>
Fri, 29 May 2020 15:06:55 +0000 (15:06 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 9 Jun 2020 08:04:42 +0000 (09:04 +0100)
commit62e1bdcc045bf3c31ed15280bc63fe241c313010
treeed074ebbee8a867019b1eadd99081a2ec5fb0598
parentcc40800aa20a4b48aa40437114ad65f9dfdd40f0
KVM: arm64: Add emulation for 32bit guests accessing ACTLR2

ACTLR_EL1 is a 64bit register while the 32bit ACTLR is obviously 32bit.
For 32bit software, the extra bits are accessible via ACTLR2... which
KVM doesn't emulate.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200529150656.7339-3-james.morse@arm.com
arch/arm64/kvm/sys_regs_generic_v8.c