public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@sgi.com>
To: Adam Belay <abelay@novell.com>
Cc: Jon Smirl <jonsmirl@gmail.com>,
	greg@kroah.com, linux-kernel@vger.kernel.org
Subject: Re: [RFC] PCI bridge driver rewrite
Date: Thu, 24 Feb 2005 15:02:14 -0800	[thread overview]
Message-ID: <200502241502.15163.jbarnes@sgi.com> (raw)
In-Reply-To: <1109228638.28403.71.camel@localhost.localdomain>

On Wednesday, February 23, 2005 11:03 pm, Adam Belay wrote:
> Yeah, actually I've been thinking about this issue a lot.  I think it
> would make a lot of sense to export this sort of thing under the
> "pci_bus" class in sysfs.  The ISA enable bit should probably also be
> exported.  Furthermore, we should be verifying the BIOS's configuration
> of VGA and ISA.  I'll try to integrate this in my future releases.  I
> appreciate the code.
>
> I also have a number of resource management plans for the VGA enable bit
> that I'll get into in my next set of patches.

Keep in mind that the interface above is probably specific to PCI to PCI 
bridges since there's a spec for that.  Host to PCI bridges may implement 
their own methods for VGA routing and legacy port access.

> > Jesse can comment on the specific support needed for multiple legacy IO
> > spaces.
>
> That would be great.  Most of my experience has been with only a couple
> legacy IO port ranges passing through the bridge.

Well, I'll give you one, somewhat perverse, example.  On SGI sn2 machines, 
each host<->pci bridge (either xio<->pci or numalink<->pci) has two pci 
busses and some additional host bus ports.  The bridges are capable of 
generating low address bus cycles on both busses simultaneously, so we can do 
ISA memory access and legacy port I/O on every bus in the system at the same 
time.

The main host chipset has no notion of VGA or legacy routing though, so doing 
a port access to say 0x3c8 is ambiguous--we need a bus to target (though the 
platform code could provide a 'default' bus for such accesses to go to, this 
may be what VGA or legacy routing means for us under your scheme).  Likewise, 
accessing ISA memory space like 0xa0000 needs a bus to target.

It would be nice if this sort of thing was taken into account in your new 
model, so that for example we could have the vgacon driver talking to 
multiple different VGA cards at the same time.

Thanks,
Jesse

  parent reply	other threads:[~2005-02-24 23:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24  6:22 [RFC] PCI bridge driver rewrite Adam Belay
2005-02-24  6:45 ` Jon Smirl
2005-02-24  7:03   ` Adam Belay
2005-02-24  7:25     ` Jon Smirl
2005-02-28 23:39       ` Adam Belay
2005-02-24 23:02     ` Jesse Barnes [this message]
2005-02-28 23:27       ` Adam Belay
2005-02-28 23:38         ` Jesse Barnes
2005-03-01  0:13           ` Adam Belay
2005-03-01  0:34             ` Jesse Barnes
2005-02-24 10:03 ` Russell King
2005-02-28 23:50   ` Adam Belay
2005-02-25 23:38 ` Greg KH
2005-02-28 23:58   ` Adam Belay
  -- strict thread matches above, loose matches on Subject: below --
2005-04-04 16:33 Nguyen, Tom L

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502241502.15163.jbarnes@sgi.com \
    --to=jbarnes@sgi.com \
    --cc=abelay@novell.com \
    --cc=greg@kroah.com \
    --cc=jonsmirl@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox