mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/arm/irq: allow eSPI processing in the gic_interrupt function
The gic_interrupt function is the main handler for processing IRQs. Currently, due to restrictive checks, it does not process interrupt numbers greater than 1019. This patch updates the condition to allow the handling of interrupts from the eSPI range. Signed-off-by: Leonid Komarianskyi <leonid_komarianskyi@epam.com> Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
60c4e9442c
commit
54ba8a8d04
1 file changed
+1
-1
+1
-1
@@ -342,7 +342,7 @@ void gic_interrupt(struct cpu_user_regs *regs, int is_fiq)
|
||||
/* Reading IRQ will ACK it */
|
||||
irq = gic_hw_ops->read_irq();
|
||||
|
||||
if ( likely(irq >= GIC_SGI_STATIC_MAX && irq < 1020) )
|
||||
if ( likely(irq >= GIC_SGI_STATIC_MAX && irq < 1020) || is_espi(irq) )
|
||||
{
|
||||
isb();
|
||||
do_IRQ(regs, irq, is_fiq);
|
||||
|
||||