KVM: ARM: vgic: split GICv2 backend from the main vgic code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 4 Feb 2014 18:13:03 +0000 (18:13 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:54 +0000 (17:18 +0200)
commitab8bb40339927ab4e5875330461a9a9ffaf42a56
treebf334805f3c33120f2017a66172aa8c20d3cd43e
parent6e707c119719a9261ac7305194c0004d11bb594a
KVM: ARM: vgic: split GICv2 backend from the main vgic code

Brutally hack the innocent vgic code, and move the GICv2 specific code
to its own file, using vgic_ops and vgic_params as a way to pass
information between the two blocks.

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 8f186d522c69bb18dd9b93a634da4953228c67d4)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/Makefile
arch/arm64/kvm/Makefile
include/kvm/arm_vgic.h
virt/kvm/arm/vgic-v2.c [new file with mode: 0644]
virt/kvm/arm/vgic.c