Thread (36 messages) 36 messages, 7 authors, 2007-05-28

Re: [PATCH 2/3] powermac: proper time of day after resume

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-01-24 08:51:46

On Wed, 2007-01-24 at 09:46 +0100, Johannes Berg wrote:
On Wed, 2007-01-24 at 17:34 +1100, Benjamin Herrenschmidt wrote:
quoted
On Wed, 2006-12-13 at 13:38 +0100, Johannes Berg wrote:
quoted
plain text document attachment (time-resume.patch)
This patch converts the time restore code from a PMU notifier to a regular
sys device so I can profit from it even when I don't suspend through the
PMU, i.e. suspend to disk.

Also another step towards dropping pmu_sleep_notifier completely.
I'd rather do it differently: On suspend, read the RTC and save the
value. On resume, read it again, diff the values, and add that to the
current time.
Alright, I can do that too, this simply shuffled the old code around.
Will have a look at it.
Ok. I just don't like the pmac_get_boot_time() calls around all over the
place :-) That stuff is a hack I'd like to only call once at boot.

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help