Re: [PATCH RFC] x86: check for and defend against BIOS memory corruption

From: RafaÅ MiÅecki
Date: Fri Aug 29 2008 - 12:31:09 EST


2008/8/29 Hugh Dickins <hugh@xxxxxxxxxxx>:
> On Fri, 29 Aug 2008, Alan Jenkins wrote:
>> RafaÅ MiÅecki wrote:
>> >
>> > I tried your patch anyway (after applying Jeremy's patch of course)
>> > and it doesn't seem to work. The only output is:
>> > scanning 2 areas for BIOS corruption
>> > after using s2ram. I do not get any
>> > Corrupted low memory at*
>> >
>> It seemed to work for me. Did you remember to plug HDMI to trigger the
>> corruption before you used s2ram?
>
> I hope that's what got missed.

Ah, stupid mistake, sorry! Indeed, using HDMI and s2ram later works fine:

Corrupted low memory at ffff88000000be98 (be98 phys) = b02a000400000000
[<ffffffff8020fc9c>] check_for_bios_corruption+0x94/0xa0

--
RafaÅ MiÅecki
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—