x86, cpu: Fix regression in AMD errata checking code
authorHans Rosenfeld <hans.rosenfeld@amd.com>
Wed, 18 Aug 2010 14:19:50 +0000 (16:19 +0200)
committerAndi Kleen <ak@linux.intel.com>
Thu, 28 Apr 2011 15:21:09 +0000 (08:21 -0700)
commit07991dfa5079fe9170b4285ad8fbb51781dcb22c
tree2cc1ba19545392fbf18b0391415a8fb2c020690a
parenteaf0c653ec6898c65aceff17469a35ce97bab8aa
x86, cpu: Fix regression in AMD errata checking code

commit 07a7795ca2e6e66d00b184efb46bd0e23d90d3fe upstream.

A bug in the family-model-stepping matching code caused the presence of
errata to go undetected when OSVW was not used. This causes hangs on
some K8 systems because the E400 workaround is not enabled.

Signed-off-by: Hans Rosenfeld <hans.rosenfeld@amd.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <1282141190-930137-1-git-send-email-hans.rosenfeld@amd.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/cpu/amd.c