mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: CONFIG_PM_TRACE corrupts RTC
Date: Mon, 26 Jun 2006 09:14:13 -0700	[thread overview]
Message-ID: <20060626091413.a15df2e0.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0606260851000.3747@g5.osdl.org>

On Mon, 26 Jun 2006 08:52:57 -0700 (PDT)
Linus Torvalds <torvalds@osdl.org> wrote:

> On Sun, 25 Jun 2006, Andrew Morton wrote:
> > 
> > On a Sony Vaio, after a suspend-to-disk and a resume, `hwclock' says
> > 
> >   The Hardware Clock registers contain values that are either invalid
> >   (e.g.  50th day of month) or beyond the range we can handle (e.g.  Year
> >   2095).
> > 
> > and after a reboot the machine takes a trip back to 1969.  Setting
> > CONFIG_PM_TRACE=n prevents this.
> 
> That's how it works. It's by design. The RTC is where the trace events are 
> stored, since that's the only piece of hw that reliably survives a reboot.

Oh, I thought it found some spare space in there somehow.

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

  reply	other threads:[~2006-06-26 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26  6:23 Andrew Morton
2006-06-26 15:52 ` Linus Torvalds
2006-06-26 16:14   ` Andrew Morton [this message]
2006-06-26 16:30     ` Linus Torvalds
2006-06-27 22:48       ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060626091413.a15df2e0.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®