diff options
author | Gary R Hook <gary.hook@amd.com> | 2018-06-12 16:41:30 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-07-06 14:06:30 +0200 |
commit | 7d0f5fd3e4d687424cc2ab68b55472e328e2ee0a (patch) | |
tree | 4005d7036fae71fcef2dc6c93f7e653d8f75a546 /drivers/iommu/Kconfig | |
parent | bad614b24293ae463e74d2465685f0e4e229baca (diff) | |
download | lwn-7d0f5fd3e4d687424cc2ab68b55472e328e2ee0a.tar.gz lwn-7d0f5fd3e4d687424cc2ab68b55472e328e2ee0a.zip |
iommu/amd: Add basic debugfs infrastructure for AMD IOMMU
Implement a skeleton framework for debugfs support in the AMD
IOMMU. Add an AMD-specific Kconfig boolean that depends upon
general enablement of DebugFS in the IOMMU.
Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r-- | drivers/iommu/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index ab9181d8af3b..8d0a2886658f 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -145,6 +145,18 @@ config AMD_IOMMU_V2 hardware. Select this option if you want to use devices that support the PCI PRI and PASID interface. +config AMD_IOMMU_DEBUGFS + bool "Enable AMD IOMMU internals in DebugFS" + depends on AMD_IOMMU && IOMMU_DEBUGFS + ---help--- + !!!WARNING!!! !!!WARNING!!! !!!WARNING!!! !!!WARNING!!! + + DO NOT ENABLE THIS OPTION UNLESS YOU REALLY, -REALLY- KNOW WHAT YOU ARE DOING!!! + Exposes AMD IOMMU device internals in DebugFS. + + This option is -NOT- intended for production environments, and should + not generally be enabled. + # Intel IOMMU support config DMAR_TABLE bool |