[kernel] Enable CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK (On by default in rawhide/-debug)

Dave Jones davej at fedoraproject.org
Fri Jan 13 22:35:21 UTC 2012


commit 277962e39f582d5827c1215d84dc0ba990d20072
Author: Dave Jones <davej at redhat.com>
Date:   Fri Jan 13 17:35:09 2012 -0500

    Enable CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
    (On by default in rawhide/-debug)

 Makefile           |    1 +
 Makefile.release   |    1 +
 config-debug       |    1 +
 config-nodebug     |    1 +
 config-x86-generic |    2 +-
 kernel.spec        |    4 ++++
 6 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index b73faf4..ce580e4 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,7 @@ debug:
 	@perl -pi -e 's/# CONFIG_TEST_LIST_SORT is not set/CONFIG_TEST_LIST_SORT=y/' config-nodebug
 	@perl -pi -e 's/# CONFIG_DEBUG_ATOMIC_SLEEP is not set/CONFIG_DEBUG_ATOMIC_SLEEP=y/' config-nodebug
 	@perl -pi -e 's/# CONFIG_DETECT_HUNG_TASK is not set/CONFIG_DETECT_HUNG_TASK=y/' config-nodebug
+	@perl -pi -e 's/# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set/CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y/' config-nodebug
 
 	@# just in case we're going from extremedebug -> debug
 	@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug
diff --git a/Makefile.release b/Makefile.release
index c3f429b..c718c36 100644
--- a/Makefile.release
+++ b/Makefile.release
@@ -67,6 +67,7 @@ config-release:
 	@perl -pi -e 's/CONFIG_TEST_LIST_SORT=y/# CONFIG_TEST_LIST_SORT is not set/' config-nodebug
 	@perl -pi -e 's/CONFIG_DEBUG_ATOMIC_SLEEP=y/# CONFIG_DEBUG_ATOMIC_SLEEP is not set/' config-nodebug
 	@perl -pi -e 's/CONFIG_DETECT_HUNG_TASK=y/# CONFIG_DETECT_HUNG_TASK is not set/' config-nodebug
+	@perl -pi -e 's/CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y/# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set/' config-nodebug
 
 	@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-debug
 	@perl -pi -e 's/CONFIG_DEBUG_PAGEALLOC=y/# CONFIG_DEBUG_PAGEALLOC is not set/' config-nodebug
diff --git a/config-debug b/config-debug
index c6815cd..19ae465 100644
--- a/config-debug
+++ b/config-debug
@@ -103,3 +103,4 @@ CONFIG_DETECT_HUNG_TASK=y
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
 # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
 
+CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
diff --git a/config-nodebug b/config-nodebug
index bf3917d..4beecc2 100644
--- a/config-nodebug
+++ b/config-nodebug
@@ -103,3 +103,4 @@ CONFIG_DETECT_HUNG_TASK=y
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
 # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
 
+CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
diff --git a/config-x86-generic b/config-x86-generic
index 421e22b..23044c4 100644
--- a/config-x86-generic
+++ b/config-x86-generic
@@ -310,7 +310,7 @@ CONFIG_HP_ILO=m
 CONFIG_BACKLIGHT_APPLE=m
 
 
-# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
+CONFIG_X86_CHECK_BIOS_CORRUPTION=y
 
 # CONFIG_CMDLINE_BOOL is not set
 
diff --git a/kernel.spec b/kernel.spec
index cdba17a..37002aa 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2318,6 +2318,10 @@ fi
 #                 ||     ||
 %changelog
 * Fri Jan 13 2012 Dave Jones <davej at redhat.com>
+- Enable CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
+  (On by default in rawhide/-debug)
+
+* Fri Jan 13 2012 Dave Jones <davej at redhat.com>
 - Disable memory hotplug on x86-64
 
 * Fri Jan 13 2012 Dave Jones <davej at redhat.com>


More information about the scm-commits mailing list