aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-12-11 19:00:12 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2009-01-03 14:11:57 +0100
commit2e117604a4e8f3f9cee4aec3373b0382159e152a (patch)
treee0691ee22ff5ff11fa1a6d2aefb4b1dccace62d6 /arch/x86/Kconfig
parenta4e267c88b4acfc87ff2ab0cc8e9509878e9aaba (diff)
AMD IOMMU: add Kconfig entry for statistic collection code
Impact: adds new Kconfig entry Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 249d1e0824b..f9998d276eb 100644
--- a/arch/x86/Kconfig
+++ b/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
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
config SWIOTLB
def_bool y if X86_64