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

Re: [PATCH v2 00/10] Introduce eSPI support


  • To: Oleksandr Tyshchenko <olekstysh@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Leonid Komarianskyi <Leonid_Komarianskyi@xxxxxxxx>
  • Date: Sun, 24 Aug 2025 18:58:58 +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=m1hoL/+ctGGKIGAtorReJ2xI0e59MKaEmobUEgGH668=; b=BwyzWI0OcIn6k+2bFE7JkxAFeE1fcs3LhGNJ+SLi0Msm7R7JVRW1TOuWQNexQH+e7iVSbwNfMkabJ91ysOVl8vQjue5VobXDRro2XF7eoi9r9EK/sH9KbHT1m3oKSBTLicI7Fr1LOKejgb1kqiMdvuxcHAVHwt5oZjR+tMtIX0qAQqW9ilQinbpe6y+AHoXxsYb/Y33EwJcie3c2cDTBivBAUIzZ31mn8NrnBZhWRmUTMdzW9r6GgBzKMCh5ZBXWAZ4LbYwq8fgkYYrhzS36jL5mPelGmIRjKie1jSdHVVow9HeZCzI3FmEKEzp7cHQyNOptp3h2ZhVjxyLsD/mPgw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NVrjZvp2y2vGce7LCB7Ym809uDripcYpbWIHfFGfGAwxjsQg9dNBjcRJVojO/BzcEABL/ASy4NKyw8cf7ijqolg4adRk/g/ijeRoeQVK8WKoJn0xc9zXQeb0OcPMWKEFv4uV5bVLnqxxKXJlnka+3qo2kvDseerzLtFBsWqAWTQe9o8evFiVd9gjjwiuhz9Gc4Cg/DGrb7GJkuVMh5cQ8KT8YWt5Pq6sH27BeVZmZIKL+yi+mu7zZaC3e4nQ/s0lNZZKbLl3dXPYPU1iovTdmg3waub5Amkk5c9KxHsbIigmSsMYM6f2bJY0RmC44rlzAh60alb6K3fNCaLDnOLIBw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Sun, 24 Aug 2025 18:59:10 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcB5d6CNAyJbck6EKQNoQgtljZhrRyJ8YAgAAbVQA=
  • Thread-topic: [PATCH v2 00/10] Introduce eSPI support

Hello Oleksandr,

On 24.08.25 20:21, Oleksandr Tyshchenko wrote:
> 
> 
> On 07.08.25 15:33, Leonid Komarianskyi wrote:
>> Hello everyone!
> 
> Hello Leonid,
> 
>>
>> ### Background
>> Unlike the Linux kernel, which has supported extended shared peripheral
>> interrupts (eSPIs) since 2019 [1], Xen currently lacks support for this
>> interrupt range. For SoCs with GICv3.1+, this feature may be essential
>> because critical devices, such as consoles required for booting Xen
>> itself, may rely on eSPIs. Additionally, these platforms require eSPI
>> support for fully functional domains, as any device using eSPIs cannot
>> currently be used with Xen setups. Without eSPI support, Xen cannot run
>> properly on these platforms, significantly limiting its usability on
>> modern ARM hardware.
>>
>> This patch series adds support for the extended shared peripheral
>> interrupt (eSPI) range (INTIDs 4096-5119 [2](ranges of INTIDs)) for Xen
>> and guest domains. The implementation uses a generic approach to handle
>> eSPIs, similar to regular SPIs, while maintaining compatibility with the
>> existing SPI range. Functionality remains unchanged for setups that do
>> not require eSPIs.
> 
> 
> I have lightly re-checked the simple Arm64 Xen environment (dom0less 
> DomU under QEMU) with your series applied. To be clear, I did not really 
> test the eSPI support (the underlying GICv3 HW does support it); I just 
> wanted to ensure that your series would not break anything. So, in both 
> cases (CONFIG_GICV3_ESPI=y and CONFIG_GICV3_ESPI=n), I did not notice 
> any issues (at least obvious) related to GICv3 emulation and SPI 
> injection for the passed-through device.
> 

Thank you for your verification and proving that all works as expected 
on setup without HW eSPI support:)

> Also, I think you want to describe the eSPI feature in the CHANGELOG.md.
> 
> 
> [snip]

Okay, I will add one more patch in V3 to update the CHANGELOG.md file.

Best regards,
Leonid

 


Rackspace

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