Re: [PATCH v2 01/22] iommu: Add iommu_user_domain_alloc() interface

2024-06-05 Thread Baolu Lu
On 6/5/24 2:23 PM, Yi Liu wrote: On 2024/6/5 10:00, Baolu Lu wrote: On 6/4/24 4:03 PM, Yi Liu wrote: On 2024/6/4 09:51, Lu Baolu wrote: Commit <909f4abd1097> ("iommu: Add new iommu op to create domains owned by userspace") added a dedicated iommu op to allocate a user domain. While IOMMUFD has

Re: [PATCH v2 01/22] iommu: Add iommu_user_domain_alloc() interface

2024-06-04 Thread Yi Liu
On 2024/6/5 10:00, Baolu Lu wrote: On 6/4/24 4:03 PM, Yi Liu wrote: On 2024/6/4 09:51, Lu Baolu wrote: Commit <909f4abd1097> ("iommu: Add new iommu op to create domains owned by userspace") added a dedicated iommu op to allocate a user domain. While IOMMUFD has already made use of this callback

Re: [PATCH v2 01/22] iommu: Add iommu_user_domain_alloc() interface

2024-06-04 Thread Baolu Lu
On 6/4/24 4:03 PM, Yi Liu wrote: On 2024/6/4 09:51, Lu Baolu wrote: Commit <909f4abd1097> ("iommu: Add new iommu op to create domains owned by userspace") added a dedicated iommu op to allocate a user domain. While IOMMUFD has already made use of this callback, other frameworks like vfio/type1 a

Re: [PATCH v2 01/22] iommu: Add iommu_user_domain_alloc() interface

2024-06-04 Thread Yi Liu
On 2024/6/4 09:51, Lu Baolu wrote: Commit <909f4abd1097> ("iommu: Add new iommu op to create domains owned by userspace") added a dedicated iommu op to allocate a user domain. While IOMMUFD has already made use of this callback, other frameworks like vfio/type1 and vDPA still use the paging domai

[PATCH v2 01/22] iommu: Add iommu_user_domain_alloc() interface

2024-06-03 Thread Lu Baolu
Commit <909f4abd1097> ("iommu: Add new iommu op to create domains owned by userspace") added a dedicated iommu op to allocate a user domain. While IOMMUFD has already made use of this callback, other frameworks like vfio/type1 and vDPA still use the paging domain allocation interface. Add a new in