blob: e2c6e64a85ec27318d0a76d51e421301e121dd3e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005config 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
12config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070027config 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
38endmenu