Re: [PATCH][RFC] exception processing in early boot

From: Willy Tarreau
Date: Wed Aug 30 2006 - 15:21:39 EST


On Wed, Aug 30, 2006 at 08:26:05PM +0200, Andi Kleen wrote:
> On Wednesday 30 August 2006 20:21, pageexec@xxxxxxxxxxx wrote:
> > On 30 Aug 2006 at 19:52, Andi Kleen wrote:
> > > On Wednesday 30 August 2006 19:33, pageexec@xxxxxxxxxxx wrote:
> >
> > > > > But I went with the simpler patch with some changes now
> > > > > (added PANIC to the message etc.)
> > > >
> > > > can you post it please?
> > >
> > > ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/i386-early-exception
> >
> > thanks, although i suggest you put back the hlt as Dick Johnson explained it.
>
> Unless someone can confirm there were not other problems on those 386s/486s
> in HLT no.

Andi, if you remove the HLT here, some CPUs will spin at full speed. This
is nasty during boot because some of them might not have enabled their
fans yet for instance and could fry if nobody's looking (eg: live reset
caused by hardware problem). Even if HLT does not work on some CPUs,
the JMP after it will spin around it and the initial goal will be achieved.

Regards,
Willy

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