Re: [PATCH v3 2/8] iommu/amd: Add debugfs support to dump IOMMU MMIO registers
From: Vasant Hegde
Date: Thu Mar 13 2025 - 06:28:29 EST
On 2/6/2025 11:29 AM, Dheeraj Kumar Srivastava wrote:
> 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.
> 1. To get mmio registers value for iommu<x>
> # echo "0x18" > /sys/kernel/debug/iommu/amd/iommu00/mmio
> # cat /sys/kernel/debug/iommu/amd/iommu00/mmio
Many of MMIO registers are 8 bytes. By default can we print 8 bytes instead of 4
bytes?
-Vasant