arm64: KVM: split GICv2 world switch from hyp code
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 21 Jun 2013 10:57:56 +0000 (11:57 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 11 Jul 2014 11:57:36 +0000 (04:57 -0700)
commit1a9b13056dde7e3092304d6041ccc60a913042ea
tree3e70b5ee93eb9c0bbc8271b240a19cf69a605bb2
parent45451914c875bba44903ce4f1445e047b7992bf7
arm64: KVM: split GICv2 world switch from hyp code

Move the GICv2 world switch code into its own file, and add the
necessary indirection to the arm64 switch code.

Also introduce a new type field to the vgic_params structure.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kernel/asm-offsets.c
arch/arm64/kvm/Makefile
arch/arm64/kvm/hyp.S
arch/arm64/kvm/vgic-v2-switch.S [new file with mode: 0644]
include/kvm/arm_vgic.h
virt/kvm/arm/vgic-v2.c
virt/kvm/arm/vgic.c