]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix microcode-related suspend problem
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 2 Apr 2007 06:49:49 +0000 (23:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 2 Apr 2007 17:06:09 +0000 (10:06 -0700)
commit1d663b8d677a89a564be2a48b859764b49974e5f
tree31c6c7751b656e74b5ee05159c85154f710e8956
parentc3c4ae3230fb1567f89ac46348e6c6f365abec9a
[PATCH] Fix microcode-related suspend problem

Fix the regression resulting from the recent change of suspend code
ordering that causes systems based on Intel x86 CPUs using the microcode
driver to hang during the resume.

The problem occurs since the microcode driver uses request_firmware() in
its CPU hotplug notifier, which is called after tasks has been frozen and
hangs.  It can be fixed by telling the microcode driver to use the
microcode stored in memory during the resume instead of trying to load it
from disk.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Adrian Bunk <bunk@stusta.de>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Maxim <maximlevitsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/microcode.c
include/linux/cpu.h
kernel/cpu.c