xref: /openbmc/linux/arch/xtensa/Kconfig.debug (revision 20055477)
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config DEBUG_TLB_SANITY
6	bool "Debug TLB sanity"
7	depends on DEBUG_KERNEL
8	help
9	  Enable this to turn on TLB sanity check on each entry to userspace.
10	  This check can spot missing TLB invalidation/wrong PTE permissions/
11	  premature page freeing.
12
13	  If unsure, say N.
14
15config LD_NO_RELAX
16	bool "Disable linker relaxation"
17	default n
18	help
19	  Enable this function to disable link-time optimizations.
20	  The default linker behavior is to combine identical literal
21	  values to reduce code size and remove unnecessary overhead from
22	  assembler-generated 'longcall' sequences.
23	  Enabling this option improves the link time but increases the
24	  code size, and possibly execution time.
25
26config S32C1I_SELFTEST
27	bool "Perform S32C1I instruction self-test at boot"
28	default y
29	help
30	  Enable this option to test S32C1I instruction behavior at boot.
31	  Correct operation of this instruction requires some cooperation from hardware
32	  external to the processor (such as bus bridge, bus fabric, or memory controller).
33	  It is easy to make wrong hardware configuration, this test should catch it early.
34
35	  Say 'N' on stable hardware.
36
37endmenu
38