Re: [Patch V1 1/2] iommu/vt-d: Fix debugfs register reads

2020-03-09 Thread Lu Baolu
On 2020/3/10 4:09, Megha Dey wrote: Commit 6825d3ea6cde ("iommu/vt-d: Add debugfs support to show register contents") dumps the register contents for all IOMMU devices. Currently, a 64 bit read(dmar_readq) is done for all the IOMMU registers, even though some of the registers are 32 bits, which

[Patch V1 1/2] iommu/vt-d: Fix debugfs register reads

2020-03-09 Thread Megha Dey
Commit 6825d3ea6cde ("iommu/vt-d: Add debugfs support to show register contents") dumps the register contents for all IOMMU devices. Currently, a 64 bit read(dmar_readq) is done for all the IOMMU registers, even though some of the registers are 32 bits, which is incorrect. Use the correct read