[kernel] r21822 - in dists/sid/linux/debian/patches: . features/all features/x86
Ben Hutchings
benh at moszumanska.debian.org
Fri Sep 12 13:42:28 UTC 2014
Author: benh
Date: Fri Sep 12 13:42:28 2014
New Revision: 21822
Log:
Move x86-specific memtest patch into the right directory
Added:
dists/sid/linux/debian/patches/features/x86/x86-memtest-WARN-if-bad-RAM-found.patch
- copied unchanged from r21821, dists/sid/linux/debian/patches/features/all/x86-memtest-WARN-if-bad-RAM-found.patch
Deleted:
dists/sid/linux/debian/patches/features/all/x86-memtest-WARN-if-bad-RAM-found.patch
Modified:
dists/sid/linux/debian/patches/series
Copied: dists/sid/linux/debian/patches/features/x86/x86-memtest-WARN-if-bad-RAM-found.patch (from r21821, dists/sid/linux/debian/patches/features/all/x86-memtest-WARN-if-bad-RAM-found.patch)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux/debian/patches/features/x86/x86-memtest-WARN-if-bad-RAM-found.patch Fri Sep 12 13:42:28 2014 (r21822, copy of r21821, dists/sid/linux/debian/patches/features/all/x86-memtest-WARN-if-bad-RAM-found.patch)
@@ -0,0 +1,28 @@
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Mon, 5 Dec 2011 04:00:58 +0000
+Subject: x86: memtest: WARN if bad RAM found
+Bug-Debian: https://bugs.debian.org/613321
+Forwarded: http://thread.gmane.org/gmane.linux.kernel/1286471
+
+Since this is not a particularly thorough test, if we find any bad
+bits of RAM then there is a fair chance that there are other bad bits
+we fail to detect.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+ arch/x86/mm/memtest.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/arch/x86/mm/memtest.c b/arch/x86/mm/memtest.c
+index 92faf3a..ac6bdaa 100644
+--- a/arch/x86/mm/memtest.c
++++ b/arch/x86/mm/memtest.c
+@@ -30,6 +30,8 @@ static u64 patterns[] __initdata = {
+
+ static void __init reserve_bad_mem(u64 pattern, u64 start_bad, u64 end_bad)
+ {
++ WARN_ONCE(1, "Bad RAM detected. Use memtest86+ to perform a thorough test\n"
++ "and the memmap= parameter to reserve the bad areas.");
+ printk(KERN_INFO " %016llx bad mem addr %010llx - %010llx reserved\n",
+ (unsigned long long) pattern,
+ (unsigned long long) start_bad,
Modified: dists/sid/linux/debian/patches/series
==============================================================================
--- dists/sid/linux/debian/patches/series Fri Sep 12 13:38:52 2014 (r21821)
+++ dists/sid/linux/debian/patches/series Fri Sep 12 13:42:28 2014 (r21822)
@@ -105,7 +105,7 @@
bugfix/all/mnt-Add-tests-for-unprivileged-remount-cases-that-ha.patch
# Miscellaneous features
-features/all/x86-memtest-WARN-if-bad-RAM-found.patch
+features/x86/x86-memtest-WARN-if-bad-RAM-found.patch
features/all/efi-autoload-efivars.patch
features/x86/x86-make-x32-syscall-support-conditional.patch
features/all/virtio-scsi-Implement-change_queue_depth-for-virtscs.patch
More information about the Kernel-svn-changes
mailing list