Re: [PATCH v3 00/21] iommu: Refactoring domain allocation interface

2024-07-08 Thread Jason Gunthorpe
On Thu, Jul 04, 2024 at 03:18:56PM +0100, Will Deacon wrote: > On Mon, 10 Jun 2024 16:55:34 +0800, Lu Baolu wrote: > > The IOMMU subsystem has undergone some changes, including the removal > > of iommu_ops from the bus structure. Consequently, the existing domain > > allocation interface, which

Re: [PATCH v3 00/21] iommu: Refactoring domain allocation interface

2024-07-04 Thread Will Deacon
On Thu, Jul 04, 2024 at 10:24:52PM +0800, Baolu Lu wrote: > On 2024/7/4 22:18, Will Deacon wrote: > > On Mon, 10 Jun 2024 16:55:34 +0800, Lu Baolu wrote: > > > The IOMMU subsystem has undergone some changes, including the removal > > > of iommu_ops from the bus structure. Consequently, the

Re: [PATCH v3 00/21] iommu: Refactoring domain allocation interface

2024-07-04 Thread Baolu Lu
On 2024/7/4 22:18, Will Deacon wrote: On Mon, 10 Jun 2024 16:55:34 +0800, Lu Baolu wrote: The IOMMU subsystem has undergone some changes, including the removal of iommu_ops from the bus structure. Consequently, the existing domain allocation interface, which relies on a bus type argument, is no

Re: [PATCH v3 00/21] iommu: Refactoring domain allocation interface

2024-07-04 Thread Will Deacon
On Mon, 10 Jun 2024 16:55:34 +0800, Lu Baolu wrote: > The IOMMU subsystem has undergone some changes, including the removal > of iommu_ops from the bus structure. Consequently, the existing domain > allocation interface, which relies on a bus type argument, is no longer > relevant: > > struct

Re: [PATCH v3 00/21] iommu: Refactoring domain allocation interface

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:34PM +0800, Lu Baolu wrote: > Lu Baolu (20): > iommu: Add iommu_paging_domain_alloc() interface > iommufd: Use iommu_paging_domain_alloc() > vfio/type1: Use iommu_paging_domain_alloc() > drm/msm: Use iommu_paging_domain_alloc() > wifi: ath10k: Use

[PATCH v3 00/21] iommu: Refactoring domain allocation interface

2024-06-10 Thread Lu Baolu
The IOMMU subsystem has undergone some changes, including the removal of iommu_ops from the bus structure. Consequently, the existing domain allocation interface, which relies on a bus type argument, is no longer relevant: struct iommu_domain *iommu_domain_alloc(struct bus_type *bus) This