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>
Thu, 2 Oct 2014 15:18:55 +0000 (17:18 +0200)
commitfd17281069b65b1672718613d8c89cc9a409bfcd
tree596fe32ccb47178c1bd39ee4672c59f678da77e4
parentcab0beb93ff52f5a47cf9a1a03c9c73d473d28d6
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>
(cherry picked from commit 1a9b13056dde7e3092304d6041ccc60a913042ea)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
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