Re: [linux-pm] e978aa7d (cpuidle: Move dev->last_residency update...) broke suspend

From: Rafael J. Wysocki
Date: Sat Nov 12 2011 - 17:11:37 EST


On Saturday, November 12, 2011, Ferenc Wagner wrote:
> "Rafael J. Wysocki" <rjw@xxxxxxx> 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!

Well, I could reproduce the problem on one of my machines, so it wasn't
that difficult.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/