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

Re: [PATCH v6 07/12] xen/arm: gicv3: modify ICH_LR_PHYSICAL_MASK to allow eSPI processing


  • To: Leonid Komarianskyi <Leonid_Komarianskyi@xxxxxxxx>
  • From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Date: Wed, 3 Sep 2025 20:58: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=fvgXeD7gSv6SvgyBUH/iIov5VVjjIoJkJRHd8nXgWIk=; b=jPHlFaLePg//O7G/g8la32b6NGq44ytiorGhFnfKjIqP6JjwDq5DFILhIOmhRokwhbIYDS/Ptz1dq0Mg7l0b9SQRnfgEoW0YSNcqJMeT4mWlf9qsqaX7VWM8UUGa7YuRFdcppEUr9qXXfz9pndYmMzX2e5rg8DUdsXAuBcv3UL+YbZgeRtrojsuvxTPKMYw5JjqFCHZHdsbeZ4IllxYbkAiSARPry7NbZOpF4tgUfjcUj16AVFDDFICQhC6Yh0hoqz52Ps2Qve0jAgF1sjMzsK1mp3sN9n2DT/1WGU1DMFI6D4ovbrL4rJmgpIZyHp1cZHL50jXcZxib8fVEo3xbgA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=crc/DZxct+UWQ90k9Y4XA9sVYKcOqx5GUZ6AmpQJuN3p9UXottYHIupibJ5Z9j/99Bni7QT1Qgi6h5M4I3FIE910oK/BThkZBknvIDu4cFtx0CjoxWK35r26QghOOWxsS24DQKDvVBb8Cx8AmxHZLzr8Nd4bDkLSyMaYWX/OhLGmpJTMwHxc9schrBmbJ/YV6tSAFqVkftut0DKqfKNppuatKLHwLkhZTA+z/UmiP0vWWthy9cKigt00RuBzdDDn6zwbkP14ikgUMi+zm8Kj8Fjy7cTYMDpk6b/nC/5xRDgZl8/yaSFTU2d+3kmqIn1bs7uOtaIC3E6NNWDzeHSHcQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "olekstysh@xxxxxxxxx" <olekstysh@xxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
  • Delivery-date: Wed, 03 Sep 2025 20:58:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcHN9BaUpUjNGOp0+m0BX8qyVhBg==
  • Thread-topic: [PATCH v6 07/12] xen/arm: gicv3: modify ICH_LR_PHYSICAL_MASK to allow eSPI processing

Hi,

Leonid Komarianskyi <Leonid_Komarianskyi@xxxxxxxx> writes:

> To properly deactivate physical eSPI routed to a domain and allow them to
> be retriggered after the initial trigger, the LR needs to be updated. The
> current implementation ignores interrupts outside the range specified by
> the mask 0x3FF, which only covers IRQ numbers up to 1023. To enable
> processing of eSPI interrupts, this patch updates the mask to 0x1FFF.
>
> Signed-off-by: Leonid Komarianskyi <leonid_komarianskyi@xxxxxxxx>

Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>

>
> ---
> Changes in V6:
> - updated mask to 0x1fff to avoid confusion
> - updated commit message
> - removed reviewed-by as new changes requires additional confirmation
>   from reviewers
>
> Changes in V5:
> - no changes
>
> Changes in V4:
> - added reviewed-by from Volodymyr Babchuk
>
> Changes in V3:
> - no changes
>
> Changes in V2:
> - remove unnecessary CONFIG_GICV3_ESPI ifdef guard
> ---
>  xen/arch/arm/include/asm/gic_v3_defs.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/arm/include/asm/gic_v3_defs.h 
> b/xen/arch/arm/include/asm/gic_v3_defs.h
> index 3370b4cd52..c373b94d19 100644
> --- a/xen/arch/arm/include/asm/gic_v3_defs.h
> +++ b/xen/arch/arm/include/asm/gic_v3_defs.h
> @@ -211,7 +211,7 @@
>  #define ICH_LR_VIRTUAL_SHIFT         0
>  #define ICH_LR_CPUID_MASK            0x7
>  #define ICH_LR_CPUID_SHIFT           10
> -#define ICH_LR_PHYSICAL_MASK         0x3ff
> +#define ICH_LR_PHYSICAL_MASK         0x1fff
>  #define ICH_LR_PHYSICAL_SHIFT        32
>  #define ICH_LR_STATE_MASK            0x3
>  #define ICH_LR_STATE_SHIFT           62

-- 
WBR, Volodymyr


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.