Chris Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
Max Filippov | a99e07e | 2013-05-15 19:34:05 +0400 | [diff] [blame] | 5 | config DEBUG_TLB_SANITY |
| 6 | bool "Debug TLB sanity" |
Max Filippov | be60309 | 2014-10-02 20:52:56 +0400 | [diff] [blame] | 7 | depends on DEBUG_KERNEL && MMU |
Max Filippov | a99e07e | 2013-05-15 19:34:05 +0400 | [diff] [blame] | 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 Zankel | 6550162 | 2012-11-13 15:16:36 -0800 | [diff] [blame] | 15 | config LD_NO_RELAX |
| 16 | bool "Disable linker relaxation" |
Chris Zankel | 1f2fdbd | 2014-12-15 21:22:21 -0800 | [diff] [blame] | 17 | default y |
Chris Zankel | 6550162 | 2012-11-13 15:16:36 -0800 | [diff] [blame] | 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 Filippov | 0027312 | 2012-11-28 11:33:02 +0400 | [diff] [blame] | 26 | config 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 Zankel | 8e1a6dd | 2005-06-23 22:01:10 -0700 | [diff] [blame] | 37 | endmenu |