Merge branch 'upstream-jgarzik' of git://git.tuxdriver.com/git/netdev-jwl
[pandora-kernel.git] / arch / x86_64 / Kconfig.debug
1 menu "Kernel hacking"
2
3 source "lib/Kconfig.debug"
4
5 config INIT_DEBUG
6         bool "Debug __init statements"
7         depends on DEBUG_KERNEL
8         help
9           Fill __init and __initdata at the end of boot. This helps debugging
10           illegal uses of __init and __initdata after initialization.
11
12 config IOMMU_DEBUG
13        depends on GART_IOMMU && DEBUG_KERNEL
14        bool "Enable IOMMU debugging"
15        help
16          Force the IOMMU to on even when you have less than 4GB of
17          memory and add debugging code. On overflow always panic. And
18          allow to enable IOMMU leak tracing. Can be disabled at boot
19          time with iommu=noforce. This will also enable scatter gather
20          list merging.  Currently not recommended for production
21          code. When you use it make sure you have a big enough
22          IOMMU/AGP aperture.  Most of the options enabled by this can
23          be set more finegrained using the iommu= command line
24          options. See Documentation/x86_64/boot-options.txt for more
25          details.
26
27 config IOMMU_LEAK
28        bool "IOMMU leak tracing"
29        depends on DEBUG_KERNEL
30        depends on IOMMU_DEBUG
31        help
32          Add a simple leak tracer to the IOMMU code. This is useful when you
33          are debugging a buggy device driver that leaks IOMMU mappings.
34
35 #config X86_REMOTE_DEBUG
36 #       bool "kgdb debugging stub"
37
38 endmenu