diff options
author | 2025-07-02 15:08:02 +0530 | |
---|---|---|
committer | 2025-07-15 11:41:53 +0100 | |
commit | b484577824452e526191cb87f297f78dadd97dda (patch) | |
tree | ce4fe8bbfb7e45136e359fe91b0ab55104251f87 /tools/perf/scripts/python | |
parent | iommu/amd: Add support for device id user input (diff) | |
download | wireguard-linux-b484577824452e526191cb87f297f78dadd97dda.tar.xz wireguard-linux-b484577824452e526191cb87f297f78dadd97dda.zip |
iommu/amd: Add debugfs support to dump device table
IOMMU uses device table data structure to get per-device information for
DMA remapping, interrupt remapping, and other functionalities. It's a
valuable data structure to visualize for debugging issues related to
IOMMU.
eg.
-> To dump device table entry for a particular device
#echo 0000:c4:00.0 > /sys/kernel/debug/iommu/amd/devid
#cat /sys/kernel/debug/iommu/amd/devtbl
or
#echo c4:00.0 > /sys/kernel/debug/iommu/amd/devid
#cat /sys/kernel/debug/iommu/amd/devtbl
Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20250702093804.849-7-dheerajkumar.srivastava@amd.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions