From: Joerg Roedel Date: Thu, 11 Dec 2008 18:00:12 +0000 (+0100) Subject: AMD IOMMU: add Kconfig entry for statistic collection code X-Git-Tag: v2.6.29-rc1~522^2~1^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e117604a4e8f3f9cee4aec3373b0382159e152a;p=profile%2Fivi%2Fkernel-x86-ivi.git AMD IOMMU: add Kconfig entry for statistic collection code Impact: adds new Kconfig entry Signed-off-by: Joerg Roedel --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 249d1e0..f9998d2 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