arm64: KVM: 32bit handling of coprocessor traps

Linux Kernel / Linux Kernel - Marc Zyngier [arm.com] - 12 June 2013 10:42 UTC

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.

62a89c4 arm64: KVM: 32bit handling of coprocessor traps
arch/arm64/include/asm/kvm_coproc.h | 5 +
arch/arm64/kvm/handle_exit.c | 7 ++
arch/arm64/kvm/sys_regs.c | 181 +++++++++++++++++++++++++++++++++--
3 files changed, 186 insertions(+), 7 deletions(-)

Upstream: git.kernel.org


  • Share