3 source "lib/Kconfig.debug"
6 bool "Debug __init statements"
7 depends on DEBUG_KERNEL
9 Fill __init and __initdata at the end of boot. This helps debugging
10 illegal uses of __init and __initdata after initialization.
13 bool "Write protect kernel read-only data structures"
14 depends on DEBUG_KERNEL
16 Mark the kernel read-only data as write-protected in the pagetables,
17 in order to catch accidental (and incorrect) writes to such const data.
18 This option may have a slight performance impact because a portion
19 of the kernel code won't be covered by a 2MB TLB anymore.
23 depends on GART_IOMMU && DEBUG_KERNEL
24 bool "Enable IOMMU debugging"
26 Force the IOMMU to on even when you have less than 4GB of
27 memory and add debugging code. On overflow always panic. And
28 allow to enable IOMMU leak tracing. Can be disabled at boot
29 time with iommu=noforce. This will also enable scatter gather
30 list merging. Currently not recommended for production
31 code. When you use it make sure you have a big enough
32 IOMMU/AGP aperture. Most of the options enabled by this can
33 be set more finegrained using the iommu= command line
34 options. See Documentation/x86_64/boot-options.txt for more
38 bool "IOMMU leak tracing"
39 depends on DEBUG_KERNEL
40 depends on IOMMU_DEBUG
42 Add a simple leak tracer to the IOMMU code. This is useful when you
43 are debugging a buggy device driver that leaks IOMMU mappings.
45 #config X86_REMOTE_DEBUG
46 # bool "kgdb debugging stub"