aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSohil Mehta <[email protected]>2018-09-11 17:11:41 -0700
committerJoerg Roedel <[email protected]>2018-09-25 14:33:44 +0200
commit18f99c9b9dec15bc088d9db239f68e5c80415304 (patch)
treebd34e2e593adc288ed80b2b5f023f096768938d9 /tools/perf/scripts/python/export-to-postgresql.py
parenta6d268c619d6765322f2fbdd1d7d2769ebc04cb2 (diff)
iommu/vt-d: Add debugfs support to show context internals
Export Intel IOMMU DMA remapping internal states, such as root and context table entries in debugfs. Example of such dump in Kabylake: /sys/kernel/debug/iommu/intel/dmar_translation_struct IOMMU dmar0: Root Table Address:45699c000 Root Table Entries: Bus: 0 H: 0 L: 45699f001 Context Table Entries for Bus: 0 Entry B:D.F High Low 16 00:02.0 102 45699e005 IOMMU dmar1: Root Table Address:45699d000 Root Table Entries: Bus: 0 H: 0 L: 45644f001 Context Table Entries for Bus: 0 Entry B:D.F High Low 160 00:14.0 102 45644e001 184 00:17.0 302 456310001 248 00:1f.0 202 4564bf001 Cc: Lu Baolu <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Ashok Raj <[email protected]> Cc: Jacob Pan <[email protected]> Co-Developed-by: Gayatri Kammela <[email protected]> Signed-off-by: Gayatri Kammela <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Lu Baolu <[email protected]> Signed-off-by: Sohil Mehta <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions