aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJerry Snitselaar <[email protected]>2019-12-10 11:56:06 -0700
committerJoerg Roedel <[email protected]>2019-12-17 11:45:17 +0100
commitd360211524bece6db9920f32c91808235290b51c (patch)
tree8316f7c786af466a4b0b45d76b3bf59390c28108 /tools/perf/scripts/python/export-to-sqlite.py
parent75d18385394f56db76845d91a192532aba421875 (diff)
iommu: set group default domain before creating direct mappings
iommu_group_create_direct_mappings uses group->default_domain, but right after it is called, request_default_domain_for_dev calls iommu_domain_free for the default domain, and sets the group default domain to a different domain. Move the iommu_group_create_direct_mappings call to after the group default domain is set, so the direct mappings get associated with that domain. Cc: Joerg Roedel <[email protected]> Cc: Lu Baolu <[email protected]> Cc: [email protected] Cc: [email protected] Fixes: 7423e01741dd ("iommu: Add API to request DMA domain for device") Signed-off-by: Jerry Snitselaar <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions