Re: [PATCH 3/20] [powerpc] Remove linux,pci-domain properties

2 messages, 2 authors, 2006-07-04 · open the first message on its own page

Re: [PATCH 3/20] [powerpc] Remove linux,pci-domain properties

From: Milton Miller <hidden>
Date: 2006-07-04 07:55:50

On Tue Jul 4 16:47:18 EST 2006, Jeremy Kerr wrote:
The linux,pci-domain property is no longer used by DLPAR/PCI Hotplug
utilites, or LSVPD. This change removes it.
So if I have some device-tree path and want to find the sysfs node
for it or run something like lspci on it, I have to search all of
sysfs for a matching devspec file?  (And this can change each boot.)

Without looking at the mentioned utilities, DLPAR and PCI Hotplug get a 
location code, so I'm hoping that the pci slot name is identified by 
that.  Is lsvpd scanning?  Or does it scan sysfs first and 
/proc/device-tree secondarly?

milton

Re: [PATCH 3/20] [powerpc] Remove linux,pci-domain properties

From: Jeremy Kerr <jk@ozlabs.org>
Date: 2006-07-04 23:22:18

Milton,
Without looking at the mentioned utilities, DLPAR and PCI Hotplug get
a location code, so I'm hoping that the pci slot name is identified
by that.  Is lsvpd scanning?  Or does it scan sysfs first and
/proc/device-tree secondarly?
Yes, lsvpd scans sysfs first, then uses devspec to refer to the device 
tree. and AFAICT, the slot id can't be extracted from the location 
code.

So you're saying that the linux,pci-domain property is still in use, 
right? If so, I'll do up a patch to fix add_linux_pci_domain rather 
than removing it.

Cheers,


Jeremy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help