diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2024-10-28 12:38:09 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-10-29 12:08:23 +0300 |
commit | 4208849ec7a6c46d41e623c359c5619704717140 (patch) | |
tree | 319a9fa8f27cbd236b18dfc5e6172dfaa6822453 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 4402f2627d30c44f56180295e14561f1820eeacc (diff) | |
download | linux-4208849ec7a6c46d41e623c359c5619704717140.tar.xz |
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 <jgg@nvidia.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20241028093810.5901-12-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions