This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [linux-2.6.18-xen] xen/x86-64: fix Dom0 boot on AMD K8 C

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen/x86-64: fix Dom0 boot on AMD K8 CPUs
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 06 Aug 2009 05:35:34 -0700
Delivery-date: Thu, 06 Aug 2009 05:37:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1249470334 -3600
# Node ID f9bc83a42799c4693e1c6a5e889a70a837b69521
# Parent  56ba8bd8093e716d27a9afb60c3c5e96b2065a75
xen/x86-64: fix Dom0 boot on AMD K8 CPUs

The workaround in question here should be (and is being) applied by
the hypervisor (which doesn't allow any guest - including Dom0 - to
write other than all zeroes or all ones into MCi_CTL).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
 arch/x86_64/kernel/mce.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 56ba8bd8093e -r f9bc83a42799 arch/x86_64/kernel/mce.c
--- a/arch/x86_64/kernel/mce.c  Wed Jul 29 09:21:40 2009 +0100
+++ b/arch/x86_64/kernel/mce.c  Wed Aug 05 12:05:34 2009 +0100
@@ -362,9 +362,11 @@ static void __cpuinit mce_cpu_quirks(str
        /* This should be disabled by the BIOS, but isn't always */
        if (c->x86_vendor == X86_VENDOR_AMD && c->x86 == 15) {
+#ifndef CONFIG_XEN
                /* disable GART TBL walk error reporting, which trips off 
                   incorrectly with the IOMMU & 3ware & Cerberus. */
                clear_bit(10, &bank[4]);
                /* Lots of broken BIOS around that don't clear them
                   by default and leave crap in there. Don't log. */
                mce_bootlog = 0;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen/x86-64: fix Dom0 boot on AMD K8 CPUs, Xen patchbot-linux-2.6.18-xen <=