]> err.no Git - linux-2.6/blobdiff - arch/x86/Kconfig
x86: mtrr cleanup for converting continuous to discrete layout, v8
[linux-2.6] / arch / x86 / Kconfig
index fe361ae7ef2f18ecffe362e0c492c29d370347ba..97a1764a3d20b6a03f0469709a8e0bfe000fbd06 100644 (file)
@@ -1092,6 +1092,32 @@ config MTRR
 
          See <file:Documentation/mtrr.txt> for more information.
 
+config MTRR_SANITIZER
+       def_bool y
+       prompt "MTRR cleanup support"
+       depends on MTRR
+       help
+         Convert MTRR layout from continuous to discrete, so some X driver
+         could add WB entries.
+
+         Say N here if you see bootup problems (boot crash, boot hang,
+         spontaneous reboots).
+
+         Could be disabled with disable_mtrr_cleanup. Also mtrr_chunk_size
+         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
+       def_bool y
+       prompt "Enable MTRR cleanup by default"
+       depends on MTRR_SANITIZER
+       help
+         Enable mtrr cleanup by default
+
+         If unsure, say Y.
+
 config X86_PAT
        bool
        prompt "x86 PAT support"