ARM: KVM: VGIC initialisation code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 22 Jan 2013 00:36:16 +0000 (19:36 -0500)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 11 Feb 2013 19:00:10 +0000 (19:00 +0000)
commit01ac5e342f3b87a9b83b991230d96c22c4167ec9
tree84c06fa12415ef191bee35914323c7c65a9c4b0d
parent348b2b0708f6cdd3d0db95f8d02aa4ad2b3e2fa9
ARM: KVM: VGIC initialisation code

Add the init code for the hypervisor, the virtual machine, and
the virtual CPUs.

An interrupt handler is also wired to allow the VGIC maintenance
interrupts, used to deal with level triggered interrupts and LR
underflows.

A CPU hotplug notifier is registered to disable/enable the interrupt
as requested.

Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_vgic.h
arch/arm/kvm/arm.c
arch/arm/kvm/vgic.c