--- zzzz-none-000/linux-3.10.107/arch/xtensa/Kconfig.debug 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/xtensa/Kconfig.debug 2021-02-04 17:41:59.000000000 +0000 @@ -2,9 +2,19 @@ source "lib/Kconfig.debug" +config DEBUG_TLB_SANITY + bool "Debug TLB sanity" + depends on DEBUG_KERNEL && MMU + help + Enable this to turn on TLB sanity check on each entry to userspace. + This check can spot missing TLB invalidation/wrong PTE permissions/ + premature page freeing. + + If unsure, say N. + config LD_NO_RELAX bool "Disable linker relaxation" - default n + default y help Enable this function to disable link-time optimizations. The default linker behavior is to combine identical literal