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

From: H. Peter Anvin
Date: Fri Apr 09 2010 - 16:13:07 EST


On 04/09/2010 11:55 AM, Guenter Roeck wrote:
> On Fri, 2010-04-09 at 14:23 -0400, H. Peter Anvin wrote:
>> [Adding Guenter Roeck as he was commenting on something writing to the
>> VGA area...]
>>
>> On 04/09/2010 10:22 AM, Yinghai wrote:
>>>
>>> then please check this one
>>>
>>> update e820 at first, and later put them resource tree, but give pci BAR chance to claim
>>> the range, before assign unassigned resources.
>>>
>>> in case some system doesn't have VGA, and use [0xa0000, ..] for mmio of some other pci devices.
>>>
>>
>> Do we have any evidence of any such system?
>>
>> Either which way, the patch looks saner...
>>
> Yes, we have a system which does not have VGA and uses the VGA memory
> space for another device. I don't know exactly what for, but I can find
> out if it is relevant.
>

Quite. We really need to consider if that kind of devices should be
supported.

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