Re: [PATCH] tsc-disable_B9

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Aug 09 2002 - 04:17:45 EST


On Fri, 2002-08-09 at 03:30, john stultz wrote:
> Not sure I followed that, do you mean per-cpu TSC management for
> gettimeofday?

We have some x86 setups where people plug say a 300MHhz and a 450MHz
celeron into the same board. This works because they are same FSB,
different multiplier (works and intel certify being two different
things)

Needless to say tsc does not work well on such boxes. Thats why I don't
trust the tsc at all in such cases. Since you'll have the nice cyclone
timer for the Summit it seems best not to trust it, and on the summit to
use the cyclone for udelay as well ?

I agree dodgy_tsc needs to change name. Perhaps we actually want

        int tsc = select_tsc();

        switch(tsc)
        {
                case TSC_CYCLONE:
                case TSC_PROCESSOR:
                case TSC_NONE:
                ..
        }

Alan

-
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/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:18 EST