diff options
| author | Jason Gunthorpe <[email protected]> | 2024-10-28 09:38:09 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2024-10-29 09:08:23 +0000 |
| commit | 4208849ec7a6c46d41e623c359c5619704717140 (patch) | |
| tree | 319a9fa8f27cbd236b18dfc5e6172dfaa6822453 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | iommu/amd: Implement global identity domain (diff) | |
| download | kernel-4208849ec7a6c46d41e623c359c5619704717140.tar.gz kernel-4208849ec7a6c46d41e623c359c5619704717140.zip | |
iommu: Put domain allocation in __iommu_group_alloc_blocking_domain()
There is no longer a reason to call __iommu_domain_alloc() to allocate
the blocking domain. All drivers that support a native blocking domain
provide it via the ops, for other drivers we should call
iommu_paging_domain_alloc().
__iommu_group_alloc_blocking_domain() is the only place that allocates
an BLOCKED domain, so move the ops->blocked_domain logic there.
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
