public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* high resolution timer on ia64
@ 2004-08-27 22:04 kallol
  2004-08-27 22:26 ` Grant Grundler
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kallol @ 2004-08-27 22:04 UTC (permalink / raw)
  To: linux-ia64

Hello,
           Is there an official patch for high resolution timer support on IA64?     There is a 
sourceforge project on high resolution timers but it looks like that it is for i386 architecture.

Kallol Biswas
--
NucleoDyne Systems Inc.
kallol@nucleodyne.com
www.nucleodyne.com
Phone: 408-718-8164
Fax:408-732-2284

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: high resolution timer on ia64
  2004-08-27 22:04 high resolution timer on ia64 kallol
@ 2004-08-27 22:26 ` Grant Grundler
  2004-08-27 22:48 ` Grant Grundler
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Grant Grundler @ 2004-08-27 22:26 UTC (permalink / raw)
  To: linux-ia64

On Fri, Aug 27, 2004 at 10:04:30PM +0000, kallol@comcast.net wrote:
> Hello,
>            Is there an official patch for high resolution timer support
> on IA64?

Does CONFIG_HPET cover what you need?
That's already included in the 2.6.8.1 kernels.

| HPET - High Precision Event Timer (HPET) [N/y/?] (NEW) ?
| 
| If you say Y here, you will have a miscdevice named "/dev/hpet/".  Each
| open selects one of the timers supported by the HPET.  The timers are
| non-periodioc and/or periodic.

hth,
grant

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: high resolution timer on ia64
  2004-08-27 22:04 high resolution timer on ia64 kallol
  2004-08-27 22:26 ` Grant Grundler
@ 2004-08-27 22:48 ` Grant Grundler
  2004-08-27 23:13 ` Bjorn Helgaas
  2004-08-27 23:23 ` Christoph Lameter
  3 siblings, 0 replies; 5+ messages in thread
From: Grant Grundler @ 2004-08-27 22:48 UTC (permalink / raw)
  To: linux-ia64

On Fri, Aug 27, 2004 at 03:26:52PM -0700, Grant Grundler wrote:
> Does CONFIG_HPET cover what you need?
> That's already included in the 2.6.8.1 kernels.

Looks like I spoke too soon...

grant

...
  CC      drivers/char/hpet.o
drivers/char/hpet.c:669: error: `MC' undeclared here (not in a function)
drivers/char/hpet.c:669: error: initializer element is not constant
drivers/char/hpet.c:669: error: (near initialization for `hpet_interpolator.addr')
drivers/char/hpet.c: In function `hpet_init':
drivers/char/hpet.c:944: error: `hpet_cycles_per_sec' undeclared (first use in this function)
drivers/char/hpet.c:944: error: (Each undeclared identifier is reported only once
drivers/char/hpet.c:944: error: for each function it appears in.)
drivers/char/hpet.c:948: error: `hpet_nsecs_per_cycle' undeclared (first use in this function)
make[2]: *** [drivers/char/hpet.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
grundler@gsyprf3:/usr/src/linux-ia64-test-2.6.8.1$ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: high resolution timer on ia64
  2004-08-27 22:04 high resolution timer on ia64 kallol
  2004-08-27 22:26 ` Grant Grundler
  2004-08-27 22:48 ` Grant Grundler
@ 2004-08-27 23:13 ` Bjorn Helgaas
  2004-08-27 23:23 ` Christoph Lameter
  3 siblings, 0 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2004-08-27 23:13 UTC (permalink / raw)
  To: linux-ia64

On Friday 27 August 2004 4:48 pm, Grant Grundler wrote:
> On Fri, Aug 27, 2004 at 03:26:52PM -0700, Grant Grundler wrote:
> > Does CONFIG_HPET cover what you need?
> > That's already included in the 2.6.8.1 kernels.

I suspect HPET isn't what Kallol is looking for, but it should at least
build on ia64.  I recently debugged a firmware problem related to the
HPET, so I've at least run the driver probe code.

> Looks like I spoke too soon...
> 
> grant
> 
> ...
>   CC      drivers/char/hpet.o
> drivers/char/hpet.c:669: error: `MC' undeclared here (not in a function)
> drivers/char/hpet.c:669: error: initializer element is not constant
> drivers/char/hpet.c:669: error: (near initialization for `hpet_interpolator.addr')
> drivers/char/hpet.c: In function `hpet_init':
> drivers/char/hpet.c:944: error: `hpet_cycles_per_sec' undeclared (first use in this function)
> drivers/char/hpet.c:944: error: (Each undeclared identifier is reported only once
> drivers/char/hpet.c:944: error: for each function it appears in.)
> drivers/char/hpet.c:948: error: `hpet_nsecs_per_cycle' undeclared (first use in this function)
> make[2]: *** [drivers/char/hpet.o] Error 1
> make[1]: *** [drivers/char] Error 2
> make: *** [drivers] Error 2
> grundler@gsyprf3:/usr/src/linux-ia64-test-2.6.8.1$ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: high resolution timer on ia64
  2004-08-27 22:04 high resolution timer on ia64 kallol
                   ` (2 preceding siblings ...)
  2004-08-27 23:13 ` Bjorn Helgaas
@ 2004-08-27 23:23 ` Christoph Lameter
  3 siblings, 0 replies; 5+ messages in thread
From: Christoph Lameter @ 2004-08-27 23:23 UTC (permalink / raw)
  To: linux-ia64

Patches in Tony Luckes tree contain a high resolution implementation of
the system timer and provides nanosecond resolution. See my earlier
posts/patches on this mailing list. Also look at the existing
CONFIG_TIME_INTERPOLATOR option in the kernel source.

On Fri, 27 Aug 2004 kallol@comcast.net wrote:

> Hello,
>            Is there an official patch for high resolution timer support on IA64?     There is a
> sourceforge project on high resolution timers but it looks like that it is for i386 architecture.
>
> Kallol Biswas
> --
> NucleoDyne Systems Inc.
> kallol@nucleodyne.com
> www.nucleodyne.com
> Phone: 408-718-8164
> Fax:408-732-2284
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-08-27 23:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-27 22:04 high resolution timer on ia64 kallol
2004-08-27 22:26 ` Grant Grundler
2004-08-27 22:48 ` Grant Grundler
2004-08-27 23:13 ` Bjorn Helgaas
2004-08-27 23:23 ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox