Commit 7a4ee419 authored by Dheeraj Kumar Srivastava's avatar Dheeraj Kumar Srivastava Committed by Will Deacon
Browse files

iommu/amd: Add debugfs support to dump IOMMU MMIO registers



Analyzing IOMMU MMIO registers gives a view of what IOMMU is
configured with on the system and is helpful to debug issues
with IOMMU.

eg.
-> To get mmio registers value at offset 0x18 for iommu<x> (say, iommu00)
   # echo "0x18" > /sys/kernel/debug/iommu/amd/iommu00/mmio
   # cat /sys/kernel/debug/iommu/amd/iommu00/mmio

Signed-off-by: default avatarDheeraj Kumar Srivastava <dheerajkumar.srivastava@amd.com>
Reviewed-by: default avatarVasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20250702093804.849-3-dheerajkumar.srivastava@amd.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent ad48b1dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment