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

Mykyta Poturai posted 3 patches 2 months, 1 week ago
Failed in applying to current master (apply log)
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
[PATCH v3 0/3] IPMMU handling for PCIe Passthrough on ARM
Posted by Mykyta Poturai 2 months, 1 week ago
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
Re: [PATCH v3 0/3] IPMMU handling for PCIe Passthrough on ARM
Posted by Jan Beulich 2 months, 1 week ago
On 21.08.2025 12:15, Mykyta Poturai wrote:
> 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

These patches went in already, one causing a randconfig issue. What is this
re-posting about? Are you implying that the entire series is going to be
reverted? (I really expected an incremental patch to deal with the issue CI
ran into.)

Jan
Re: [PATCH v3 0/3] IPMMU handling for PCIe Passthrough on ARM
Posted by Mykyta Poturai 2 months, 1 week ago
On 21.08.25 13:22, Jan Beulich wrote:
> On 21.08.2025 12:15, Mykyta Poturai wrote:
>> 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
> 
> These patches went in already, one causing a randconfig issue. What is this
> re-posting about? Are you implying that the entire series is going to be
> reverted? (I really expected an incremental patch to deal with the issue CI
> ran into.)
> 
> Jan

Oops sorry, I've got an idea that it was a pre-commit CI job (as the 
patches are not yet in the master branch). Please ignore this series, I 
will send an incremental patch shortly.

-- 
Mykyta