Re: F00F...

Thomas Bogendoerfer (tsbogend@alpha.franken.de)
Wed, 2 Sep 1998 18:24:08 +0200


On Wed, Sep 02, 1998 at 10:33:40PM +1000, Richard Gooch wrote:
> Petr Vandrovec Ing. VTEI writes:
> > Hello,
> > I think that followig patch can help those who have SMP kernel
> > and F00F Pentium and new kernels does not show it in cpuinfo.
> > Problem is that check_bugs is called after processors are started
> > and it is not good idea. I've tested in only on UNI motherboard,
> > but I think that this must work. Patch is against 2.1.120pre3.
>
> IIRC, check_bugs() was moved to after smp_begin() for some reason. So
> your patch may break something again.

yes, it will break P5 SMP boxes, because check_bugs() makes the interrupt
vector table read only. smp_begin() doesn't like this, when setting up io-apic,
because it needs to change the interrupt vector table.

The order has been this way for a long time, but got changed in 2.1.112 and
changed back in 2.1.115, because of the P5 SMP problems.

Thomas.

-- 
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
                   [Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]

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