[PATCH 03/13] Revert "UBUNTU: Disable 4MB page tables for Atom, work around errata AAE44"

Leann Ogasawara leann.ogasawara at canonical.com
Fri May 21 23:17:39 UTC 2010


>From 24c239d1bfe52777913b79975286b8a12f9809cd Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara at canonical.com>
Date: Fri, 21 May 2010 14:26:53 -0700
Subject: [PATCH 03/13] Revert "UBUNTU: Disable 4MB page tables for Atom, work around errata AAE44"

This reverts commit e9c6db30796c6c2cd4e31308e44cbe9ae934814a.

Drop this patch in favor of the upstream incantation.

  commit 7a0fc404ae663776e96db43879a0fa24fec1fa3a
  Author: H. Peter Anvin <hpa at linux.intel.com>
  Date:   Tue Apr 13 14:40:54 2010 -0700

      x86: Disable large pages on CPUs with Atom erratum AAE44

Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
---
 arch/x86/kernel/cpu/bugs.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index 661c610..01a2652 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -151,20 +151,6 @@ static void __init check_config(void)
 #endif
 }
 
-static void __init check_atom(void)
-{	
-
-	/* 
-	 *  Disable 4MB page tables to work around Intel errata AAE44 for
-	 *  Atom. We cannot guarantee stopping undefined processor behaviour
-	 *  when two pageing structure translations differ with respect to
-	 *  page frame sizes.  Hence, for Atoms we disable the PSE.
-	 */
-	if (boot_cpu_data.x86_model == 0x1c) {
-		clear_bit(X86_FEATURE_PSE, boot_cpu_data.x86_capability);
-		printk(KERN_INFO "Disabling 4MB page tables to avoid TLB bug\n");
-	}
-}
 
 void __init check_bugs(void)
 {
@@ -177,7 +163,6 @@ void __init check_bugs(void)
 	check_fpu();
 	check_hlt();
 	check_popad();
-	check_atom();
 	init_utsname()->machine[1] =
 		'0' + (boot_cpu_data.x86 > 6 ? 6 : boot_cpu_data.x86);
 	alternative_instructions();
-- 
1.7.0.4







More information about the kernel-team mailing list