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)
commit62a89c44954f09072bf07a714c8f68bda14ab87e
treef4172257cdaeeac859d71fc30f2a2b483fb7b375
parent27b190bd9fbfee34536cb858f0b5924d294aac38
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