From: Christoffer Dall Date: Thu, 29 Aug 2013 10:08:25 +0000 (+0100) Subject: ARM: KVM: vgic: Bump VGIC_NR_IRQS to 256 X-Git-Tag: firefly_0821_release~3680^2~36^2~16^2^2~227 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de5324b84480246ad6064cd3469d362995c2e929;p=firefly-linux-kernel-4.4.55.git ARM: KVM: vgic: Bump VGIC_NR_IRQS to 256 The Versatile Express TC2 board, which we use as our main emulated platform in QEMU, defines 160+32 == 192 interrupts, so limiting the number of interrupts to 128 is not quite going to cut it for real board emulation. Note that this didn't use to be a problem because QEMU was buggy and only defined 128 interrupts until recently. Signed-off-by: Christoffer Dall Signed-off-by: Marc Zyngier Signed-off-by: Gleb Natapov (cherry picked from commit 9b2d2e0df8a49414b1e5bc89148c9984dd87782a) Signed-off-by: Christoffer Dall --- diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 343744e4809c..7e2d15837b02 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -26,7 +26,7 @@ #include #include -#define VGIC_NR_IRQS 128 +#define VGIC_NR_IRQS 256 #define VGIC_NR_SGIS 16 #define VGIC_NR_PPIS 16 #define VGIC_NR_PRIVATE_IRQS (VGIC_NR_SGIS + VGIC_NR_PPIS)