Skip to content

Commit 9b2d2e0

Browse files
chazyGleb Natapov
authored andcommitted
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 <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
1 parent 8d98915 commit 9b2d2e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/kvm/arm_vgic.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <linux/types.h>
2727
#include <linux/irqchip/arm-gic.h>
2828

29-
#define VGIC_NR_IRQS 128
29+
#define VGIC_NR_IRQS 256
3030
#define VGIC_NR_SGIS 16
3131
#define VGIC_NR_PPIS 16
3232
#define VGIC_NR_PRIVATE_IRQS (VGIC_NR_SGIS + VGIC_NR_PPIS)

0 commit comments

Comments
 (0)