lkml.org 
[lkml]   [2002]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Voyager subarchitecture for 2.5.46
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> > What I need is an option simply not to compile in the TSC code and use the PIT
> > instead. What I'm trying to do with the TSC and PIT options is give three
> > choices:
> >
> > 1. Don't use TSC (don't compile TSC code): X86_TSC=n, X86_PIT=y
> >
> > 2. May use TSC but check first (blacklist, notsc kernel option). X86_TSC=y,
> > X86_PIT=y
> >
> > 3. TSC is always OK so don't need PIT. X86_TSC=y, X86_PIT=n
>
> [Plus we need X86_CYCLONE and we may need X86_SOMETHING else for some
> pending stuff]

Yes, for example the NatSemi SC2200 has a 32+1 bit "High Resolution
Timer" that can be clocked either at 1MHz or 27MHz and that can
generate an interrupt whenever it wraps around.

Just using the High Resolution timer would avoid the known problems
with the TSC (stops on HLT, a bug when the low 32 bits of the TSC wrap
around) and the PIT (something somewhere, maybe SMM mode, seems to
mess upp the latch values).

/Christer

--
"Just how much can I get away with and still go to heaven?"

Freelance consultant specializing in device driver programming for Linux
Christer Weinigel <christer@weinigel.se> http://www.weinigel.se
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2011 Jasper Spaans