Re: CONFIG_PM_TRACE corrupts RTC

From: Linus Torvalds
Date: Mon Jun 26 2006 - 12:29:23 EST




On Mon, 26 Jun 2006, Andrew Morton wrote:
>
> Oh, I thought it found some spare space in there somehow.

I really tried. The fact is, the RTC chips have at least 114 bytes of
NVRAM available in them, and most have more. Sadly, while from a hw
standpoint it's non-volatile, the firmware I was testing with cleared it
all (including the extended banks etc).

> Making it `default y' was a bit unfriendly. How's about `default n' and
> `depends on EMBEDDED'?

We can certainly make it 'default n', and perhaps hide it behind
EXPERIMENTAL (it's not really, but hey..). Not EMBEDDED, though, this is
literally meant to help random people who have a dead machine on suspend
be able to just turn this on, test suspend, and then when suspend causes a
dead machine, just turn off power and reboot immediately again, and it
will tell you which device was the last one to go through the resume
cycle.

Linus
-
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/