diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2013-07-12 23:48:12 (GMT) |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-07-15 20:50:54 (GMT) |
commit | 5ff560fd48d5b3d82fa0c3aff625c9da1a301911 (patch) | |
tree | 074ea5f9b708d54589fd04451488a588d75683e8 /sound/pci | |
parent | ff5599816711d2e67da2d7561fd36ac48debd433 (diff) | |
download | linux-fsl-qoriq-5ff560fd48d5b3d82fa0c3aff625c9da1a301911.tar.xz |
x86, suspend: Handle CPUs which fail to #GP on RDMSR
There are CPUs which have errata causing RDMSR of a nonexistent MSR to
not fault. We would then try to WRMSR to restore the value of that
MSR, causing a crash. Specifically, some Pentium M variants would
have this problem trying to save and restore the non-existent EFER,
causing a crash on resume.
Work around this by making sure we can write back the result at
suspend time.
Huge thanks to Christian Sünkenberg for finding the offending erratum
that finally deciphered the mystery.
Reported-and-tested-by: Johan Heinrich <onny@project-insanity.org>
Debugged-by: Christian Sünkenberg <christian.suenkenberg@student.kit.edu>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Link: http://lkml.kernel.org/r/51DDC972.3010005@student.kit.edu
Cc: <stable@vger.kernel.org> # v3.7+
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions