Thread (37 messages) 37 messages, 2 authors, 2013-06-03

Re: [PATCH 02/23] powerpc/eeh: Function to tranverse PCI devices

From: Gavin Shan <hidden>
Date: 2013-06-03 01:00:12

On Sat, Jun 01, 2013 at 02:13:03PM +1000, Benjamin Herrenschmidt wrote:
On Thu, 2013-05-30 at 16:23 +0800, Gavin Shan wrote:
quoted
For EEH on PowerNV platform, the PCI devices will be probed to
check if they support EEH functionality. Different from the case
of EEH for pSeries platform, we will probe real PCI device instead
of device tree node for EEH capability on PowerNV platform.

The patch introduces function eeh_pci_dev_traverse() to traverse
PCI devices for the indicated PCI bus from top to bottom.
This seems racy vs. hotplug etc... Any reason you can't use
pci_walk_bus() from drivers/pci/bus.c ?
Thanks, Ben. I'll use pci_walk_bus() in next version.

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