Re: [PATCH] x86/Sandy Bridge: reserve pages when integratedgraphics is present

From: Jesse Barnes
Date: Thu Nov 15 2012 - 11:13:27 EST


On Thu, 15 Nov 2012 10:47:11 -0200
Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote:

> On Wed, 14 Nov 2012, Jesse Barnes wrote:
> > + unsigned long bad_ranges[] = {
> > + 0x20050000,
> > + 0x20110000,
> > + 0x20130000,
> > + 0x20138000,
> > + 0x40004000,
>
> Yikes. Can this be fixed through a microcode update? The kernel would
> still need the workaround anyway, but at least you would be able to be quite
> heavy-handed on it, and users could be warned of a better fix...

Note the array should be called "bad pages" since it's just each page
at that offset that we can't use. (In case you were worried we'd need
to exclude everything between each pair of addresses or something.)

--
Jesse Barnes, Intel Open Source Technology Center
--
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/