Re: x86 timer clean ups

john stultz (johnstul@us.ibm.com)
18 Oct 2002 14:37:25 -0700


> I need a flag for the TSC stuff that allows me to turn it off completely
> (the
> voyagers run CPUs from physically different clocks, and TSC drift causes
> huge
> jitters in this case).
>
> How about two compile options:
>
> CONFIG_X86_TSC meaning check for TSC and use it if it's OK
> CONFIG_X86_PIT meaning use the PIT timer if the TSC isn't OK (or isn't
> wanted)

Hmmm. I was thinking of possibly doing something similar to the 2.4
CONFIG_X86_HAS_TSC and CONFGI_X86_TSC_DISABLE, but I believe Linus
wasn't super happy about negative config options. You're usage sounds
reasonable, but since this is a cleanup item, do you mind if we both
look at the issue a bit more next week?

> P.S. what about this CONFIG_X86_CYCLONE thing? It doesn't seem to be
> hooked
> into the timer infrastructure, should it be?

Not right this second. I'm waiting for the summit subarch code to
stabilize, then I'll hook it in correctly.

thanks
-john

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/