The following series creates a debugfs directory for AMD IOMMUs, constructs a framework for additional entries, an online README, and a method for dumping device table entries. Data is reported in a default concise mode, but a verbose mode is enabled via a filesystem entry.
This is the first of three patch series that will expose a number of IOMMU registers. Changes since v1: - Correctly use CONFIG_AMD_IOMMU_DEBUG in Makefile and header file --- 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 drivers/iommu/Kconfig | 8 + drivers/iommu/Makefile | 1 drivers/iommu/amd_iommu_debugfs.c | 310 +++++++++++++++++++++++++++++++++++++ drivers/iommu/amd_iommu_init.c | 7 + drivers/iommu/amd_iommu_proto.h | 7 + drivers/iommu/amd_iommu_types.h | 3 6 files changed, 334 insertions(+), 2 deletions(-) create mode 100644 drivers/iommu/amd_iommu_debugfs.c -- _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu