rpms/kernel/devel ingo-fix-atom-failures.patch, NONE, 1.1 kernel.spec, 1.1413, 1.1414

Kyle McMartin kyle at fedoraproject.org
Wed Mar 11 19:08:30 UTC 2009


Author: kyle

Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23972

Modified Files:
	kernel.spec 
Added Files:
	ingo-fix-atom-failures.patch 
Log Message:
* Wed Mar 11 2009 Kyle McMartin <kyle at redhat.com> 2.6.29-0.234.rc7.git4
- ingo-fix-atom-failures.patch:
   Work around Atom errata when splitting large pages.


ingo-fix-atom-failures.patch:

--- NEW FILE ingo-fix-atom-failures.patch ---
Subject: x86: work around Fedora-11 x86-32 kernel failures on Intel Atom CPUs
From: Ingo Molnar <mingo at elte.hu>
Date: Tue, 10 Mar 2009 22:31:03 +0100

Work around Intel Atom erratum AAH41 (probabilistically) - it's triggering
in the field.

Reported-by: Linus Torvalds <torvalds at linux-foundation.org>
Tested-by: Kyle McMartin <kyle at redhat.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
---
 arch/x86/mm/pageattr.c |    9 +++++++++
 1 file changed, 9 insertions(+)

Index: tip/arch/x86/mm/pageattr.c
===================================================================
--- tip.orig/arch/x86/mm/pageattr.c
+++ tip/arch/x86/mm/pageattr.c
@@ -522,6 +522,15 @@ static int split_large_page(pte_t *kpte,
 	 * primary protection behavior:
 	 */
 	__set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE)));
+	/*
+	 * Intel Atom errata AAH41 workaround.
+	 *
+	 * The real fix is in a microcode update, but we
+	 * also probabilistically try to reduce the window
+	 * of having a large TLB mixed with 4K TLBs while
+	 * instruction fetches are going on.
+	 */
+	__flush_tlb_all();
 	base = NULL;
 
 out_unlock:



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1413
retrieving revision 1.1414
diff -u -r1.1413 -r1.1414
--- kernel.spec	11 Mar 2009 16:28:50 -0000	1.1413
+++ kernel.spec	11 Mar 2009 19:07:59 -0000	1.1414
@@ -693,6 +693,8 @@
 
 Patch9003: squashfs-fix-page-aligned-data.patch
 
+Patch9004: ingo-fix-atom-failures.patch
+
 %endif
 
 BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -1241,6 +1243,8 @@
 
 ApplyPatch squashfs-fix-page-aligned-data.patch
 
+ApplyPatch ingo-fix-atom-failures.patch
+
 # END OF PATCH APPLICATIONS
 
 %endif
@@ -1824,6 +1828,10 @@
 # and build.
 
 %changelog
+* Wed Mar 11 2009 Kyle McMartin <kyle at redhat.com> 2.6.29-0.234.rc7.git4
+- ingo-fix-atom-failures.patch:
+   Work around Atom errata when splitting large pages.
+
 * Wed Mar 11 2009 Kyle McMartin <kyle at redhat.com> 2.6.29-0.233.rc7.git4
 - linux-2.6-execshield.patch:
    Fix typo. Oops.




More information about the fedora-extras-commits mailing list