From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferenc Wagner Subject: Re: e978aa7d (cpuidle: Move dev->last_residency update...) broke suspend Date: Sat, 12 Nov 2011 13:42:21 +0100 Message-ID: <87obwhcy1e.fsf@tac.ki.iif.hu> References: <874nyadwef.fsf@tac.ki.iif.hu> <201111120218.17758.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201111120218.17758.rjw@sisk.pl> (Rafael J. Wysocki's message of "Sat, 12 Nov 2011 02:18:17 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org "Rafael J. Wysocki" writes: > On Saturday, November 12, 2011, Ferenc Wagner wrote: >> Hi, >> >> Since e978aa7d (cpuidle: Move dev->last_residency update to driver >> enter routine; remove dev->last_state) my ThinkPad R50e can't suspend >> anymore, it just freezes instead. I controlled git bisect by booting >> with break=top and issuing 'echo mem >/sys/power/state'. My config is >> attached. > > What's the output of "cat /sys/devices/system/cpu/cpuidle/current_driver" ? acpi_idle. Your patch (ACPI / cpuidle: Remove acpi_idle_suspend) fixes the problem for me. Amazing turnaround, really! -- Thanks, Feri.