blob: af7da74d535f1870c8c266c2caf6d6fa1f2b79c5 [file] [log] [blame]
Chris Zankel8e1a6dd2005-06-23 22:01:10 -07001menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
Max Filippova99e07e2013-05-15 19:34:05 +04005config 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
Chris Zankel65501622012-11-13 15:16:36 -080015config 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
Max Filippov00273122012-11-28 11:33:02 +040026config 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
Chris Zankel8e1a6dd2005-06-23 22:01:10 -070037endmenu