[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/3] IPMMU handling for PCIe Passthrough on ARM
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
- Date: Mon, 7 Jul 2025 09:20:38 +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=ENWxXETFXbFb66Gnc6tEcbaB3lNMsQyGY9v9LuOLDl8=; b=OP0fu6RDyq8Tk9sJGH5t20BTOpIja5W6uJg6uTE1+ANZceKzi3eHHMVzdu5KmT0uX8d+Hi8biiPJGNfJp5LJZklxMdpavPI8fSGnNMj43OkajXalCmFKdGKTyrfiuosupHBOGzQLwYPcLSoUeGx47efz5Pvk+RyXMw5HNMF3Kwla5Peka3zw32RIt6Ix06kRXpbGdyC4za/Mm5DBWew4mUr/eeFBTqGZBJF50tEdQMkxYD4JcNF08UZ7b7szAFHY1AMnvo16a5y2Y/GhEToWgGlR+KZxWZw1tZnXfrXGbCkVm65w/WpaPKk5RvVMskoLBdBe+ZvE4z+if305apvA9A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EmvJ3K76haoUvEUy9X0iXFIZDZy5SHkg7tC4MMJlxRDdavPVKP2gAWFLnBpY3D7NHPwMsoma80JDcQVaLG96SC4ar3Jt951IKUOqWZSm7qChHyLeWOUGIDbjVcYGsaP3Jfnfs1CFRBM8oA2GGyUCaRHJIsI2TK+sPiurpc4M7UyIs/0PE31wMWFOp0ZLgrfDJcQA6AkGOqmJMlUZjXSpRciXmlJSbwSJZkjgP8NggICShuIRZEOv3f1hJ2EX4TPO+NIhsPtDHjbAAyUp/jKJAWyudKCS31NqqBvWTdYxjptYQJ1HLEk+YP4Sjf2zGFkfP/LuBeqewAVWIIeT+bc6eA==
- 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, 07 Jul 2025 09:20:59 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHb7yBnswZZLzWQ7ES490bgTlRUoQ==
- Thread-topic: [PATCH v1 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.
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 | 141 +++++++++++++++++++--
5 files changed, 315 insertions(+), 8 deletions(-)
create mode 100644 xen/arch/arm/pci/pci-host-rcar4.h
--
2.34.1
|