[kernel] r15808 - in dists/lenny/linux-2.6/debian: . patches/bugfix/x86 patches/series
Ben Hutchings
benh at alioth.debian.org
Sun May 30 20:50:27 UTC 2010
Author: benh
Date: Sun May 30 20:50:20 2010
New Revision: 15808
Log:
[i386] Disable use of NOPL instruction in alternatives (Closes: #463606)
Added:
dists/lenny/linux-2.6/debian/patches/bugfix/x86/x86-completely-disable-NOPL-on-32-bits.patch
Modified:
dists/lenny/linux-2.6/debian/changelog
dists/lenny/linux-2.6/debian/patches/series/23
Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog Sun May 30 03:08:13 2010 (r15807)
+++ dists/lenny/linux-2.6/debian/changelog Sun May 30 20:50:20 2010 (r15808)
@@ -14,6 +14,7 @@
- Prevent reshaping of doubly-degraded RAID4
- Enable error-correction on singly-degraded RAID6
* r8169: fix broken register writes (Closes: #407217, #573007)
+ * [i386] Disable use of NOPL instruction in alternatives (Closes: #463606)
[ maximilian attems ]
* openvz: printk_cpu have to be "cleared" in __vprintk (v2)
Added: dists/lenny/linux-2.6/debian/patches/bugfix/x86/x86-completely-disable-NOPL-on-32-bits.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/bugfix/x86/x86-completely-disable-NOPL-on-32-bits.patch Sun May 30 20:50:20 2010 (r15808)
@@ -0,0 +1,36 @@
+From 8d8efef80d80480b78adbf323e4aa2e2e69a72b1 Mon Sep 17 00:00:00 2001
+From: H. Peter Anvin <hpa at zytor.com>
+Date: Tue, 16 Sep 2008 09:29:40 -0700
+Subject: [PATCH] x86: completely disable NOPL on 32 bits
+
+commit ba0593bf553c450a03dbc5f8c1f0ff58b778a0c8 upstream.
+
+Completely disable NOPL on 32 bits. It turns out that Microsoft
+Virtual PC is so broken it can't even reliably *fail* in the presence
+of NOPL.
+
+Signed-off-by: H. Peter Anvin <hpa at zytor.com>
+
+[bwh: Disable use of NOPL directly at the one place the feature flag
+is used upstream. This avoids the need to introduce a useless
+feature.]
+---
+ arch/x86/kernel/alternative.c | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
+index c36ed19..1a68a4b 100644
+--- a/arch/x86/kernel/alternative.c
++++ b/arch/x86/kernel/alternative.c
+@@ -157,8 +157,6 @@ static const struct nop {
+ } noptypes[] = {
+ { X86_FEATURE_K8, k8_nops },
+ { X86_FEATURE_K7, k7_nops },
+- { X86_FEATURE_P4, p6_nops },
+- { X86_FEATURE_P3, p6_nops },
+ { -1, NULL }
+ };
+
+--
+1.7.1
+
Modified: dists/lenny/linux-2.6/debian/patches/series/23
==============================================================================
--- dists/lenny/linux-2.6/debian/patches/series/23 Sun May 30 03:08:13 2010 (r15807)
+++ dists/lenny/linux-2.6/debian/patches/series/23 Sun May 30 20:50:20 2010 (r15808)
@@ -11,3 +11,4 @@
+ bugfix/mips/sibyte-m3-tlb-exception.patch
+ bugfix/mips/mips-ide-flush-dcache.patch
+ bugfix/mips/fpu-emulator.patch
++ bugfix/x86/x86-completely-disable-NOPL-on-32-bits.patch
More information about the Kernel-svn-changes
mailing list