diff options
| author | 2025-12-15 13:42:17 -0800 | |
|---|---|---|
| committer | 2026-01-10 10:26:43 +0100 | |
| commit | 4a73abb965b7546864957d2bde428f1e72bc3bb5 (patch) | |
| tree | 85cf533a8de61858e86a2bdfc10f09dc2c26c800 /tools/perf/scripts/python/stackcollapse.py | |
| parent | iommu: Lock group->mutex in iommu_deferred_attach() (diff) | |
iommu: Tidy domain for iommu_setup_dma_ops()
This function can only be called on the default_domain. Trivally pass it
in. In all three existing cases, the default domain was just attached to
the device.
This avoids iommu_setup_dma_ops() calling iommu_get_domain_for_dev() that
will be used by external callers.
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Tested-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
