x86, amd: Disable GartTlbWlkErr when BIOS forgets it
commit1a2c7d94b5a0f06387e0c346861ac2f67f07c5ca
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 15 Apr 2011 12:47:40 +0000 (15 14:47 +0200)
committerAndi Kleen <ak@linux.intel.com>
Thu, 28 Apr 2011 15:21:06 +0000 (28 08:21 -0700)
tree2e3ffa7f10ad8bd5d72b3adc111f98e757651e18
parentf6325b0c59f6a6ee4ba009c415c7fd3c8f08b513
x86, amd: Disable GartTlbWlkErr when BIOS forgets it

commit 5bbc097d890409d8eff4e3f1d26f11a9d6b7c07e upstream.

This patch disables GartTlbWlk errors on AMD Fam10h CPUs if
the BIOS forgets to do is (or is just too old). Letting
these errors enabled can cause a sync-flood on the CPU
causing a reboot.

The AMD BKDG recommends disabling GART TLB Wlk Error completely.

This patch is the fix for

https://bugzilla.kernel.org/show_bug.cgi?id=33012

on my machine.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/20110415131152.GJ18463@8bytes.org
Tested-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/amd.c