arm64: KVM: 32bit handling of coprocessor traps
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 7 Feb 2013 10:32:33 +0000 (10:32 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:10:32 +0000 (17:10 +0200)
commit33056d384f68642d62ba6dc6fe0a17ef92473135
treeded3ec3cfe1fa68375775cc4e19ce6ec46a83003
parent4129306976df31cf80f13a85d6886e2f1245662b
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>
(cherry picked from commit 62a89c44954f09072bf07a714c8f68bda14ab87e)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/kvm_coproc.h
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/sys_regs.c