Messages in this thread | | | Subject | [PATCH 0/2] Base enablement of IOMMU debugfs support | From | Gary R Hook <> | Date | Thu, 29 Mar 2018 17:54:33 -0500 |
| |
These patches create a top-level function to create a debugfs directory for the IOMMU, under which drivers may create and populate-specific directories for their device internals.
Patch 1: general IOMMU enablement Patch 2: basic AMD enablement to demonstrate linkage with patch 1
Introduce a new Kconfig parameter IOMMU_DEBUG to globally allow or disallow debugfs code to be built.
---
Gary R Hook (2): iommu - Enable debugfs exposure of the IOMMU iommu/amd: Add basic debugfs infrastructure for AMD IOMMU
drivers/iommu/Kconfig | 9 +++++++ drivers/iommu/Makefile | 2 ++ drivers/iommu/amd_iommu_debugfs.c | 47 +++++++++++++++++++++++++++++++++++++ drivers/iommu/amd_iommu_init.c | 7 ++++-- drivers/iommu/amd_iommu_proto.h | 6 +++++ drivers/iommu/amd_iommu_types.h | 3 ++ drivers/iommu/iommu-debugfs.c | 32 +++++++++++++++++++++++++ include/linux/iommu.h | 4 +++ 8 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 drivers/iommu/amd_iommu_debugfs.c create mode 100644 drivers/iommu/iommu-debugfs.c
--
| |