Re: [PATCH 4/6] x86/mtrr: don't let mtrr_type_lookup() return MTRR_TYPE_INVALID
From: Linus Torvalds
Date: Wed Feb 08 2023 - 10:42:44 EST
On Tue, Feb 7, 2023 at 10:20 PM Juergen Gross <jgross@xxxxxxxx> wrote:
>
> Are you sure? In the SDM I'm reading:
>
> * E (MTRRs enabled) flag, bit 11 — MTRRs are enabled when set; all MTRRs are
> disabled when clear, and the UC memory type is applied to all of physical
> memory.
>
> So UC it should be IMHO.
Right you are. I clearly misread that section when I did my original patch.
Linus