diff options
author | Dheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com> | 2025-07-02 15:08:03 +0530 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-07-15 11:41:53 +0100 |
commit | 349ad6d5263a6299aae64ad59d82bb5b03b478fa (patch) | |
tree | db06ba241e6b6ff6ebf923f1c3260df1ffab8f58 /scripts/lib/kdoc/kdoc_re.py | |
parent | b484577824452e526191cb87f297f78dadd97dda (diff) |
iommu/amd: Add debugfs support to dump IRT Table
In cases where we have an issue in the device interrupt path with IOMMU
interrupt remapping enabled, dumping valid IRT table entries for the device
is very useful and good input for debugging the issue.
eg.
-> To dump irte entries for a particular device
#echo "c4:00.0" > /sys/kernel/debug/iommu/amd/devid
#cat /sys/kernel/debug/iommu/amd/irqtbl | less
or
#echo "0000:c4:00.0" > /sys/kernel/debug/iommu/amd/devid
#cat /sys/kernel/debug/iommu/amd/irqtbl | less
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-8-dheerajkumar.srivastava@amd.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions