diff options
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
-rw-r--r-- | arch/powerpc/Kconfig.debug | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug index 067cb8480747..1b8a9c905cf7 100644 --- a/arch/powerpc/Kconfig.debug +++ b/arch/powerpc/Kconfig.debug | |||
@@ -141,9 +141,6 @@ config BOOTX_TEXT | |||
141 | 141 | ||
142 | config PPC_EARLY_DEBUG | 142 | config PPC_EARLY_DEBUG |
143 | bool "Early debugging (dangerous)" | 143 | bool "Early debugging (dangerous)" |
144 | # PPC_EARLY_DEBUG on 440 leaves AS=1 mappings above the TLB high water | ||
145 | # mark, which doesn't work with current 440 KVM. | ||
146 | depends on !KVM | ||
147 | help | 144 | help |
148 | Say Y to enable some early debugging facilities that may be available | 145 | Say Y to enable some early debugging facilities that may be available |
149 | for your processor/board combination. Those facilities are hacks | 146 | for your processor/board combination. Those facilities are hacks |
@@ -222,7 +219,9 @@ config PPC_EARLY_DEBUG_BEAT | |||
222 | 219 | ||
223 | config PPC_EARLY_DEBUG_44x | 220 | config PPC_EARLY_DEBUG_44x |
224 | bool "Early serial debugging for IBM/AMCC 44x CPUs" | 221 | bool "Early serial debugging for IBM/AMCC 44x CPUs" |
225 | depends on 44x | 222 | # PPC_EARLY_DEBUG on 440 leaves AS=1 mappings above the TLB high water |
223 | # mark, which doesn't work with current 440 KVM. | ||
224 | depends on 44x && !KVM | ||
226 | help | 225 | help |
227 | Select this to enable early debugging for IBM 44x chips via the | 226 | Select this to enable early debugging for IBM 44x chips via the |
228 | inbuilt serial port. If you enable this, ensure you set | 227 | inbuilt serial port. If you enable this, ensure you set |
@@ -258,8 +257,35 @@ config PPC_EARLY_DEBUG_WSP | |||
258 | depends on PPC_WSP | 257 | depends on PPC_WSP |
259 | select PPC_UDBG_16550 | 258 | select PPC_UDBG_16550 |
260 | 259 | ||
260 | config PPC_EARLY_DEBUG_PS3GELIC | ||
261 | bool "Early debugging through the PS3 Ethernet port" | ||
262 | depends on PPC_PS3 | ||
263 | select PS3GELIC_UDBG | ||
264 | help | ||
265 | Select this to enable early debugging for the PlayStation3 via | ||
266 | UDP broadcasts sent out through the Ethernet port. | ||
267 | |||
268 | config PPC_EARLY_DEBUG_OPAL_RAW | ||
269 | bool "OPAL raw console" | ||
270 | depends on HVC_OPAL | ||
271 | help | ||
272 | Select this to enable early debugging for the PowerNV platform | ||
273 | using a "raw" console | ||
274 | |||
275 | config PPC_EARLY_DEBUG_OPAL_HVSI | ||
276 | bool "OPAL hvsi console" | ||
277 | depends on HVC_OPAL | ||
278 | help | ||
279 | Select this to enable early debugging for the PowerNV platform | ||
280 | using an "hvsi" console | ||
281 | |||
261 | endchoice | 282 | endchoice |
262 | 283 | ||
284 | config PPC_EARLY_DEBUG_OPAL | ||
285 | def_bool y | ||
286 | depends on PPC_EARLY_DEBUG_OPAL_RAW || PPC_EARLY_DEBUG_OPAL_HVSI | ||
287 | |||
288 | |||
263 | config PPC_EARLY_DEBUG_HVSI_VTERMNO | 289 | config PPC_EARLY_DEBUG_HVSI_VTERMNO |
264 | hex "vterm number to use with early debug HVSI" | 290 | hex "vterm number to use with early debug HVSI" |
265 | depends on PPC_EARLY_DEBUG_LPAR_HVSI | 291 | depends on PPC_EARLY_DEBUG_LPAR_HVSI |
@@ -268,6 +294,18 @@ config PPC_EARLY_DEBUG_HVSI_VTERMNO | |||
268 | You probably want 0x30000000 for your first serial port and | 294 | You probably want 0x30000000 for your first serial port and |
269 | 0x30000001 for your second one | 295 | 0x30000001 for your second one |
270 | 296 | ||
297 | config PPC_EARLY_DEBUG_OPAL_VTERMNO | ||
298 | hex "vterm number to use with OPAL early debug" | ||
299 | depends on PPC_EARLY_DEBUG_OPAL | ||
300 | default "0" | ||
301 | help | ||
302 | This correspond to which /dev/hvcN you want to use for early | ||
303 | debug. | ||
304 | |||
305 | On OPAL v1 (takeover) this should always be 0 | ||
306 | On OPAL v2, this will be 0 for network console and 1 or 2 for | ||
307 | the machine built-in serial ports. | ||
308 | |||
271 | config PPC_EARLY_DEBUG_44x_PHYSLOW | 309 | config PPC_EARLY_DEBUG_44x_PHYSLOW |
272 | hex "Low 32 bits of early debug UART physical address" | 310 | hex "Low 32 bits of early debug UART physical address" |
273 | depends on PPC_EARLY_DEBUG_44x | 311 | depends on PPC_EARLY_DEBUG_44x |