]> 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)
commitb9fa01a3d92b1a880284ddd4c9bb6ab4952aa770
tree45e6683ecc8e8abff279f68f7718b8cdc48f0d89
parent201d413be4ce7550f6b8de3dd373be4a5af07a96
ACPI / cpuidle: Remove acpi_idle_suspend (to fix suspend regression)

After commit 1b6d8ae3013e ("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