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