public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Grundler <iod00d@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] [patch] 2.4 timer_interrupt/gettimeoffset machvec
Date: Wed, 09 Apr 2003 18:43:15 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723705451@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590723705438@msgid-missing>

On Wed, Apr 09, 2003 at 10:53:20AM -0700, David Mosberger wrote:
> Also, I think this should be treated much more as a driver issue rather
> than a platform-issue

In general, I like the idea.  It's really three peices of HW
involved: the RTC, the interval timer, and high resolution support.

The RTC is/has a driver in most cases it seems.

The interval timer gets started very early (bogomips) by
arch code. A seperate driver could work here which "claims"
the (per CPU) interval timer, registers the timer interrupt
handler, and syncronizes the multiple timers. But someone would
need to unravel dependencies and fix the init sequence accordingly.
Sounds like a pretty ugly task.

(Occasionally I try to figure out a timer problem that shows up on some
SMP parisc-linux boxes and then give up in the morass of interactions.)

The high resolution support is typically based on a cycle counter
in the CPU - very arch specific. But that probably doesn't need
to change (much) or become a driver.

> (suppose someone plugged in an adapter card providing a
> low-latency, atomic accurracy & high precision lock, you'd presumably
> want to be able to use that card in favor of whatever other hardware
> might be there.

yup.

thanks,
grant


  parent reply	other threads:[~2003-04-09 18:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-08 20:35 [Linux-ia64] [patch] 2.4 timer_interrupt/gettimeoffset machvec Jes Sorensen
2003-04-08 21:41 ` David Mosberger
2003-04-08 21:49 ` Jesse Barnes
2003-04-09 17:53 ` David Mosberger
2003-04-09 18:43 ` Grant Grundler [this message]
2003-04-14 23:22 ` Jesse Barnes
2003-04-17 23:02 ` Jes Sorensen
2003-04-17 23:43 ` David Mosberger
2003-04-18  0:00 ` Jes Sorensen
2003-04-18  1:21 ` Jes Sorensen

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=marc-linux-ia64-105590723705451@msgid-missing \
    --to=iod00d@hp.com \
    --cc=linux-ia64@vger.kernel.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