[PATCH 0/2] powerpc: iommu: Fix the vfio-pci bind and unbind issues

From: Shivaprasad G Bhat
Date: Thu Jan 25 2024 - 07:09:21 EST


On PowerNV and pSeries machines, the bind and unbind of vfio-pci is
broken with the below commits.

2ad56efa80db ("powerpc/iommu: Setup a default domain and remove set_platform_dma_ops")
0f6a90436a57 ("iommu: Do not use IOMMU_DOMAIN_DMA if CONFIG_IOMMU_DMA is not enabled")

Details of the same are in the following patch descriptions.

---

Shivaprasad G Bhat (2):
powerpc: iommu: Bring back table group release_ownership() call
iommu: Fix the domain type checks when default_domain is set


arch/powerpc/kernel/iommu.c | 16 +++++++++++++---
drivers/iommu/iommu.c | 14 ++++++++++----
2 files changed, 23 insertions(+), 7 deletions(-)

--
Signature