Re: [PATCH v5 02/25] iommu: Add IOMMU_DOMAIN_PLATFORM

2023-07-25 Thread Baolu Lu
On 2023/7/25 1:21, Jason Gunthorpe wrote: This is used when the iommu driver is taking control of the dma_ops, currently only on S390 and power spapr. It is designed to preserve the original ops->detach_dev() semantic that these S390 was built around. Provide an opaque domain type and a 'default

[PATCH v5 02/25] iommu: Add IOMMU_DOMAIN_PLATFORM

2023-07-24 Thread Jason Gunthorpe
This is used when the iommu driver is taking control of the dma_ops, currently only on S390 and power spapr. It is designed to preserve the original ops->detach_dev() semantic that these S390 was built around. Provide an opaque domain type and a 'default_domain' ops value that allows the driver to