qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hard limit on 256 IRQs in qtest


From: Roque Arcudia Hernandez
Subject: Hard limit on 256 IRQs in qtest
Date: Thu, 21 Jul 2022 09:17:13 -0700

Hello,


To write a qtest for an SoC using ARM GICv3 as interrupt controller the qtest infrastructure is short on IRQs.


File tests/qtest/libqtest.c defines:


#define MAX_IRQ 256


Which is the number of elements in the array that is used to keep track of the value of the irq gpio:


    bool irq_level[MAX_IRQ];


The GICv3 can take up to 1020. The SoC we are trying to emulate uses more than the current 256 limit we can observe at the GIC input. If we focus just on the external interrupt range the GIC would need 1020 - 32 = 988 IRQs. Will it be OK to make this change to the qtest infrastructure?


Thanks,


Roque



reply via email to

[Prev in Thread] Current Thread [Next in Thread]