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

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


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Date: Thu, 21 Aug 2025 10:15:31 +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=kqjDelxA5NEfCApppR2MvxtRhPpwk2taMmmiiJk0IN0=; b=FiMNhEPyxkGHUEvreKzmH3gsFUwHowbT5Qq9wNwphlyuC/85vEyNrD6MIXTjqJaLqrQyPjfQ964ZKSRrRoo9k3wuN9f3HiKJ9BTFOjdOyT1ta3aturDJ66GU5gFupO2pZ02xKAoI+vjeqzYlmrTjyRtnI7XY1kFPSsQDAYChy78t5Yyc78p2j2xTdk2d/usPssO3I1cZUzOg0pM779wA2lWbCge4cwa+OMZJcC8mKI1ljSTahQpYj4L/xn03/q4IBkaoXz1Ns4bYW4PPRz2JDxeo5MfIpA690cj/059yOChOjmT1QCeCCJKEeJkJKcMHFDOUrGozQVBKvtsPwdDIEA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wQnopTE2sAZq1m7mVc1CvoCrNAsWgKea9ZcHfSaac9cH6Q5pbV5wnuUbD7GSqubbkYqecBMOBHy64GcbLHgxd9qfxYEqxwiDNR/v0yRU5wTzF+ezOwtpN6ZqxkmqpcGPzJZZKIU2BtffQQR/2JAMnM2giuuFdkG7kuAXS79crEP/AxuYjstE0gt5rWYGgneOQVXwTTLD0dBX3Bf+Mb0VV9+hbqCL9ni0lLQ1aKy7OCg9r4qB5f/ptvyOlgxWn5zqBpZtATHmwmdYZRXd34y7Yjyendki3TCympg3APZGnkeneTPIFwAtE0AOTME4k2QZlRapSCZmZbb/6KCROjwN8w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
  • Delivery-date: Thu, 21 Aug 2025 10:15:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcEoSGp4UiN6shIECROwdG5unMwQ==
  • Thread-topic: [PATCH v3 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.

v2->v3:
* see individual patches

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 | 138 +++++++++++++++++++--
 5 files changed, 312 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®.