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

From: Alan Cox
Date: Thu Mar 15 2012 - 10:49:33 EST


On Thu, 15 Mar 2012 14:42:36 +0000
Matthew Garrett <mjg@xxxxxxxxxx> wrote:

> On Thu, Mar 15, 2012 at 07:36:46AM -0700, H. Peter Anvin wrote:
>
> > I would still really like to understand why we're seeing #MCs... that's
> > bothersome all by itself.
>
> The region is the legacy video RAM, so I can imagine there being
> something magic about it.

Presumably by the point we are booting the firmware and our own early
activities mean the pages are already marked write-combine and in our CPU
caches somewhere. Is the current boot code flushing any legacy video
mappings from cache before it plays with the cachability ?

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