Re: [PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-02-03 Thread Bjorn Helgaas
On Sun, Jan 27, 2013 at 12:23 PM, Yinghai Lu wrote: > Now we have pci_root_buses list, and there is lots of iteration with > list_of_each of it, that is not safe after we add pci root bus hotplug > support after booting stage. > > Add pci_get_next_host_bridge and use bus_find_device in driver core

[PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-02-02 Thread Bjorn Helgaas
On Sun, Jan 27, 2013 at 12:23 PM, Yinghai Lu wrote: > Now we have pci_root_buses list, and there is lots of iteration with > list_of_each of it, that is not safe after we add pci root bus hotplug > support after booting stage. > > Add pci_get_next_host_bridge and use bus_find_device in driver core

[PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-01-27 Thread Yinghai Lu
Now we have pci_root_buses list, and there is lots of iteration with list_of_each of it, that is not safe after we add pci root bus hotplug support after booting stage. Add pci_get_next_host_bridge and use bus_find_device in driver core to iterate host bridge and the same time get root bus. We re

[PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-01-27 Thread Yinghai Lu
Now we have pci_root_buses list, and there is lots of iteration with list_of_each of it, that is not safe after we add pci root bus hotplug support after booting stage. Add pci_get_next_host_bridge and use bus_find_device in driver core to iterate host bridge and the same time get root bus. We re