Remove linux,pci-domain properties
Quoted 2 lines · Jeremy Kerr
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
Milton,
Quoted 4 lines
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-treesecondarly?
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