]> git.baikalelectronics.ru Git - kernel.git/commit
x86, amd: Disable GartTlbWlkErr when BIOS forgets it
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 15 Apr 2011 12:47:40 +0000 (14:47 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Apr 2011 23:03:16 +0000 (16:03 -0700)
commita2728c8633765b9866abfa8a24efe23aab6ff744
tree006300196d8ec4d5ed8e48a7b465f23f7209b731
parentd394fa0c1cae16870a93bd026540b7ce647d2583
x86, amd: Disable GartTlbWlkErr when BIOS forgets it

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>
Link: http://lkml.kernel.org/r/20110415131152.GJ18463@8bytes.org
Tested-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/amd.c