Commit aba3728c authored by Thomas Gleixner's avatar Thomas Gleixner

x86: sanitize Kconfig

Set default n for MEMTEST and MTRR_SANITIZER and fix the help texts.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 91d0322b
...@@ -447,7 +447,6 @@ config PARAVIRT_DEBUG ...@@ -447,7 +447,6 @@ config PARAVIRT_DEBUG
config MEMTEST config MEMTEST
bool "Memtest" bool "Memtest"
depends on X86_64 depends on X86_64
default y
help help
This option adds a kernel parameter 'memtest', which allows memtest This option adds a kernel parameter 'memtest', which allows memtest
to be set. to be set.
...@@ -455,7 +454,7 @@ config MEMTEST ...@@ -455,7 +454,7 @@ config MEMTEST
memtest=1, mean do 1 test pattern; memtest=1, mean do 1 test pattern;
... ...
memtest=4, mean do 4 test patterns. memtest=4, mean do 4 test patterns.
If you are unsure how to answer this question, answer Y. If you are unsure how to answer this question, answer N.
config X86_SUMMIT_NUMA config X86_SUMMIT_NUMA
def_bool y def_bool y
...@@ -1135,21 +1134,18 @@ config MTRR ...@@ -1135,21 +1134,18 @@ config MTRR
See <file:Documentation/mtrr.txt> for more information. See <file:Documentation/mtrr.txt> for more information.
config MTRR_SANITIZER config MTRR_SANITIZER
def_bool y bool
prompt "MTRR cleanup support" prompt "MTRR cleanup support"
depends on MTRR depends on MTRR
help help
Convert MTRR layout from continuous to discrete, so some X driver Convert MTRR layout from continuous to discrete, so X drivers can
could add WB entries. add writeback entries.
Say N here if you see bootup problems (boot crash, boot hang, Can be disabled with disable_mtrr_cleanup on the kernel command line.
spontaneous reboots). The largest mtrr entry size for a continous block can be set with
mtrr_chunk_size.
Could be disabled with disable_mtrr_cleanup. Also mtrr_chunk_size If unsure, say N.
could be used to send largest mtrr entry size for continuous block
to hold holes (aka. UC entries)
If unsure, say Y.
config MTRR_SANITIZER_ENABLE_DEFAULT config MTRR_SANITIZER_ENABLE_DEFAULT
int "MTRR cleanup enable value (0-1)" int "MTRR cleanup enable value (0-1)"
...@@ -1166,7 +1162,7 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT ...@@ -1166,7 +1162,7 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT
depends on MTRR_SANITIZER depends on MTRR_SANITIZER
help help
mtrr cleanup spare entries default, it can be changed via mtrr cleanup spare entries default, it can be changed via
mtrr_spare_reg_nr= mtrr_spare_reg_nr=N on the kernel command line.
config X86_PAT config X86_PAT
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment