From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Paul Collins <paul@burly.ondioline.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Kernel Testers List <kernel-testers@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>
Subject: Re: [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended)
Date: Mon, 23 Feb 2009 07:46:32 +1100 [thread overview]
Message-ID: <1235335592.8805.214.camel@pasglop> (raw)
In-Reply-To: <alpine.LFD.2.00.0902222026410.3523@localhost.localdomain>
On Sun, 2009-02-22 at 20:31 +0100, Thomas Gleixner wrote:
> We had problems in the past where we just returned frozen time and the
> calling code got surprised when the time jumped 5 hours ahead just a
> few microseconds later.
>
> What I find more fishy is the fact that the lid switch needs to be a
> sysdev. It's a simple input event, which causes the user space code to
> trigger the suspend sequence when the lid is shut.
>
Well, the PMU is a sysdev for lots of good reasons.. then it -also-
happens to provide us with the lid switch event.
I'm a bit surprised by the explanation about the code that is surprised
to see the time jump. IE. Code -will- see the time jump anyway. IE. I
don't see how making gtod blow instead of returning a frozen time will
make any difference whatsoever for code who get the time some time
before suspend and then some time after resume and see a 5 hours gap...
Cheers,
Ben.
next prev parent reply other threads:[~2009-02-22 20:47 UTC|newest]
Thread overview: 111+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 19:05 2.6.29-rc4: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-02-08 19:06 ` [Bug #12414] iwl4965 cannot use "ap auto" on latest 2.6.28/29? Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12418] Repeated ioctl(4, 0x40046445, ..) loop in glxgears Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12415] WARNING: at drivers/net/wireless/iwlwifi/iwl-sta.c:689 Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12441] Xorg can't use dri on radeon X1950 AGP Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12419] possible circular locking dependency on i915 dma Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12490] ath5k related kernel panic in 2.6.29-rc1 Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12491] i915 lockdep warning Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12444] X hangs following switch from radeonfb console - Bisected Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12496] swsusp cannot find resume device (sometimes) Rafael J. Wysocki
2009-02-09 0:38 ` Arjan van de Ven
2009-02-09 2:27 ` Greg KH
2009-02-09 23:46 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12494] Sony backlight regression from 2.6.28 to 29-rc Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12497] new barrier warnings in 2.6.29-rc1 Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12503] [slab corruption] BUG key_jar: Poison overwritten Rafael J. Wysocki
2009-02-08 22:12 ` Ingo Molnar
2009-02-09 0:40 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12499] Problem with using bluetooth adaper connected to usb port Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12502] pipe_read oops on sh Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12501] build bug in eeepc-laptop.c Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12510] 2.6.29-rc2 dies on startup Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12571] Suspend-resume on Dell Latitude D410 newly broken in 2.6.29-rc* Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12551] end_request: I/O error, dev cciss/c0d0, sector 87435720 Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12508] "powerpc/pci: Reserve legacy regions on PCI" broke my G3 Rafael J. Wysocki
2009-02-08 23:38 ` Mikael Pettersson
2009-02-09 0:39 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12600] i915 lockdep warning Rafael J. Wysocki
2009-02-09 1:12 ` Roland Dreier
2009-02-09 17:21 ` Bob Copeland
2009-02-08 19:21 ` [Bug #12604] Commit 31a12666d8f0c22235297e1c1575f82061480029 slows down Berkeley DB Rafael J. Wysocki
2009-02-10 16:28 ` Jan Kara
2009-02-12 1:47 ` Nick Piggin
2009-02-12 2:02 ` Linus Torvalds
2009-02-12 3:34 ` Nick Piggin
2009-02-12 14:32 ` Jan Kara
2009-02-14 14:29 ` Theodore Tso
2009-02-14 19:53 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12574] possible circular locking dependency detected Rafael J. Wysocki
2009-02-09 13:59 ` Michael S. Tsirkin
2009-02-10 22:37 ` Michael S. Tsirkin
2009-02-10 22:41 ` Eric Anholt
2009-02-11 7:10 ` Thomas Hellström
2009-02-08 19:21 ` [Bug #12608] 2.6.29-rc powerpc G5 Xorg legacy_mem regression Rafael J. Wysocki
2009-02-09 10:24 ` Hugh Dickins
2009-02-08 19:21 ` [Bug #12606] fb_mmap: circular locking dependency on hibernation Rafael J. Wysocki
2009-02-08 22:00 ` Andrea Righi
2009-02-08 22:06 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12610] sync-Regression in 2.6.28.2? Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12609] v2.6.29-rc2 libata sff 32bit PIO regression Rafael J. Wysocki
2009-02-09 10:25 ` Hugh Dickins
2009-02-08 19:21 ` [Bug #12613] [Suspend regression][DRM, RADEON] Rafael J. Wysocki
2009-02-08 22:07 ` etienne
2009-02-08 22:11 ` Rafael J. Wysocki
2009-02-09 2:26 ` Dave Airlie
2009-02-09 18:08 ` etienne
2009-02-09 19:31 ` etienne
2009-02-09 5:50 ` Soeren Sonnenburg
2009-02-08 19:21 ` [Bug #12615] boot hangs while bringing up gianfar ethernet Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12617] unable to compile e100 firmware into kernel Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12650] Strange load average and ksoftirqd behavior with 2.6.29-rc2-git1 Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12656] iwl3945 broken after hibernation: Wait for START_ALIVE timeout after 2000ms Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12649] Early crash with 2.6.29-rc3 Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12618] hackbench [pthread mode] regression " Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12661] commit 64ff3b938ec6782e6585a83d5459b98b0c3f6eb8 breaks rlogin Rafael J. Wysocki
2009-02-09 4:23 ` Herbert Xu
2009-02-14 22:35 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12660] Linux 2.6.28.3 freezing on a 32-bits x86 Thinkpad T43p Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12659] Failure to resume two Sandisk USB flash drives attached to a Belkin USB Busport Mobile (F5U022) Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12662] linux 2.6.29-rc3 kernel failure with mptsas Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12668] USB flash disk surprise disconnect Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-02-09 7:53 ` Paul Collins
2009-02-09 9:18 ` Ingo Molnar
2009-02-14 22:42 ` Rafael J. Wysocki
2009-02-16 7:17 ` Paul Collins
2009-02-16 9:10 ` Benjamin Herrenschmidt
2009-02-16 10:47 ` Paul Collins
2009-02-19 8:27 ` Paul Collins
2009-02-19 8:38 ` Benjamin Herrenschmidt
2009-02-19 13:00 ` Rafael J. Wysocki
2009-02-19 21:47 ` Benjamin Herrenschmidt
2009-02-19 22:08 ` Rafael J. Wysocki
2009-02-19 20:17 ` Thomas Gleixner
2009-02-19 21:23 ` Rafael J. Wysocki
2009-02-19 21:51 ` Benjamin Herrenschmidt
2009-02-22 19:31 ` Thomas Gleixner
2009-02-22 20:46 ` Benjamin Herrenschmidt [this message]
2009-02-09 10:32 ` Thomas Gleixner
2009-02-08 19:21 ` [Bug #12663] Commit 8c7e58e690ae60ab4215b025f433ed4af261e103 breaks resume Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12666] Build failure with latest -git: btrfs on ppc64 Rafael J. Wysocki
2009-02-08 21:53 ` Kyle McMartin
2009-02-08 22:08 ` Rafael J. Wysocki
2009-02-10 20:00 ` Chuck Ebbert
2009-02-08 19:21 ` [Bug #12664] viafb triggers BUG at mm/vmalloc.c:294 Rafael J. Wysocki
2009-02-09 10:17 ` wixor
2009-02-14 22:39 ` Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12671] uvc_status_cleanup(): undefined reference to `input_unregister_device' Rafael J. Wysocki
2009-02-08 19:21 ` [Bug #12669] 2.6.28.4 regression: mmap fails if mlockall used Rafael J. Wysocki
2009-02-09 10:32 ` Hugh Dickins
2009-02-08 19:21 ` [Bug #12670] BUG: unable to handle kernel paging request at pin_to_kill+0x21 Rafael J. Wysocki
2009-02-08 21:55 ` 2.6.29-rc4: Reported regressions from 2.6.28 Linus Torvalds
2009-02-08 22:04 ` Rafael J. Wysocki
2009-02-08 21:57 ` [linux-pm] " Alan Stern
2009-02-09 0:43 ` Rafael J. Wysocki
2009-02-09 7:36 ` Stefan Richter
-- strict thread matches above, loose matches on Subject: below --
2009-02-23 21:45 2.6.29-rc6: " Rafael J. Wysocki
2009-02-23 21:48 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-03-03 19:22 2.6.29-rc6-git7: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-03 19:25 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-03-14 19:01 2.6.29-rc8: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-14 19:05 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-03-21 16:28 2.6.29-rc8-git5: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-03-21 16:39 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
2009-04-06 18:54 2.6.29-git13: Reported regressions from 2.6.28 Rafael J. Wysocki
2009-04-06 19:05 ` [Bug #12667] Badness at kernel/time/timekeeping.c:98 in pmud (timekeeping_suspended) Rafael J. Wysocki
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=1235335592.8805.214.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paul@burly.ondioline.org \
--cc=rjw@sisk.pl \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).