[lkml]   [2003]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 2.5] VGA IO on systems with multiple PCI IO domains
On Wed, Jan 29, 2003 at 07:06:47PM +0300, Ivan Kokshaysky wrote:
> On Tue, Jan 28, 2003 at 06:23:15PM +0100, Benjamin Herrenschmidt wrote:
> > Disabling VGA dynamically depending on the machine have been a real pain
> > until now. With that change, it will now just be a matter for our PPC
> > implementation of pci_request_legacy_resource() to fail on machines
> > where VGA memory can't be reached.
> Here's updated version of yesterday's patch that makes this possible.
> - pci_request_legacy_resource() is supposed to return two error codes:
> -ENXIO (no such device or address), which must be treated as fatal;
> -EBUSY, returned by request_resource() in the case of resource conflict,
> like i386 case where the startup code reserves certain low memory regions
> including video memory. This error can be ignored for now (at least in the
> vgacon driver), because resource start/end fields are correctly adjusted
> anyway.
> - Fixed bug wrt adjusting static struct resource (thanks to Jeff for
> finding that). The vgacon can be started twice: early on startup and,
> if this fails because we assumed the wrong bus, after PCI init when we
> actually located the VGA card. However, static VGA resources are already
> "fixed" after the first try, so the second attempt fails as well.
> - Make no_vga case to release VGA resources.

I like this patch, any chance of it getting in? James, maybe you can
push it in your next update to Linus? It may help our platform as
well, which is ia64 with lots of PCI busses...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.086 / U:2.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site