RE: [PATCHSET][2.6-test4][0/6]Support for HPET based timer - Take 2

Pallipadi, Venkatesh
2003-08-29T16:12:58Z

The part of the patch that does the HPET initialization for timer
interrupt, and general HPET registers read/write/programming can be
common across architectures.
However, different archs diverge, when it comes to gettimeofday-timer
implementation (tsc, pit, itc, hpet, ) and we may still have to keep
that part architecture specific.

Thanks,
Venkatesh

> -----Original Message-----
> From: David Mosberger-Tang [mailto:David.Mosberger@acm.org]
> Sent: Thursday, August 28, 2003 8:41 PM
> To: Pallipadi, Venkatesh
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: [PATCHSET][2.6-test4][0/6]Support for HPET based
> timer - Take 2
>
>
> >>>>> On Fri, 29 Aug 2003 01:50:09 +0200, "Pallipadi,
> Venkatesh" <venkatesh.pallipadi@intel.com> said:
>
> Venkatesh> Resending the patch. A major change from previous version
> Venkatesh> is elimination of fixmap for HPET. Based on Andrew
> Venkatesh> Morton's suggestion, we have a new hook in init/main.c
> Venkatesh> for late_time_init(), at which time we can use ioremap,
> Venkatesh> in place of fixmap. Impact on other archs:
> Venkatesh> Calibrate_delay() (and hence loops_per_jiffy calculation)
> Venkatesh> has moved down in main.c, from after time_init() to after
> Venkatesh> kmem_cache_init().
>
> Venkatesh> All comments/feedbacks welcome.
>
> How much is really architecture-specific? HPET isn't x86-only so
> sooner or later, we'll have to move it out of arch/i386 anyhow.
>
> --david
>