Re: [RFC PATCH 0/5] Add support for S3 non-stop TSC support.

From: John Stultz
Date: Mon Apr 01 2013 - 16:41:37 EST


On 04/01/2013 01:31 PM, Pavel Machek wrote:

Certainly for short sleeps. Is TSC actually precise enough to keep
precise time for hours? I thought TSC sucked at precision.

Well, we can measure suspend using the ntp corrected frequency, so that should be ok, assuming the freq doesn't change during suspend.

But yes, the long term accuracy will depend on the actual hardware implementation, so we'll have to see what the hardware does.

Even so, other boards have similar non-stop clocksources in suspend that could be used in a similar fashion, so I think this is still the right appraoch.

thanks
-john
--
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/