[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/10] 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: Thu, 24 Jul 2025 14:57:26 +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=A1hupRKnHin38VHng5juuS4wnBF3qpl30SYauRGiXPw=; b=U/vtmu2jG2UvACGXwZjKILo0tII9MvS/nLd7KmcRVwYtZuS2vc0n2+D2ndARaVKXoHdnBaaJha2HZNc97KmNgewUCAR8c46iATEnRpEXSI+BTw/M5GlREm5ClqCL49BZwiAgGX3MBye/4fCBIq0AHGIg8jUhzc8a6JwfnCYfCrhyx1hB/K7MY/vtoswr22YS1lpfXPe8Bw1H4aRUVDTl1+5DwndfQgI5nTPI3l8Y4W+Gi51067ttTIxE2drMzYPscsYxshfCLDBgm3K1DSMwvm+f1DODoex6yk+mZTf1VpRQSscHbUWdNYgVQkbdzYJC07xxfNFu3i7etwUeXDj/Yg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Bpc/idhC0XxHAlOk23z5Qgx5rZbTLKfDvnLg47YAaM8+PMaVCrT/FhQGMRXBCwSGVv/CHSTukUBhY+tJqJH/3l9SfVBP/T7QH6PIpdilZ1FP383X6R53Mc+0UibRO6jr2eFOe0/w/BAIZaAmC7zVqFgRx/fzY5my4NpeO7zbAoQsEDj3IwPE/ffJDwwnrop5cgzJzrHK+tUrXzg34mDLi14JOfnG26qacJRPAv0wOw+rSH5XrMPnHLAelRqcj7kOgXHeX4aG7Td3ogixjIeifhwbo6xjc444ij5zlpN0800chrwlHxqgQyUhARN99vWrRKiLOMxjtayb0HnKDgUubw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: 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: Thu, 24 Jul 2025 15:01:21 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHb/KtFI2Edut4AEUehFxvwbJvRHQ==
- Thread-topic: [PATCH 06/10] 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>
---
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 d5f2addf9f..b4a185fcc5 100644
--- a/xen/arch/arm/gic.c
+++ b/xen/arch/arm/gic.c
@@ -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);
--
2.34.1
|