diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 57 |
1 files changed, 43 insertions, 14 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 18363374d51..85a87d2ac0c 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -5,13 +5,15 @@ config TRACE_IRQFLAGS_SUPPORT | |||
5 | 5 | ||
6 | source "lib/Kconfig.debug" | 6 | source "lib/Kconfig.debug" |
7 | 7 | ||
8 | config NONPROMISC_DEVMEM | 8 | config STRICT_DEVMEM |
9 | bool "Filter access to /dev/mem" | 9 | bool "Filter access to /dev/mem" |
10 | help | 10 | help |
11 | If this option is left off, you allow userspace access to all | 11 | If this option is left on, you allow userspace (root) access to all |
12 | of memory, including kernel and userspace memory. Accidental | 12 | of memory, including kernel and userspace memory. Accidental |
13 | access to this is obviously disastrous, but specific access can | 13 | access to this is obviously disastrous, but specific access can |
14 | be used by people debugging the kernel. | 14 | be used by people debugging the kernel. Note that with PAT support |
15 | enabled, even in this case there are restrictions on /dev/mem | ||
16 | use due to the cache aliasing requirements. | ||
15 | 17 | ||
16 | If this option is switched on, the /dev/mem file only allows | 18 | If this option is switched on, the /dev/mem file only allows |
17 | userspace access to PCI space and the BIOS code and data regions. | 19 | userspace access to PCI space and the BIOS code and data regions. |
@@ -20,6 +22,14 @@ config NONPROMISC_DEVMEM | |||
20 | 22 | ||
21 | If in doubt, say Y. | 23 | If in doubt, say Y. |
22 | 24 | ||
25 | config X86_VERBOSE_BOOTUP | ||
26 | bool "Enable verbose x86 bootup info messages" | ||
27 | default y | ||
28 | help | ||
29 | Enables the informational output from the decompression stage | ||
30 | (e.g. bzImage) of the boot. If you disable this you will still | ||
31 | see errors. Disable this if you want silent bootup. | ||
32 | |||
23 | config EARLY_PRINTK | 33 | config EARLY_PRINTK |
24 | bool "Early printk" if EMBEDDED | 34 | bool "Early printk" if EMBEDDED |
25 | default y | 35 | default y |
@@ -60,7 +70,7 @@ config DEBUG_PAGEALLOC | |||
60 | config DEBUG_PER_CPU_MAPS | 70 | config DEBUG_PER_CPU_MAPS |
61 | bool "Debug access to per_cpu maps" | 71 | bool "Debug access to per_cpu maps" |
62 | depends on DEBUG_KERNEL | 72 | depends on DEBUG_KERNEL |
63 | depends on X86_64_SMP | 73 | depends on X86_SMP |
64 | default n | 74 | default n |
65 | help | 75 | help |
66 | Say Y to verify that the per_cpu map being accessed has | 76 | Say Y to verify that the per_cpu map being accessed has |
@@ -129,15 +139,6 @@ config 4KSTACKS | |||
129 | on the VM subsystem for higher order allocations. This option | 139 | on the VM subsystem for higher order allocations. This option |
130 | will also use IRQ stacks to compensate for the reduced stackspace. | 140 | will also use IRQ stacks to compensate for the reduced stackspace. |
131 | 141 | ||
132 | config X86_FIND_SMP_CONFIG | ||
133 | def_bool y | ||
134 | depends on X86_LOCAL_APIC || X86_VOYAGER | ||
135 | depends on X86_32 | ||
136 | |||
137 | config X86_MPPARSE | ||
138 | def_bool y | ||
139 | depends on (X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64 | ||
140 | |||
141 | config DOUBLEFAULT | 142 | config DOUBLEFAULT |
142 | default y | 143 | default y |
143 | bool "Enable doublefault exception handler" if EMBEDDED | 144 | bool "Enable doublefault exception handler" if EMBEDDED |
@@ -172,6 +173,33 @@ config IOMMU_LEAK | |||
172 | Add a simple leak tracer to the IOMMU code. This is useful when you | 173 | Add a simple leak tracer to the IOMMU code. This is useful when you |
173 | are debugging a buggy device driver that leaks IOMMU mappings. | 174 | are debugging a buggy device driver that leaks IOMMU mappings. |
174 | 175 | ||
176 | config MMIOTRACE_HOOKS | ||
177 | bool | ||
178 | |||
179 | config MMIOTRACE | ||
180 | bool "Memory mapped IO tracing" | ||
181 | depends on DEBUG_KERNEL && PCI | ||
182 | select TRACING | ||
183 | select MMIOTRACE_HOOKS | ||
184 | help | ||
185 | Mmiotrace traces Memory Mapped I/O access and is meant for | ||
186 | debugging and reverse engineering. It is called from the ioremap | ||
187 | implementation and works via page faults. Tracing is disabled by | ||
188 | default and can be enabled at run-time. | ||
189 | |||
190 | See Documentation/tracers/mmiotrace.txt. | ||
191 | If you are not helping to develop drivers, say N. | ||
192 | |||
193 | config MMIOTRACE_TEST | ||
194 | tristate "Test module for mmiotrace" | ||
195 | depends on MMIOTRACE && m | ||
196 | help | ||
197 | This is a dumb module for testing mmiotrace. It is very dangerous | ||
198 | as it will write garbage to IO memory starting at a given address. | ||
199 | However, it should be safe to use on e.g. unused portion of VRAM. | ||
200 | |||
201 | Say N, unless you absolutely know what you are doing. | ||
202 | |||
175 | # | 203 | # |
176 | # IO delay types: | 204 | # IO delay types: |
177 | # | 205 | # |
@@ -261,7 +289,6 @@ config CPA_DEBUG | |||
261 | 289 | ||
262 | config OPTIMIZE_INLINING | 290 | config OPTIMIZE_INLINING |
263 | bool "Allow gcc to uninline functions marked 'inline'" | 291 | bool "Allow gcc to uninline functions marked 'inline'" |
264 | depends on BROKEN | ||
265 | help | 292 | help |
266 | This option determines if the kernel forces gcc to inline the functions | 293 | This option determines if the kernel forces gcc to inline the functions |
267 | developers have marked 'inline'. Doing so takes away freedom from gcc to | 294 | developers have marked 'inline'. Doing so takes away freedom from gcc to |
@@ -272,5 +299,7 @@ config OPTIMIZE_INLINING | |||
272 | become the default in the future, until then this option is there to | 299 | become the default in the future, until then this option is there to |
273 | test gcc for this. | 300 | test gcc for this. |
274 | 301 | ||
302 | If unsure, say N. | ||
303 | |||
275 | endmenu | 304 | endmenu |
276 | 305 | ||