Re: [Oops] apic, smp and k6

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Nov 27 2000 - 09:52:51 EST


> while now with an appropriate patch. Now Christoph Hellwig has identifi=
> ed a
> simpler solution (updated for -test11 by me):
>
> --- linux/arch/i386/kernel/setup.c~ Fri Jul 7 04:42:06 2000
> +++ linux/arch/i386/kernel/setup.c Tue Jul 18 19:22:48 2000
> @@ -785,7 +785,8 @@
> /*
> * get boot-time SMP configuration:
> */
> - if (smp_found_config)
> + if (smp_found_config && /* try only if the cpu has a local apic */
> + test_bit(X86_FEATURE_APIC, boot_cpu_data.x86_capability))
> get_smp_config();

This patch unfortunately does break some real setups, since it is legal to
have non APIC on the CPU but an APIC as an addon chip.

> I think Alan has a similar thing in his test11-ac* series.

Maciej Rozycki provided a much better test, that from reports so far seems
to be working

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



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:17 EST