Re: Voyager subarchitecture for 2.5.46

john stultz (johnstul@us.ibm.com)
05 Nov 2002 18:31:04 -0800


On Tue, 2002-11-05 at 16:35, J.E.J. Bottomley wrote:
> It includes the boot GDT stuff, added configuration options for the
> kernel/timers directory so that things which can't maintain a TSC can turn it
> off at compile time.

Just a few comments on the CONFIG_X86_TSC changes:

> diff -Nru a/arch/i386/Kconfig b/arch/i386/Kconfig
> --- a/arch/i386/Kconfig Tue Nov 5 15:35:01 2002
> +++ b/arch/i386/Kconfig Tue Nov 5 15:35:01 2002
> @@ -1636,17 +1649,32 @@
>
> source "lib/Kconfig"
>
> +config X86_TSC
> + bool
> + depends on !VOYAGER && (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMIII || M686 || M586MMX || M586TSC)
> + default y
> +
> +config X86_PIT
> + bool
> + depends on M386 || M486 || M586 || M586TSC || VOYAGER
> + default y
> +

I'm fine w/ the X86_TSC change, but I'd drop the X86_PIT for now.

Then make the arch/i386/timers/Makefile change to be something like:

obj-y := timer.o timer_tsc.o timer_pit.o
obj-$(CONFIG_X86_TSC) -= timer_pit.o #does this(-=) work?
obj-$(CONFIG_X86_CYCYLONE) += timer_cyclone.o

Then when you boot, boot w/ notsc and you should be fine.

I do want to add some sort of TSC blacklisting so one doesn't always
have to boot w/ notsc if your machine is
detectable/compiled-exclusively= for. But I've got a few other issues in
the queue first.

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/