Re: [PATCH v2 2/6] x86, mm, pat: Change reserve_memtype() to handle WT

From: Andy Lutomirski
Date: Wed Sep 10 2014 - 16:31:53 EST


On Wed, Sep 10, 2014 at 1:14 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 09/10/2014 12:30 PM, Toshi Kani wrote:
>>
>> When WT is unavailable due to the PAT errata, it does not fail but gets
>> redirected to UC-. Similarly, when PAT is disabled, WT gets redirected
>> to UC- as well.
>>
>
> But on pre-PAT hardware you can still do WT.
>

Using MTRRs? /me shudders, although I suppose this would be okay for
NV-DIMMs as long as you map the whole thing WT.

One of these days I'll finish excising mtrr_add from everything
outside arch/x86. I already killed it in all modern graphics drivers
:)

--Andy



> -hpa
>



--
Andy Lutomirski
AMA Capital Management, LLC
--
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/