Re: [PATCH v7 03/10] iommu: Add attach handle to struct iopf_group

2024-06-28 Thread Jason Gunthorpe
On Sun, Jun 16, 2024 at 02:11:48PM +0800, Lu Baolu wrote: > Previously, the domain that a page fault targets is stored in an > iopf_group, which represents a minimal set of page faults. With the > introduction of attach handle, replace the domain with the handle > so that the fault handler can obta

Re: [PATCH v7 03/10] iommu: Add attach handle to struct iopf_group

2024-06-17 Thread Baolu Lu
On 6/17/24 3:41 PM, Tian, Kevin wrote: From: Lu Baolu Sent: Sunday, June 16, 2024 2:12 PM Add a new IOMMU capability flag, IOMMU_CAP_USER_IOASID_TABLE, which indicates if the IOMMU driver supports user-managed PASID tables. In the iopf deliver path, if no attach handle found for the iopf PASID,

RE: [PATCH v7 03/10] iommu: Add attach handle to struct iopf_group

2024-06-17 Thread Tian, Kevin
> From: Lu Baolu > Sent: Sunday, June 16, 2024 2:12 PM > > Add a new IOMMU capability flag, IOMMU_CAP_USER_IOASID_TABLE, which > indicates if the IOMMU driver supports user-managed PASID tables. In the > iopf deliver path, if no attach handle found for the iopf PASID, roll > back to RID domain wh

[PATCH v7 03/10] iommu: Add attach handle to struct iopf_group

2024-06-15 Thread Lu Baolu
Previously, the domain that a page fault targets is stored in an iopf_group, which represents a minimal set of page faults. With the introduction of attach handle, replace the domain with the handle so that the fault handler can obtain more information as needed when handling the faults. iommu_rep