linux-sg2042/include/kvm
Marc Zyngier 4956f2bc1f arm/arm64: KVM: vgic: delay vgic allocation until init time
It is now quite easy to delay the allocation of the vgic tables
until we actually require it to be up and running (when the first
vcpu is kicking around, or someones tries to access the GIC registers).

This allow us to allocate memory for the exact number of CPUs we
have. As nobody configures the number of interrupts just yet,
use a fallback to VGIC_NR_IRQS_LEGACY.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2014-09-18 18:48:58 -07:00
..
arm_arch_timer.h arm64: KVM: allow export and import of generic timer regs 2014-07-11 04:46:55 -07:00
arm_vgic.h arm/arm64: KVM: vgic: delay vgic allocation until init time 2014-09-18 18:48:58 -07:00