MTRR test fail

Alex Hung alex.hung at canonical.com
Wed May 2 21:24:50 UTC 2018


Alternatively, you can have firmware to set
​
0xb5000000 to 0xb5ffffff as cachable in a MTRR register to make sure it is
always cached.

On Wed, May 2, 2018 at 12:54 PM, Alex Hung <alex.hung at canonical.com> wrote:

> Hi Clifton,
>
> CPU's Cache is complex. FWTS checks various places that is known to OS but
> it seems that there are CPU registers FWTS is unable to check.
>
> Especially, FWTS is not able to check CR0 register in Intel's CPU. This
> register has a global switch for cache - CD & NW (see details @ Intel® 64
> and IA-32 Architectures Software Developer’s Manual 3) or
> https://github.com/seporaitis/xv6-public/wiki/CPU-Registers-CR0). If CD &
> NW are correctly configured, you can ignore FWTS's MTRR error messages.
>
> On Fri, Apr 27, 2018 at 2:17 AM, Clifton Lai <CliftonL at hyvesolutions.com>
> wrote:
>
>> Hi Fwts developers
>>
>>
>>
>> When running mtrr test via fwts-live 18.03.00, the result.log always
>> shows “failed”.
>>
>> Here is output
>>
>> “FAILED [MEDIUM] MTRRIncorrectAttr: Test 1, Memory range
>> ​​
>> 0xb5000000 to 0xb5ffffff
>>
>> (0000:3d:00.1) has incorrect attribute Uncached.”
>>
>>
>>
>> According to the wiki page, https://wiki.ubuntu.com/Firmwa
>> reTestSuite/Reference/mtrr,
>>
>> adding kernel parameter "enable_mtrr_cleanup" to run mtrr test again, it
>> still fail the test.
>>
>>
>>
>> Is there any method to solve this issue?
>>
>>
>>
>> Thanks
>>
>>
>>
>> Best Regards
>>
>> Clifton
>>
>>
>>
>> CliftonL at hyvesolutions.com
>>
>> *[image: 1]*
>>
>>
>>
>> --
>> fwts-devel mailing list
>> fwts-devel at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/fwts-devel
>>
>>
>
>
> --
> Cheers,
> Alex Hung
>



-- 
Cheers,
Alex Hung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20180502/93b8944d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20180502/93b8944d/attachment-0001.png>


More information about the fwts-devel mailing list