aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2014-10-22 17:22:34 -0500
committerJoerg Roedel <jroedel@suse.de>2014-10-23 14:33:48 +0200
commitc5cf5c5377fbd0a1ff2a09ad1f0c7e261aabc567 (patch)
treeec305e6778337e821ca617e8b9286e86cec24d68 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentiommu/omap: Reset the domain field upon detaching (diff)
downloadlinux-dev-c5cf5c5377fbd0a1ff2a09ad1f0c7e261aabc567.tar.xz
linux-dev-c5cf5c5377fbd0a1ff2a09ad1f0c7e261aabc567.zip
iommu/omap: Fix bus error on debugfs access of unattached IOMMU
Any debugfs access on an OMAP IOMMU that is not enabled (done during attach) results in a bus error due to access of registers without the clock or the reset enabled for the respective IOMMU. So, add a check to make sure the IOMMU is enabled/attached by a client device. This gracefully prints a "Operation not permitted" trace when the corresponding IOMMU is not enabled. Signed-off-by: Suman Anna <s-anna@ti.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions