Re: [PATCH v3 0/5] Add debugfs info for the AMD IOMMU
From: Joerg Roedel
Date: Thu Mar 15 2018 - 09:58:43 EST
On Wed, Mar 14, 2018 at 06:04:44PM -0500, Gary R Hook wrote:
> Gary R Hook (5):
> iommu/amd - Add debugfs support
> iommu/amd - Add a 'verbose' switch for IOMMU debugfs
> iommu/amd - Add a README variable for the IOMMU debugfs
> iommu/amd - Expose the active IOMMU device table entries
> iommu/amd - Add a debugfs entry to specify a IOMMU device table entry
Same problem here as with the Intel patches, I don't think it's a good
idea to reveal internal iommu data structures to user-space in this way.
I've debugged iommu issues for around 10 years now and never had the
need for an interface that reveals those internals. How exactly are you
planning to use this information?
Joerg