Browse Source

AMD IOMMU: add Kconfig entry for statistic collection code

Impact: adds new Kconfig entry

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Joerg Roedel 16 years ago
parent
commit
2e117604a4
1 changed files with 10 additions and 0 deletions
  1. 10 0
      arch/x86/Kconfig

+ 10 - 0
arch/x86/Kconfig

@@ -586,6 +586,16 @@ config AMD_IOMMU
 	  your BIOS for an option to enable it or if you have an IVRS ACPI
 	  your BIOS for an option to enable it or if you have an IVRS ACPI
 	  table.
 	  table.
 
 
+config AMD_IOMMU_STATS
+	bool "Export AMD IOMMU statistics to debugfs"
+	depends on AMD_IOMMU
+	select DEBUG_FS
+	help
+	  This option enables code in the AMD IOMMU driver to collect various
+	  statistics about whats happening in the driver and exports that
+	  information to userspace via debugfs.
+	  If unsure, say N.
+
 # need this always selected by IOMMU for the VIA workaround
 # need this always selected by IOMMU for the VIA workaround
 config SWIOTLB
 config SWIOTLB
 	def_bool y if X86_64
 	def_bool y if X86_64