]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / x86: Save/restore MISC_ENABLE register
authorOndrej Zary <linux@rainbow-software.org>
Mon, 7 Jun 2010 22:32:49 +0000 (00:32 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:08 +0000 (10:30 -0700)
commit552a99e0b27d299ecf755db600701d67fa566552
tree75eadcd26225b0295fa5de4fdbd87760346f5fa4
parente40f6f19040c83453a98da6ad5c87ccfac0d64e7
PM / x86: Save/restore MISC_ENABLE register

commit 85a0e7539781dad4bfcffd98e72fa9f130f4e40d upstream.

Save/restore MISC_ENABLE register on suspend/resume.
This fixes OOPS (invalid opcode) on resume from STR on Asus P4P800-VM,
which wakes up with MWAIT disabled.

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

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/include/asm/suspend_32.h
arch/x86/include/asm/suspend_64.h
arch/x86/power/cpu.c