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

Message ID 170618450592.3805.8216395093813382208.stgit@ltcd48-lp2.aus.stglab.ibm.com
Headers
Series powerpc: iommu: Fix the vfio-pci bind and unbind issues |

Message

Shivaprasad G Bhat Jan. 25, 2024, 12:08 p.m. UTC
  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