summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@ziepe.ca>2024-10-28 12:37:59 +0300
committerJoerg Roedel <jroedel@suse.de>2024-10-29 12:06:17 +0300
commit541b967f5a9163b5c36b68599f1141114fbb26fa (patch)
treeb29f6a3a4e9445106cb5d12d229e83fafa54a58b /tools/perf/scripts/python/export-to-sqlite.py
parentf6440fcc9c7b7aaad2e52830ab83fa71990f76ff (diff)
downloadlinux-541b967f5a9163b5c36b68599f1141114fbb26fa.tar.xz
iommu: Refactor __iommu_domain_alloc()
Following patch will introduce iommu_paging_domain_alloc_flags() API. Hence move domain init code to separate function so that it can be reused. Also move iommu_get_dma_cookie() setup iommu_setup_default_domain() as it is required in DMA API mode only. Signed-off-by: Jason Gunthorpe <jgg@ziepe.ca> [Split the patch and added description - Vasant] Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Yi Liu <yi.l.liu@intel.com> Link: https://lore.kernel.org/r/20241028093810.5901-2-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions