summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2018-11-30 14:51:52 +0300
committerJoerg Roedel <jroedel@suse.de>2018-12-17 12:38:43 +0300
commitdbba197edf32209d110727a02d3a91de4c88520f (patch)
tree4dfd83519bf8064b0fe7ad2bfda2abd1e6242218 /tools/perf/scripts/python/export-to-postgresql.py
parentdb5d6a70043a0073e59af99cd4fd6bcb5bd3ace2 (diff)
downloadlinux-dbba197edf32209d110727a02d3a91de4c88520f.tar.xz
driver core: Introduce device_iommu_mapped() function
Some places in the kernel check the iommu_group pointer in 'struct device' in order to find out whether a device is mapped by an IOMMU. This is not good way to make this check, as the pointer will be moved to 'struct dev_iommu_data'. This way to make the check is also not very readable. Introduce an explicit function to perform this check. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions