blob: 39de98e20018179f9945df6e81632b785085d902 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Chris Zankel8e1a6dd2005-06-23 22:01:10 -07002
Max Filippova99e07e2013-05-15 19:34:05 +04003config DEBUG_TLB_SANITY
4 bool "Debug TLB sanity"
Max Filippovbe603092014-10-02 20:52:56 +04005 depends on DEBUG_KERNEL && MMU
Max Filippova99e07e2013-05-15 19:34:05 +04006 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
Chris Zankel65501622012-11-13 15:16:36 -080013config LD_NO_RELAX
14 bool "Disable linker relaxation"
Chris Zankel1f2fdbd2014-12-15 21:22:21 -080015 default y
Chris Zankel65501622012-11-13 15:16:36 -080016 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
Max Filippov00273122012-11-28 11:33:02 +040024config 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.