Re: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 as wellas x86_32

From: H. Peter Anvin
Date: Fri Apr 09 2010 - 18:43:32 EST


On 04/09/2010 03:42 PM, Alan Cox wrote:
>> "Don't use legacy fixed-function addresses for nonstandard purposes."
>>
>> There, there is your documentation.
>
> It's probably a good idea to only reserve it if the space is actually
> being used. There are a variety of legitimate reasons to use that space
> for other things on embedded x86 boards.
>
> They are only "legacy fixed function" if you have a PCI bus...

No they're not. The 0xa0000...0xbffff range has been a legacy video
area since the very first PC (although the first PC only used
0xb0000..0xbffff, 0xa0000..0xbffff was declared reserved at that time.)

I'm wondering what those legitimate reasons are. This is particularly
so since it affects our ability to deal with very early errors, long
before we have enumerated anything. At this point we can at least lay
down bytes in the video area and hope the user can see them.

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