arm64: KVM: common infrastructure for handling AArch32 CP14/CP15
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 Apr 2014 09:27:13 +0000 (10:27 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:44 +0000 (04:57 -0700)
commit72564016aae45f42e488f926bc803f9a2e1c771c
tree80184b0510031158803482b803fd5d6ee1fb258e
parent0c557ed4983b7abe152212b5b1726c2a789b2c61
arm64: KVM: common infrastructure for handling AArch32 CP14/CP15

As we're about to trap a bunch of CP14 registers, let's rework
the CP15 handling so it can be generalized and work with multiple
tables.

Reviewed-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/kvm_coproc.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/sys_regs.c