mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "George Spelvin" <linux@horizon.com>
To: johnstul@us.ibm.com, linux@horizon.com
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, tglx@linutronix.de,
	ulrich.windl@rz.uni-regensburg.de, williams@redhat.com,
	zippel@linux-m68k.org
Subject: Re: [RFC][PATCH] tsc_khz= boot option to avoid TSC calibration variance
Date: 8 May 2009 11:27:06 -0400	[thread overview]
Message-ID: <20090508152706.17300.qmail@science.horizon.com> (raw)
In-Reply-To: <20090508121913.9039.qmail@science.horizon.com>

> I'd suggest the following:

I should add the documentation patch that goes with it:
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 90b3924..6747881 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2391,10 +2391,20 @@ and is between 256 and 4096 characters. It is defined in the file
 
 	tsc=		Disable clocksource-must-verify flag for TSC.
 			Format: <string>
-			[x86] reliable: mark tsc clocksource as reliable, this
-			disables clocksource verification at runtime.
-			Used to enable high-resolution timer mode on older
-			hardware, and in virtualized environment.
+			[x86] if value is "reliable", mark tsc clocksource
+			as reliable.  This disables clocksource verification
+			at runtime.  Used to enable high-resolution timer mode
+			on older hardware, and in virtualized environment.
+
+	tsc_khz=	[x86] Set the TSC freq value.
+			Format: <khz>
+			Used to avoid TSC calibration error.  The TSC frequency
+			is re-measured each boot, and changes by a few parts
+			per hundred thousand each time.  This is noticeable to
+			time synchronization applications like NTP.
+			This option makes it consistent across boots.
+			If the specified value differs from the measured one
+			by more than 0.1%, it is ignored.
 
 	turbografx.map[2|3]=	[HW,JOY]
 			TurboGraFX parallel port interface

  reply	other threads:[~2009-05-08 15:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08  0:30 john stultz
2009-05-08 12:15 ` Ingo Molnar
2009-05-08 15:12   ` George Spelvin
2009-05-08 19:06   ` [RFC][PATCH] tsc_khz= boot option to avoid TSC calibrationvariance john stultz
2009-05-08 12:19 ` [RFC][PATCH] tsc_khz= boot option to avoid TSC calibration variance George Spelvin
2009-05-08 15:27   ` George Spelvin [this message]
2009-05-08 19:02   ` john stultz
2009-05-11  6:54     ` George Spelvin

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=20090508152706.17300.qmail@science.horizon.com \
    --to=linux@horizon.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=ulrich.windl@rz.uni-regensburg.de \
    --cc=williams@redhat.com \
    --cc=zippel@linux-m68k.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®