xref: /openbmc/linux/arch/alpha/Kconfig.debug (revision 643d1f7f)
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config EARLY_PRINTK
6	bool
7	depends on ALPHA_GENERIC || ALPHA_SRM
8	default y
9
10config DEBUG_RWLOCK
11	bool "Read-write spinlock debugging"
12	depends on DEBUG_KERNEL
13	help
14	  If you say Y here then read-write lock processing will count how many
15	  times it has tried to get the lock and issue an error message after
16	  too many attempts.  If you suspect a rwlock problem or a kernel
17	  hacker asks for this option then say Y.  Otherwise say N.
18
19config ALPHA_LEGACY_START_ADDRESS
20	bool "Legacy kernel start address"
21	depends on ALPHA_GENERIC
22	default n
23	---help---
24	  The 2.4 kernel changed the kernel start address from 0x310000
25	  to 0x810000 to make room for the Wildfire's larger SRM console.
26	  Recent consoles on Titan and Marvel machines also require the
27	  extra room.
28
29	  If you're using aboot 0.7 or later, the bootloader will examine the
30	  ELF headers to determine where to transfer control. Unfortunately,
31	  most older bootloaders -- APB or MILO -- hardcoded the kernel start
32	  address rather than examining the ELF headers, and the result is a
33	  hard lockup.
34
35	  Say Y if you have a broken bootloader.  Say N if you do not, or if
36	  you wish to run on Wildfire, Titan, or Marvel.
37
38config ALPHA_LEGACY_START_ADDRESS
39	bool
40	depends on !ALPHA_GENERIC && !ALPHA_TITAN && !ALPHA_MARVEL && !ALPHA_WILDFIRE
41	default y
42
43config MATHEMU
44	tristate "Kernel FP software completion" if DEBUG_KERNEL && !SMP
45	default y if !DEBUG_KERNEL || SMP
46	help
47	  This option is required for IEEE compliant floating point arithmetic
48	  on the Alpha. The only time you would ever not say Y is to say M in
49	  order to debug the code. Say Y unless you know what you are doing.
50
51endmenu
52