aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.debug
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-10-15 07:46:29 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-15 07:46:29 -0400
commitb2aaf8f74cdc84a9182f6cabf198b7763bcb9d40 (patch)
tree53ccb1c2c14751fe69cf93102e76e97021f6df07 /arch/x86/Kconfig.debug
parent4f962d4d65923d7b722192e729840cfb79af0a5a (diff)
parent278429cff8809958d25415ba0ed32b59866ab1a8 (diff)
Merge branch 'linus' into stackprotector
Conflicts: arch/x86/kernel/Makefile include/asm-x86/pda.h
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r--arch/x86/Kconfig.debug70
1 files changed, 56 insertions, 14 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug
index a8d3c7e0414a..95fe606cb9a3 100644
--- a/arch/x86/Kconfig.debug
+++ b/arch/x86/Kconfig.debug
@@ -5,13 +5,15 @@ config TRACE_IRQFLAGS_SUPPORT
5 5
6source "lib/Kconfig.debug" 6source "lib/Kconfig.debug"
7 7
8config NONPROMISC_DEVMEM 8config 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 disabled, 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
25config 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
23config EARLY_PRINTK 33config EARLY_PRINTK
24 bool "Early printk" if EMBEDDED 34 bool "Early printk" if EMBEDDED
25 default y 35 default y
@@ -33,6 +43,19 @@ config EARLY_PRINTK
33 with klogd/syslogd or the X server. You should normally N here, 43 with klogd/syslogd or the X server. You should normally N here,
34 unless you want to debug such a crash. 44 unless you want to debug such a crash.
35 45
46config EARLY_PRINTK_DBGP
47 bool "Early printk via EHCI debug port"
48 default n
49 depends on EARLY_PRINTK && PCI
50 help
51 Write kernel log output directly into the EHCI debug port.
52
53 This is useful for kernel debugging when your machine crashes very
54 early before the console code is initialized. For normal operation
55 it is not recommended because it looks ugly and doesn't cooperate
56 with klogd/syslogd or the X server. You should normally N here,
57 unless you want to debug such a crash. You need usb debug device.
58
36config DEBUG_STACKOVERFLOW 59config DEBUG_STACKOVERFLOW
37 bool "Check for stack overflows" 60 bool "Check for stack overflows"
38 depends on DEBUG_KERNEL 61 depends on DEBUG_KERNEL
@@ -60,7 +83,7 @@ config DEBUG_PAGEALLOC
60config DEBUG_PER_CPU_MAPS 83config DEBUG_PER_CPU_MAPS
61 bool "Debug access to per_cpu maps" 84 bool "Debug access to per_cpu maps"
62 depends on DEBUG_KERNEL 85 depends on DEBUG_KERNEL
63 depends on X86_64_SMP 86 depends on X86_SMP
64 default n 87 default n
65 help 88 help
66 Say Y to verify that the per_cpu map being accessed has 89 Say Y to verify that the per_cpu map being accessed has
@@ -130,15 +153,6 @@ config 4KSTACKS
130 on the VM subsystem for higher order allocations. This option 153 on the VM subsystem for higher order allocations. This option
131 will also use IRQ stacks to compensate for the reduced stackspace. 154 will also use IRQ stacks to compensate for the reduced stackspace.
132 155
133config X86_FIND_SMP_CONFIG
134 def_bool y
135 depends on X86_LOCAL_APIC || X86_VOYAGER
136 depends on X86_32
137
138config X86_MPPARSE
139 def_bool y
140 depends on (X86_32 && (X86_LOCAL_APIC && !X86_VISWS)) || X86_64
141
142config DOUBLEFAULT 156config DOUBLEFAULT
143 default y 157 default y
144 bool "Enable doublefault exception handler" if EMBEDDED 158 bool "Enable doublefault exception handler" if EMBEDDED
@@ -173,6 +187,33 @@ config IOMMU_LEAK
173 Add a simple leak tracer to the IOMMU code. This is useful when you 187 Add a simple leak tracer to the IOMMU code. This is useful when you
174 are debugging a buggy device driver that leaks IOMMU mappings. 188 are debugging a buggy device driver that leaks IOMMU mappings.
175 189
190config MMIOTRACE_HOOKS
191 bool
192
193config MMIOTRACE
194 bool "Memory mapped IO tracing"
195 depends on DEBUG_KERNEL && PCI
196 select TRACING
197 select MMIOTRACE_HOOKS
198 help
199 Mmiotrace traces Memory Mapped I/O access and is meant for
200 debugging and reverse engineering. It is called from the ioremap
201 implementation and works via page faults. Tracing is disabled by
202 default and can be enabled at run-time.
203
204 See Documentation/tracers/mmiotrace.txt.
205 If you are not helping to develop drivers, say N.
206
207config MMIOTRACE_TEST
208 tristate "Test module for mmiotrace"
209 depends on MMIOTRACE && m
210 help
211 This is a dumb module for testing mmiotrace. It is very dangerous
212 as it will write garbage to IO memory starting at a given address.
213 However, it should be safe to use on e.g. unused portion of VRAM.
214
215 Say N, unless you absolutely know what you are doing.
216
176# 217#
177# IO delay types: 218# IO delay types:
178# 219#
@@ -262,7 +303,6 @@ config CPA_DEBUG
262 303
263config OPTIMIZE_INLINING 304config OPTIMIZE_INLINING
264 bool "Allow gcc to uninline functions marked 'inline'" 305 bool "Allow gcc to uninline functions marked 'inline'"
265 depends on BROKEN
266 help 306 help
267 This option determines if the kernel forces gcc to inline the functions 307 This option determines if the kernel forces gcc to inline the functions
268 developers have marked 'inline'. Doing so takes away freedom from gcc to 308 developers have marked 'inline'. Doing so takes away freedom from gcc to
@@ -273,5 +313,7 @@ config OPTIMIZE_INLINING
273 become the default in the future, until then this option is there to 313 become the default in the future, until then this option is there to
274 test gcc for this. 314 test gcc for this.
275 315
316 If unsure, say N.
317
276endmenu 318endmenu
277 319