[POWERPC] Quiet hvc_console console output on failed opens
[deliverable/linux.git] / arch / powerpc / Kconfig.debug
CommitLineData
14cf11af
PM
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
ff64208d
PM
5config DEBUG_STACKOVERFLOW
6 bool "Check for stack overflows"
7 depends on DEBUG_KERNEL && PPC64
8 help
9 This option will cause messages to be printed if free stack space
10 drops below a certain limit.
11
ff64208d
PM
12config DEBUG_STACK_USAGE
13 bool "Stack utilization instrumentation"
14 depends on DEBUG_KERNEL && PPC64
15 help
16 Enables the display of the minimum amount of free stack which each
17 task has ever had available in the sysrq-T and sysrq-P debug output.
18
19 This option will slow down process creation somewhat.
20
57852a85
MK
21config HCALL_STATS
22 bool "Hypervisor call instrumentation"
23 depends on PPC_PSERIES && DEBUG_FS
24 help
25 Adds code to keep track of the number of hypervisor calls made and
26 the amount of time spent in hypervisor callsr. Wall time spent in
27 each call is always calculated, and if available CPU cycles spent
28 are also calculated. A directory named hcall_inst is added at the
29 root of the debugfs filesystem. Within the hcall_inst directory
30 are files that contain CPU specific call statistics.
31
32 This option will add a small amount of overhead to all hypervisor
33 calls.
34
ff64208d
PM
35config DEBUGGER
36 bool "Enable debugger hooks"
37 depends on DEBUG_KERNEL
38 help
39 Include in-kernel hooks for kernel debuggers. Unless you are
40 intending to debug the kernel, say N here.
41
14cf11af
PM
42config KGDB
43 bool "Include kgdb kernel debugger"
ff64208d 44 depends on DEBUGGER && (BROKEN || PPC_GEN550 || 4xx)
14cf11af
PM
45 select DEBUG_INFO
46 help
47 Include in-kernel hooks for kgdb, the Linux kernel source level
48 debugger. See <http://kgdb.sourceforge.net/> for more information.
49 Unless you are intending to debug the kernel, say N here.
50
51choice
52 prompt "Serial Port"
53 depends on KGDB
54 default KGDB_TTYS1
55
56config KGDB_TTYS0
57 bool "ttyS0"
58
59config KGDB_TTYS1
60 bool "ttyS1"
61
62config KGDB_TTYS2
63 bool "ttyS2"
64
65config KGDB_TTYS3
66 bool "ttyS3"
67
68endchoice
69
70config KGDB_CONSOLE
71 bool "Enable serial console thru kgdb port"
72 depends on KGDB && 8xx || CPM2
73 help
74 If you enable this, all serial console messages will be sent
75 over the gdb stub.
76 If unsure, say N.
77
78config XMON
79 bool "Include xmon kernel debugger"
ff64208d 80 depends on DEBUGGER && !PPC_ISERIES
14cf11af
PM
81 help
82 Include in-kernel hooks for the xmon kernel monitor/debugger.
83 Unless you are intending to debug the kernel, say N here.
ff64208d
PM
84 Make sure to enable also CONFIG_BOOTX_TEXT on Macs. Otherwise
85 nothing will appear on the screen (xmon writes directly to the
86 framebuffer memory).
87 The cmdline option 'xmon' or 'xmon=early' will drop into xmon
88 very early during boot. 'xmon=on' will just enable the xmon
89 debugger hooks. 'xmon=off' will disable the debugger hooks
90 if CONFIG_XMON_DEFAULT is set.
91
92config XMON_DEFAULT
93 bool "Enable xmon by default"
94 depends on XMON
95 help
96 xmon is normally disabled unless booted with 'xmon=on'.
97 Use 'xmon=off' to disable xmon init during runtime.
98
99config IRQSTACKS
100 bool "Use separate kernel stacks when processing interrupts"
101 depends on PPC64
102 help
103 If you say Y here the kernel will use separate kernel stacks
104 for handling hard and soft interrupts. This can help avoid
105 overflowing the process kernel stacks.
14cf11af
PM
106
107config BDI_SWITCH
108 bool "Include BDI-2000 user context switcher"
ff64208d 109 depends on DEBUG_KERNEL && PPC32
14cf11af
PM
110 help
111 Include in-kernel support for the Abatron BDI2000 debugger.
112 Unless you are intending to debug the kernel with one of these
113 machines, say N here.
114
115config BOOTX_TEXT
116 bool "Support for early boot text console (BootX or OpenFirmware only)"
eeb2d218 117 depends PPC_OF && !PPC_ISERIES
14cf11af
PM
118 help
119 Say Y here to see progress messages from the boot firmware in text
120 mode. Requires either BootX or Open Firmware.
121
122config SERIAL_TEXT_DEBUG
123 bool "Support for early boot texts over serial port"
124 depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \
125 PPC_GEN550 || PPC_MPC52xx
126
485a2d54
ME
127config PPC_EARLY_DEBUG
128 bool "Early debugging (dangerous)"
129
296167ae 130choice
485a2d54
ME
131 prompt "Early debugging console"
132 depends on PPC_EARLY_DEBUG
296167ae 133 help
485a2d54
ME
134 Use the selected console for early debugging. Careful, if you
135 enable debugging for the wrong type of machine your kernel
136 _will not boot_.
296167ae
ME
137
138config PPC_EARLY_DEBUG_LPAR
139 bool "LPAR HV Console"
140 depends on PPC_PSERIES
141 help
142 Select this to enable early debugging for a machine with a HVC
143 console on vterm 0.
144
145config PPC_EARLY_DEBUG_G5
146 bool "Apple G5"
147 depends on PPC_PMAC64
148 help
149 Select this to enable early debugging for Apple G5 machines.
150
cc46bb98 151config PPC_EARLY_DEBUG_RTAS_PANEL
296167ae
ME
152 bool "RTAS Panel"
153 depends on PPC_RTAS
154 help
155 Select this to enable early debugging via the RTAS panel.
156
cc46bb98
ME
157config PPC_EARLY_DEBUG_RTAS_CONSOLE
158 bool "RTAS Console"
159 depends on PPC_RTAS
160 select UDBG_RTAS_CONSOLE
161 help
162 Select this to enable early debugging via the RTAS console.
163
296167ae
ME
164config PPC_EARLY_DEBUG_MAPLE
165 bool "Maple real mode"
166 depends on PPC_MAPLE
167 help
168 Select this to enable early debugging for Maple.
169
170config PPC_EARLY_DEBUG_ISERIES
171 bool "iSeries HV Console"
172 depends on PPC_ISERIES
173 help
174 Select this to enable early debugging for legacy iSeries. You need
175 to hit "Ctrl-x Ctrl-x" to see the messages on the console.
176
177endchoice
178
14cf11af 179endmenu
This page took 0.103507 seconds and 5 git commands to generate.