Re: [PATCH v2 0/4] Reenable VFIO support on POWER systems

Narayana Murty
2023-03-23T06:50:01Z

On Mon, Mar 06, 2023 at 11:29:53AM -0600, Timothy Pearson wrote:
> This patch series reenables VFIO support on POWER systems. It
> is based on Alexey Kardashevskiys's patch series, rebased and
> successfully tested under QEMU with a Marvell PCIe SATA controller
> on a POWER9 Blackbird host.
>
> Alexey Kardashevskiy (3):
> powerpc/iommu: Add "borrowing" iommu_table_group_ops
> powerpc/pci_64: Init pcibios subsys a bit later
> powerpc/iommu: Add iommu_ops to report capabilities and allow blocking
> domains
>
> Timothy Pearson (1):
> Add myself to MAINTAINERS for Power VFIO support
>
> MAINTAINERS | 5 +
> arch/powerpc/include/asm/iommu.h | 6 +-
> arch/powerpc/include/asm/pci-bridge.h | 7 +
> arch/powerpc/kernel/iommu.c | 246 +++++++++++++++++++++-
> arch/powerpc/kernel/pci_64.c | 2 +-
> arch/powerpc/platforms/powernv/pci-ioda.c | 36 +++-
> arch/powerpc/platforms/pseries/iommu.c | 27 +++
> arch/powerpc/platforms/pseries/pseries.h | 4 +
> arch/powerpc/platforms/pseries/setup.c | 3 +
> drivers/vfio/vfio_iommu_spapr_tce.c | 96 ++-------
> 10 files changed, 338 insertions(+), 94 deletions(-)
>
> --
> 2.30.2
The Alexey Kardashevskiy (3) patchs series tested on powerNV denali power9 system with
NetXtreme BCM5719 Gigabit Ethernet PCIe card.The vfio passthrough
is working fine

Tested-by : Narayana Murty <nnmlinux@linux.vnet.ibm.com>