Re: [PATCH 3/6] PCI: introduce pci_trim_stale_devices()

2013-06-28 Thread Rafael J. Wysocki
On Tuesday, June 25, 2013 07:22:07 PM Mika Westerberg wrote: > From: "Kirill A. Shutemov" > > The new function stops and removes the device if it doesn't respond. > If the device responds and it's a bus we apply the function to all > subdevices recursively. > > It's useful for hotplug bus check

Re: [PATCH 3/6] PCI: introduce pci_trim_stale_devices()

2013-06-25 Thread Kirill A. Shutemov
Andy Shevchenko wrote: > On Tue, Jun 25, 2013 at 7:22 PM, Mika Westerberg > wrote: > > > The new function stops and removes the device if it doesn't respond. > > If the device responds and it's a bus we apply the function to all > > subdevices recursively. > > > > It's useful for hotplug bus chec

Re: [PATCH 3/6] PCI: introduce pci_trim_stale_devices()

2013-06-25 Thread Andy Shevchenko
On Tue, Jun 25, 2013 at 7:22 PM, Mika Westerberg wrote: > The new function stops and removes the device if it doesn't respond. > If the device responds and it's a bus we apply the function to all > subdevices recursively. > > It's useful for hotplug bus check case, when you need drop all unplugge

[PATCH 3/6] PCI: introduce pci_trim_stale_devices()

2013-06-25 Thread Mika Westerberg
From: "Kirill A. Shutemov" The new function stops and removes the device if it doesn't respond. If the device responds and it's a bus we apply the function to all subdevices recursively. It's useful for hotplug bus check case, when you need drop all unplugged devices before looking for new ones.