Kconfig.debug 1.3 KB

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