lkml.org 
[lkml]   [2010]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86: Reserve legacy VGA MMIO area for x86_64 as well as x86_32
From
Date
On Fri, 2010-04-09 at 16:11 -0400, H. Peter Anvin wrote:
> 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.

It is used for a custom FPGA implementing a watchdog timer and some
other functionality.

This is not a matter of supporting such a device in Linux, it is a
matter of explicitly excluding non-VGA devices from using VGA memory
space.

If that is the decision, it might be worthwhile mentioning it somewhere
in the documentation, to prevent others from ever using that memory
space in an embedded system (and to save them the time needed to find
out about it and to identify and implement a workaround).

Guenter




\
 
 \ /
  Last update: 2010-04-09 22:33    [W:0.684 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site