Re: [PATCH] EFI: Only set regions uncacheable if they support it

From: Matthew Garrett
Date: Thu Mar 15 2012 - 10:54:11 EST


On Thu, Mar 15, 2012 at 07:47:57AM -0700, H. Peter Anvin wrote:

> WTF?! That should be UC at all times... it isn't even WC-capable.
> Furthermore, we may need this region (assuming there is actually a video
> card there.)

I don't think we'll ever use this region on UEFI. What I have from Intel
is:

"It looks like this is happening when the kernel iterates over the
various regions in the EFI memory map. It hits a region starting at
0xA0000 and attempts to do a CLFLUSH instruction on that address. This
is explicitly forbidden by the SAD in (codename), thus the Machine
Check."

> What do the fixed MTRRs look like?

Unsure. I'll try to find out.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/