lkml.org 
[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: trim ram need to check if mtrr is there v3
Ingo Molnar wrote:
> * Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:
>
>
>> [PATCH] x86: trim ram need to check if mtrr is there v3
>>
>
>
>>> H. Peter Anvin wrote:
>>> Looks like the code doesn't check that the CPU *has* MTRRs...
>>>
>> so more strict check if mtrr is there really.
>> bail out if mtrr all blank when qemu cpu model is used
>>
>> and check if is AMD as early
>> also remove 4G less check, according to hpa.
>>
>
> thanks, applied. Shouldnt we put in an exception for when there is MTRR
> support, but they dont cover anything. Still emit a warning - but
> booting up real slow is still better than losing all of RAM and crashing
> ...
>
> i also updated the messages, they now go like this:
>
> WARNING: strange, CPU MTRRs all blank?
>
> and:
>
> WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing 45MB of RAM.
>

Though I don't see this form of message; have you pushed your changes
out to the public x86.git#mm tree?

J


\
 
 \ /
  Last update: 2008-01-25 20:01    [W:0.768 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site