LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de> To: Maxim <maximlevitsky@gmail.com> Cc: Len Brown <lenb@kernel.org>, linux-kernel@vger.kernel.org Subject: Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far Date: Sun, 18 Mar 2007 00:32:54 +0100 [thread overview] Message-ID: <1174174374.13341.448.camel@localhost.localdomain> (raw) In-Reply-To: <200703180100.01889.maximlevitsky@gmail.com> Maxim, On Sun, 2007-03-18 at 01:00 +0200, Maxim wrote: > >Mar 14 00:22:23 MAIN kernel: [ 2.072931] checking TSC synchronization [CPU#0 -> CPU#1]: > >Mar 14 00:22:23 MAIN kernel: [ 2.092922] Measured 72051818872 cycles TSC warp between CPUs, turning off > > ^ This one I don't think is related to NO_HZ, maybe it is hardware > problem, but it exist without NO_HZ The TSC is checked for synchronization between the CPUs. It's nothing to worry about. We switch off the TSC and use a different clocksource. Is this after resume ? If yes, then something (probably BIOS) is fiddling with the TSC of one CPU when the resume happens. > >[ 36.217405] ENABLING IO-APIC IRQs > >[ 36.217587] ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 > >[ 36.433917] APIC timer disabled due to verification failure. > > This one is now discussed, I will look at it and it is not related to NO_HZ I sent a patch for this yesterday: http://marc.info/?l=linux-kernel&m=117408952322631&w=2 > And I forgot to tell about another problem with (now I know ,hi-resolution timers) > That before suspend to ram APIC timer is used and HPET is not used : > > root@MAIN:/home/maxim# cat /sys/devices/system/clockevents/clockevents0/registered > lapic F:0007 M:3(periodic) C: 1 > hpet F:0003 M:1(shutdown) C: 0 > lapic F:0007 M:3(periodic) C: 0 > root@MAIN:/home/maxim# > > But after suspend to ram HPET is 'woken' > > root@MAIN:/home/maxim# cat /sys/devices/system/clockevents/clockevents0/registered > lapic F:0007 M:3(one shoot) C: 1 > hpet F:0003 M:3(one shoot) C: 0 > lapic F:0007 M:3(one shoot) C: 0 This is unrelated to suspend / resume. The local apic timers stop (hardware madness), when the CPU enters C3 power state. In this case we switch to HPET (or PIT when HPET is not available) and broadcast the events via Inter Processor Interrupts. This is nothing to worry about. I'm a bit surprised though, that your system was in periodic mode before suspend and switched to one shot mode on resume. Is this reproducible ? If yes, can you please provide the dmesg output from boot to resume ? > Note that I added those (one shoot), (periodic) descriptions, would be > nice to have them in kernel, can I send a patch ? ;-) Sure, just s/shoot/shot/ :) > and I see average of 18 IRQs/sec on IRQ 0 So dynticks are working as expected. tglx
next prev parent reply other threads:[~2007-03-17 23:26 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-16 10:30 [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far Maxim Levitsky 2007-03-16 23:19 ` Len Brown 2007-03-17 23:00 ` Maxim 2007-03-17 23:32 ` Thomas Gleixner [this message] 2007-12-30 7:50 ` Mike Galbraith 2007-12-30 14:53 ` Ingo Molnar 2007-03-20 11:54 ` sysfs ugly timer interface (was Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far) Pavel Machek 2007-03-22 15:28 ` Greg KH 2007-03-22 15:41 ` Thomas Gleixner 2007-03-23 1:24 ` sysfs q [was: sysfs ugly timer interface] Jan Engelhardt 2007-03-23 4:48 ` Greg KH 2007-03-23 6:05 ` Jan Engelhardt 2007-03-16 23:39 ` [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far Thomas Gleixner 2007-03-17 23:01 ` Maxim 2007-03-16 23:44 ` Thomas Gleixner 2007-03-17 0:04 ` [PATCH] i386: trust the PM-Timer calibration of the local APIC timer Thomas Gleixner 2007-03-17 7:22 ` Ingo Molnar 2007-03-17 13:24 ` Andi Kleen 2007-03-18 8:12 ` Andrew Morton 2007-03-18 8:45 ` Thomas Gleixner 2007-03-17 1:32 ` [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far Len Brown 2007-03-17 9:56 ` Thomas Gleixner 2007-03-17 11:05 ` Thomas Gleixner 2007-03-17 16:52 ` Thomas Gleixner 2007-03-17 10:32 ` Arjan van de Ven 2007-03-17 13:26 ` Andi Kleen 2007-03-20 4:27 ` Greg KH 2007-03-20 6:30 ` Thomas Gleixner 2007-03-20 9:14 ` Arjan van de Ven 2007-03-20 11:36 ` Andi Kleen 2007-03-20 11:41 ` Oliver Neukum 2007-03-17 22:45 ` Maxim 2007-03-20 5:04 ` Lee Revell 2007-03-20 5:36 ` Eric St-Laurent 2007-03-20 9:15 ` Arjan van de Ven 2007-03-20 18:04 ` Andy Lutomirski 2007-03-20 22:58 ` Eric St-Laurent
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=1174174374.13341.448.camel@localhost.localdomain \ --to=tglx@linutronix.de \ --cc=lenb@kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=maximlevitsky@gmail.com \ /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: linkBe 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).