public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/bus/pci
@ 2003-06-05  3:21 Albert Cahalan
  2003-06-05  3:35 ` /proc/bus/pci William Lee Irwin III
                   ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: Albert Cahalan @ 2003-06-05  3:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: davem, torvalds, bcollins, wli, tom_gall, anton

I notice that /proc/bus/pci doesn't offer a sane
interface for multiple PCI domains and choice of BAR.
What do people think of this?

bus/pci/00/00.0 -> ../hose0/bus0/dev0/fn0/config-space
bus/pci/hose0/bus0/dev0/fn0/config-space
bus/pci/hose0/bus0/dev0/fn0/bar0
bus/pci/hose0/bus0/dev0/fn0/bar1
bus/pci/hose0/bus0/dev0/fn0/bar2
bus/pci/hose0/bus0/dev0/fn0/status

Then with some mmap flags, the nasty ioctl() stuff
won't be needed anymore. It can die during 2.7.xx
development. If MAP_MMIO isn't generally acceptable,
then it could be via filename suffixes. (eeew, IMHO)

One remaining problem is permission. Any complaints
about implementing chmod() for those? Since this
does bypass capabilities, a mount option might be
used to enable it.

As alternatives to /proc changes, a distinct filesystem
could be developed or sysfs could be abused.



^ permalink raw reply	[flat|nested] 36+ messages in thread
[parent not found: <20030605125013$41ac@gated-at.bofh.it>]
* RE: /proc/bus/pci
@ 2003-06-09 17:03 Grover, Andrew
  0 siblings, 0 replies; 36+ messages in thread
From: Grover, Andrew @ 2003-06-09 17:03 UTC (permalink / raw)
  To: Robert White, Linus Torvalds, Albert Cahalan
  Cc: linux-kernel, davem, bcollins, wli, tom_gall, anton

What about "PCI segment"?

Another overloaded CS word but it's certainly better than some of the
alternatives below. It's also the only one that is actually used in a
relevant specification (the ACPI spec.)

Regards - Andy

> -----Original Message-----
> From: Robert White [mailto:rwhite@casabyte.com] 
> Sent: Friday, June 06, 2003 5:25 PM
> To: Linus Torvalds; Albert Cahalan
> Cc: linux-kernel; davem@redhat.com; bcollins@debian.org; 
> wli@holomorphy.com; tom_gall@vnet.ibm.com; anton@samba.org
> Subject: RE: /proc/bus/pci
> 
> 
> My Humble Opinion:
> 
> "hose0" -> bad, I know I didn't have a clue where it came from
> 
> "domain0" -> obscure but mathematical 8-), probably hard to 
> teach what with
> the name used all over heck
> 
> "phb0" -> "eh what is phb?"  "primary host bridge"...
> 
> "bridge0" -> not bad, is it platform agnostic? (e.g. is the connection
> called a bridge on non- Intel/AMD/PS platforms?)  don't 
> know...  but if it
> is... good
> 
> Note:  There are no "good" synonyms for "Domain"  (from M-W.com:)
> 
> "field, bailiwick, champaign, demesne, dominion, province, 
> sphere, terrain,
> territory, walk"
> 
> So, my heard groans for another "domain" in the computer, and 
> I like the way
> bridge reads
> 
> "devices/bridge0/bus2/dev11/fn0/whatever"
> 
> but regardless (going back to pc-isms) that puts things like 
> the pci-agp
> "bridge" and such into the namespace if one were to be especially
> conformant, which may or may not be a good thing.
> 
> Rob.
> 
> 
> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of Linus Torvalds
> Sent: Thursday, June 05, 2003 8:52 AM
> To: Albert Cahalan
> Cc: linux-kernel; davem@redhat.com; bcollins@debian.org;
> wli@holomorphy.com; tom_gall@vnet.ibm.com; anton@samba.org
> Subject: Re: /proc/bus/pci
> 
> 
> 
> On Thu, 5 Jun 2003, Albert Cahalan wrote:
> >
> > Some of the IBMers use "phb" instead of "hose" or "domain".
> 
> Gods, did they run out of vowels in _that_ part of IBM too?
> 
> Where do they go? Is there somebody at IBM that hoards 
> vowels, and will
> one day hold the rest of the world hostage? "Mwahahahaa! If 
> you don't buy
> support from IBM, you can never use the letter 'A' again! 
> Whahahahhhaah!".
> 
> I can see it now.
> 
> 
> What the _f*ck_ is wrong with just calling it "PCI domain". 
> It's a fine
> word, and yes, "domain" is used commonly in computer 
> language, but that's
> a _good_ thing. Everybody immediately understands what it is about.
> 
> There is no goodness to acronyms where you have to be some 
> "insider" to
> know what the hell it means. That "hose" thing has the same problem: I
> don't know about anybody else, but to me a "hose" is a logn 
> narrow conduit
> for water, and a "PCI hose" doesn't much make sense to me.
> 
> A "phb" just makes me go "Whaa?"
> 
> 		Linus
> 
> -
> 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/
> 
> -
> 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/
> 

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2003-06-13 19:23 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-05  3:21 /proc/bus/pci Albert Cahalan
2003-06-05  3:35 ` /proc/bus/pci William Lee Irwin III
2003-06-05  4:23 ` /proc/bus/pci Linus Torvalds
2003-06-05  5:01   ` /proc/bus/pci David S. Miller
2003-06-05 12:05   ` /proc/bus/pci Albert Cahalan
2003-06-05 12:16     ` /proc/bus/pci David S. Miller
2003-06-05 12:42       ` /proc/bus/pci Albert Cahalan
2003-06-05 12:36     ` /proc/bus/pci Albert Cahalan
2003-06-05 15:51       ` /proc/bus/pci Linus Torvalds
2003-06-05 16:00         ` /proc/bus/pci William Lee Irwin III
2003-06-05 17:23           ` /proc/bus/pci Benjamin Herrenschmidt
2003-06-05 17:36             ` /proc/bus/pci William Lee Irwin III
2003-06-05 17:18         ` /proc/bus/pci Riley Williams
2003-06-06 16:30         ` /proc/bus/pci Ross Biro
2003-06-06 18:13           ` /proc/bus/pci Riley Williams
2003-06-07  2:02           ` /proc/bus/pci Horst von Brand
2003-06-07  0:25         ` /proc/bus/pci Robert White
2003-06-07  0:35           ` /proc/bus/pci Linus Torvalds
2003-06-07  1:01             ` /proc/bus/pci Robert White
2003-06-07  1:43             ` /proc/bus/pci Albert Cahalan
2003-06-05 12:43     ` /proc/bus/pci Benjamin Herrenschmidt
2003-06-05 16:58 ` /proc/bus/pci Greg KH
2003-06-05 18:27   ` /proc/bus/pci Matt Wilson
2003-06-05 19:35     ` /proc/bus/pci Greg KH
     [not found] <20030605125013$41ac@gated-at.bofh.it>
     [not found] ` <20030605160017$10e1@gated-at.bofh.it>
2003-06-05 16:41   ` /proc/bus/pci Julien Oster
2003-06-05 16:57     ` /proc/bus/pci Mike Dresser
2003-06-05 17:00     ` /proc/bus/pci Richard B. Johnson
2003-06-07  0:31       ` /proc/bus/pci Robert White
2003-06-05 20:49     ` /proc/bus/pci Michal Jaegermann
2003-06-12  4:29       ` /proc/bus/pci Andre Hedrick
2003-06-13  7:10         ` /proc/bus/pci Riley Williams
2003-06-13  8:43           ` /proc/bus/pci Olivier Galibert
2003-06-13 16:28           ` /proc/bus/pci Mr. James W. Laferriere
2003-06-13 17:59             ` /proc/bus/pci Riley Williams
2003-06-13 19:37               ` /proc/bus/pci Mr. James W. Laferriere
  -- strict thread matches above, loose matches on Subject: below --
2003-06-09 17:03 /proc/bus/pci Grover, Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox