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

[PATCH v2 0/3] IPMMU handling for PCIe Passthrough on ARM


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Mon, 14 Jul 2025 08:51:47 +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=HfZ9vreC4o3IpqHEpjsKOEq3MGbVNmsgUrvpIG9RhP4=; b=ZLyygSswJmfqmxnfaaTqRCeMGZovkh9+gadAshFyY/mp7keynsXnoIcHQYmOLNDMxyzGWDUCFF5B+CFych7HSHotvPyqjFpiW0S0naVDUwxbIrE6MSzGVGV66VnWF0GmqLvEfUdn58hndli4bd1MZp/R5wHyT73CtIdyGAFNub64doX2zb8NjVAx1txdNBj2ZszqoD8UsalkxDVB+yxpbGqz193FwvJiWKVaWW2qFR9K+dd26frTsgFGbYo54cB2NPN5bKgkSYq6GoKR54K3RT2Hc5OvgBAbZxF/Vj7QnbnVZrBPdVzPn+dVgV39ZmEntdhLKo7W/inXTIBiccnVYg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=i3E7FqXdExf0xfAw12GCthyVZ9s1VgcWh3cIcHAQVuF6v8f7voJIzkG1cFf2fXHBnq0PkvzR7k4w7jklzS8XylDIYpTEVdm9ILvc36+PEnrIQ5di7hQpft8ZSPZ5xuXYUpoKB2dIASc7Iqg3c/aKOvVml/4+OLpvUXg/ouguWotityeZ9L7E2aeGaJjRTh9DzjeqEWUct2ZnMEB9EyXQtNeYQYGUL13Uq3vLN4XQMjLPPjwx1fSeIAH9d67/ilKYWXveX+zj8laoHBMP8JAolkiMmkrRqgm+eggH0S+vry96cO6UhScmlRnASRhtDgfVk0VFS15ev/Km6+Oq1nLFkg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Mykyta Poturai <Mykyta_Poturai@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: Mon, 14 Jul 2025 08:51:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHb9JyIN/pSoep2FUK7yKGWaCxbxg==
  • Thread-topic: [PATCH v2 0/3] IPMMU handling for PCIe Passthrough on ARM

This series introduces IPMMU handling for PCIe passthrough on ARM. It includes
changes to pci-designware, pci-host-rcar and ipmmu-vmsa drivers to enable
configuring BDF->OSID->uTLB translation chain needed to pass different PCIe
devices to different domains.

Tested on RCar S4 Spider board.

v1->v2:
* see individual patches

Mykyta Poturai (2):
  arm/pci: allow designware-based hosts to have private data
  pci/rcar: implement OSID configuration for Renesas RCar Gen4 PCIe host

Oleksandr Tyshchenko (1):
  iommu/ipmmu-vmsa: Implement basic PCIE-IPMMU OSID support

 xen/arch/arm/pci/pci-designware.c        |  12 ++
 xen/arch/arm/pci/pci-designware.h        |   4 +
 xen/arch/arm/pci/pci-host-rcar4.c        | 148 +++++++++++++++++++++++
 xen/arch/arm/pci/pci-host-rcar4.h        |  18 +++
 xen/drivers/passthrough/arm/ipmmu-vmsa.c | 136 +++++++++++++++++++--
 5 files changed, 310 insertions(+), 8 deletions(-)
 create mode 100644 xen/arch/arm/pci/pci-host-rcar4.h

-- 
2.34.1



 


Rackspace

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