Re: [PATCH v7 01/24] iommu: Add iommu_ops->identity_domain

2023-08-23 Thread Jerry Snitselaar
On Wed, Aug 23, 2023 at 01:47:15PM -0300, Jason Gunthorpe wrote: > This allows a driver to set a global static to an IDENTITY domain and > the core code will automatically use it whenever an IDENTITY domain > is requested. > > By making it always available it means the IDENTITY can be used in

[PATCH v7 01/24] iommu: Add iommu_ops->identity_domain

2023-08-23 Thread Jason Gunthorpe
This allows a driver to set a global static to an IDENTITY domain and the core code will automatically use it whenever an IDENTITY domain is requested. By making it always available it means the IDENTITY can be used in error handling paths to force the iommu driver into a known state. Devices