[linux-pm] [PATCH 05/10] powermac: generic time suspend/resume code

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon Feb 19 21:00:52 EST 2007


On Mon, 5 Feb 2007, Johannes Berg wrote:

> This patch removes the time suspend/restore code that was done through
> a PMU notifier in arch/platforms/powermac/time.c.
> 
> Instead, we introduce arch/powerpc/sysdev/timer.c which creates a sys
> device and handles time of day suspend/resume through that.

I think there's a problem with this one. In my tests with this patch the 
system time is incremented twice, so, looks like some code already takes 
care about that. Maybe there's some very indirect code in generic rtc, but 
I haven't found anything yet. Anyway, requires more investigation and, 
probably, should not be included before we clarify this.

Thanks
Guennadi
---
Guennadi Liakhovetski



More information about the Linuxppc-dev mailing list