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