Re: [PATCH v3 2/8] iommu/amd: Add debugfs support to dump IOMMU MMIO registers

Dheeraj Kumar Srivastava
2025-03-17T11:22:58Z

Hi Vasant,

On 3/13/2025 3:58 PM, Vasant Hegde wrote:
>
>
> 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?

Sure will print 64 bits (8 bytes) for MMIO registers dump.

Thanks
Dheeraj

>
> -Vasant
>