[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 06/11] xen/arm/irq: allow eSPI processing in the do_IRQ function
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Leonid Komarianskyi <Leonid_Komarianskyi@xxxxxxxx>
- Date: Tue, 26 Aug 2025 14:05:37 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UNynwHJEadmNOUhC1e0brDBUQKdzxoPCI/wbBBJn4/4=; b=sEBo1Jb4lDUDnfYFI7Z8Qiv80FVES9xX/BXaTwFg5StP1XYYowvHqUNKEGOCOadzs6c8WbstzF0sqzpe40TAjknI/jLKrZE1EoL1qrm5Q4oLEPk+b+D+4tOTggJw2pRpkaOOAQr8p6mrAQYs/kPZR8OMbHi7Ux2qWwSN4D+rDXpXJHdAp2Y8qDZYTKMqHEksctXNhmARahz2SSMsdrusft09G93zumy1VDmuLGIYFDtNdYQ+1xtJQE8AdYykHfz4d7WnTOE9VUijRxHWwIvI6scsXiT+pq9N5K9EcEs7JRAv0XDlET+T6RapXT+6NQO4E88TJvuvMKM3IHiZZvOwAA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nio7ItpvwptvrCtquDpFa+VRfm1tmp4IbvvjotUptkagaUvyxrlRf2Lq/t/AsxG4Kry/GYiPI2zhHVhfBm8DhvgX+JRZBTck9vSmKqeh2ZHFxRNYTHea4hFdBOqFDP+CZhvnGE+BsfSnPTe9p4XH7icItFK8kwHDBndaANq2j/5SjiWfwzp9k0Il6ivxf0bPAv+YZILd/V+c1fT7vG30+gXQZ2JzRDT3ggZ8q3T2TJRg0TBWvKsfxHqrTZmktkiXuCwcxkFFNw15I8AZENDpfQZh1HviSeap/0246dUVWFco6BiGMKXzHj2eZWn2XD5LOwtPh91YGUKcyhGtfoYKGg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: "olekstysh@xxxxxxxxx" <olekstysh@xxxxxxxxx>, Leonid Komarianskyi <Leonid_Komarianskyi@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 26 Aug 2025 14:05:49 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHcFpJ/78TDbVIRnkOE9iNbqduJVA==
- Thread-topic: [PATCH v3 06/11] xen/arm/irq: allow eSPI processing in the do_IRQ function
The do_IRQ() function is the main handler for processing IRQs.
Currently, due to restrictive checks, it does not process interrupt
numbers greater than 1024. This patch updates the condition to allow
the handling of interrupts from the eSPI range.
Signed-off-by: Leonid Komarianskyi <leonid_komarianskyi@xxxxxxxx>
---
Changes in V2:
- no changes
Changes in V3:
- no changes
---
xen/arch/arm/gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c
index b88237ccda..634b77c987 100644
--- a/xen/arch/arm/gic.c
+++ b/xen/arch/arm/gic.c
@@ -341,7 +341,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);
--
2.34.1
|