public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Arun Thomas <arun.thomas@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Jiri Slaby <jirislaby@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: PROBLEM: E6850 has an 8+ minute delay during boot
Date: Fri, 14 Dec 2007 16:38:58 -0800	[thread overview]
Message-ID: <47632222.4030008@zytor.com> (raw)
In-Reply-To: <9a8cbed90712141600l1a867da0uc7027e502575a7a6@mail.gmail.com>

Arun Thomas wrote:
> On Dec 14, 2007 2:01 PM, H. Peter Anvin <hpa@zytor.com> wrote:
>> Thomas Gleixner wrote:
>>> The problem is caused by an SMI during the calibration routine. We
>>> really need to come up with a solid solution which does not rely on
>>> the periodic timer coming in, when there is something else (HPET,
>>> pm_timer) available.
>> How long is the SMI?
> 
> Is there some instrumentation code somewhere which would allow me to
> determine this? If not, can you give me some hints on where to add the
> instrumentation code?

Well, the most obvious way to do it would be to run the calibration loop 
a large number of times, and observe the statistical variation.  In 
particular, one should see a bi- or multimodal pattern where the 
difference between the peaks amount to the "lost time".

When we have a clue about the loss of time then we can figure out how to 
detect it.

	-hpa

  reply	other threads:[~2007-12-15  0:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14  9:10 PROBLEM: E6850 has an 8+ minute delay during boot Arun Thomas
2007-12-14  9:53 ` Andrew Morton
2007-12-14 10:01   ` Arun Thomas
2007-12-14 10:18     ` Jiri Slaby
2007-12-14 10:43       ` Thomas Gleixner
2007-12-14 11:15         ` Arun Thomas
2007-12-14 14:44         ` Mark Lord
2007-12-14 19:01         ` H. Peter Anvin
2007-12-15  0:00           ` Arun Thomas
2007-12-15  0:38             ` H. Peter Anvin [this message]
2007-12-14 14:38 ` Mark Lord
2007-12-15  6:07 ` Len Brown
2007-12-16  5:38   ` Arun Thomas

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=47632222.4030008@zytor.com \
    --to=hpa@zytor.com \
    --cc=akpm@linux-foundation.org \
    --cc=arun.thomas@gmail.com \
    --cc=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --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