]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
xen/x86-64: fix Dom0 boot on AMD K8 CPUs
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Aug 2009 11:05:34 +0000 (12:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Aug 2009 11:05:34 +0000 (12:05 +0100)
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@novell.com>
arch/x86_64/kernel/mce.c

index 1519041d48838d624503bf1cbc977438ec27db5e..805321b19eec9850b9ddc487302455e16586bab5 100644 (file)
@@ -362,9 +362,11 @@ static void __cpuinit mce_cpu_quirks(struct cpuinfo_x86 *c)
 { 
        /* 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;