]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: 32bit handling of coprocessor traps
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 7 Feb 2013 10:32:33 +0000 (10:32 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 12 Jun 2013 15:42:16 +0000 (16:42 +0100)
commitaf10c9592e4ac042420531433de2c9dd6d4cd5d2
treef4172257cdaeeac859d71fc30f2a2b483fb7b375
parent4a1d8e34ad6c5c081f251cf4564723935ea6f572
arm64: KVM: 32bit handling of coprocessor traps

Provide the necessary infrastructure to trap coprocessor accesses that
occur when running 32bit guests.

Also wire SMC and HVC trapped in 32bit mode while were at it.

Reviewed-by: Christopher Covington <cov@codeaurora.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_coproc.h
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/sys_regs.c