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

From: Pallipadi, Venkatesh
Date: Fri Aug 29 2003 - 11:14:02 EST




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@xxxxxxx]
> Sent: Thursday, August 28, 2003 8:41 PM
> To: Pallipadi, Venkatesh
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> 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@xxxxxxxxx> 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
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/