lkml.org 
[lkml]   [2004]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] add legacy I/O port & memory APIs to /proc/bus/pci
Date
On Thursday, December 16, 2004 9:37 am, Bjorn Helgaas wrote:
> On Thursday 16 December 2004 9:50 am, Jesse Barnes wrote:
> > This patch documents the /proc/bus/pci interface and adds some optional
> > architecture specific APIs for accessing legacy I/O port and memory
> > space. This is necessary on platforms where legacy I/O port space doesn't
> > 'soft fail' like it does on PCs, and is useful for systems that can route
> > legacy space to different PCI busses.
>
> But we didn't resolve anything with respect to multiple PCI domains,
> did we? As far as I can see, /proc/bus/pci currently doesn't support
> multiple domains at all. I don't like the idea of adding new stuff
> that we already know is insufficient for machines in the very near
> future. True, it's just extending an existing interface, but it
> seems like if we're going to the trouble of changing X, we might as
> well address multiple domains at the same time.

The problem with adding domain support is that it'll break existing users,
unless it's added on the side somehow. One thought I had was to document
that /proc/bus/pci/ contains only busses from domain 0. Machines with more
than 1 domain could create /proc/bus/pci/domain/DDDD directories with busses
in the DDDD domain underneath. That wouldn't break existing applications,
and would let you get at domains other than 0 if you needed to.

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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