]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / cpuidle: Remove acpi_idle_suspend (to fix suspend regression)
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 12 Nov 2011 22:17:27 +0000 (23:17 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Nov 2011 23:30:14 +0000 (21:30 -0200)
commit810e5514147683111646c5977a26a20609706f86
tree45e6683ecc8e8abff279f68f7718b8cdc48f0d89
parentd81bc2843b9965b08ff05aa9bebdf98addc6b162
ACPI / cpuidle: Remove acpi_idle_suspend (to fix suspend regression)

After commit 4cfb774b88b8 ("cpuidle: Move dev->last_residency update to
driver enter routine; remove dev->last_state") setting acpi_idle_suspend
to 1 by acpi_processor_suspend() causes the ACPI cpuidle routines to
return error codes continuously, which in turn causes cpuidle to lock up
(hard).

However, acpi_idle_suspend doesn't appear to be useful for any
particular purpose (it's racy and doesn't really provide any real
protection), so it can be removed, which makes the problem go away.

Reported-and-tested-by: Tomas M. <tmezzadra@gmail.com>
Reported-and-tested-by: Ferenc Wagner <wferi@niif.hu>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/processor_idle.c