aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2020-04-29 15:36:50 +0200
committerJoerg Roedel <[email protected]>2020-05-05 14:36:13 +0200
commitce574c27ae275bc51b6437883fc9cd1c46b498e5 (patch)
treea51e2a432938bb3565ec4f75a2348002a818221f /tools/perf/scripts
parentdeac0b3bed26bb5d04486696b1071d8ec3851100 (diff)
iommu: Move iommu_group_create_direct_mappings() out of iommu_group_add_device()
After the previous changes the iommu group may not have a default domain when iommu_group_add_device() is called. With no default domain iommu_group_create_direct_mappings() will do nothing and no direct mappings will be created. Rename iommu_group_create_direct_mappings() to iommu_create_device_direct_mappings() to better reflect that the function creates direct mappings only for one device and not for all devices in the group. Then move the call to the places where a default domain actually exists. Signed-off-by: Joerg Roedel <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Acked-by: Marek Szyprowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions