From: Marc Zyngier Date: Tue, 8 Jul 2014 11:09:06 +0000 (+0100) Subject: arm/arm64: KVM: vgic: delay vgic allocation until init time X-Git-Tag: fixes-for-v3.18-merge-window~23^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4956f2bc1fdee4bc336532f3f34635a8534cedfd;p=pandora-kernel.git 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 Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed