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

From: H. Peter Anvin
Date: Thu Mar 15 2012 - 10:02:20 EST


On 03/15/2012 06:56 AM, Matthew Garrett wrote:
> The EFI memory region attributes field indicates whether the region can
> be mapped with various cache attributes. Our current implementation always
> marks regions uncacheable if they don't have the writeback support flag.
> This causes us to mark some regions uncacheable even if they don't
> indicate support for being uncacheable, triggering a clflush that may cause
> an MCE. Ensure we only do this for regions which support it.
>
> Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx>

Could you be specific as to what you're seeing in the field? In
particular, what *do* these memory regions claim to support?

-hpa

--
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/