Re: [RFC 5/6] x86, NMI, Add support to notify hardware error with unknown NMI

Valdis.Kletnieks
2010-09-13T21:25:48Z

[-- Attachment #1: Type: text/plain, Size: 885 bytes --]

On Mon, 13 Sep 2010 22:49:52 +0200, Andi Kleen said:

> > > That's already supported in MCE -- saving the error record to NVRAM
> > > and logging it after reboot. NMI should probably do the same.
> > > It's much nicer than getting it from a console.
> >
> > Hmm, that assumes these boxes have NVRAM. I am not sure if many of
> > the boxes I see with problems have NVRAM on them.
>
> Practically every PC has a small amount of NVRAM.

The big question is how much NVRAM the PC has that is safe for our NMI code to
hijack/borrow across the reboot without scrogging something that the BIOS has
squirreled away in there. I recall one patch that saved progress indicators during
early boot or something - but at the expense of stomping on the saved clock
settings or whatever so you rebooted and then you knew where your previos boot
wedged, but your system thought it was 1970 again.

[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]