All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@oss.sgi.com>
To: Jun Sun <jsun@mvista.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: calibrating MIPS counter frequency
Date: Fri, 30 Nov 2001 02:02:40 +1100	[thread overview]
Message-ID: <20011130020240.F638@dea.linux-mips.net> (raw)
In-Reply-To: <3C05646B.51BF79FB@mvista.com>; from jsun@mvista.com on Wed, Nov 28, 2001 at 02:25:47PM -0800

On Wed, Nov 28, 2001 at 02:25:47PM -0800, Jun Sun wrote:

> In the future, I think mips counter frequency really should go to mips_cpu
> structure.  If we always know the counter frequency, either by board setup
> routine or runtime calibration, we can get rid of the gettimeoffset
> calibration routines.

Better stick with the calibration procedure.  The crystal oscilators used
in most computer systems don't provide the high accuracy of frequency
that is required to keep the clock accurately over long time.  An RTC
chip which you'd probably use as reference clock is better at that so
should be used as the ultimate reference time in the kernel.

  Ralf

  reply	other threads:[~2001-11-29 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-28 22:25 calibrating MIPS counter frequency Jun Sun
2001-11-29 15:02 ` Ralf Baechle [this message]
2001-11-29 15:21   ` Maciej W. Rozycki
2001-11-29 15:34     ` Alan Cox
2001-11-29 15:34       ` Alan Cox
2001-11-29 15:59     ` Ralf Baechle
2001-11-29 18:17   ` Jun Sun

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=20011130020240.F638@dea.linux-mips.net \
    --to=ralf@oss.sgi.com \
    --cc=jsun@mvista.com \
    --cc=linux-mips@oss.sgi.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.