[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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]);
+#endif
                /* 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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.