Re: [patch 3/3] clockevents: Fix resume logic

From: Andrew Morton
Date: Sat May 05 2007 - 03:34:53 EST


On Mon, 30 Apr 2007 10:43:34 -0000 Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> We need to make sure, that the clockevent devices are resumed, before
> the tick is resumed. The current resume logic does not guarantee this.
>
> Add CLOCK_EVT_MODE_RESUME and call the set mode functions of the clock
> event devices before resuming the tick / oneshot functionality.
>
> Fixup the existing users.

This one makes the Vaio-of-fun hang during suspend to disk. It gets up to
"swsusp: critical section/: done (%d pages copied)" then it freezes.

I retested only 2.6.21 plus

origin
clocksource-fix-resume-logic
clockevents-fix-resume-logic

and that hung in the same fashion.
Config at http://userweb.kernel.org/~akpm/config-sony.txt
-
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/