Re: [PATCH 6/6 v6] SGI RTC: add clocksource driver

From: Dimitri Sivanich
Date: Tue Mar 03 2009 - 15:25:23 EST


On Tue, Mar 03, 2009 at 12:01:32PM -0800, john stultz wrote:
> On Tue, 2009-03-03 at 09:22 -0600, Dimitri Sivanich wrote:
> > +
> > +static struct clocksource clocksource_uv = {
> > + .name = RTC_NAME,
> > + .rating = 400,
> > + .read = uv_read_rtc,
> > + .mask = (cycle_t)UVH_RTC_REAL_TIME_CLOCK_MASK,
> > + .shift = 10,
>
>
> What is the expected value for sn_rtc_cycles_per_second ?
>
> I ask because a shift value of 10 seems a bit low. It could very well be
> appropriate, but I just wanted to check.
>

Likely in the range of 20,000,000 - 40,000,000.
--
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/