Re: [RFC PATCH v2, part3 00/11] Introduce PCI bus lock and state machine

From: Yinghai Lu
Date: Tue May 28 2013 - 00:51:48 EST


On Wed, May 22, 2013 at 2:48 AM, Gu Zheng <guz.fnst@xxxxxxxxxxxxxx> wrote:
> On 05/16/2013 11:50 PM, Jiang Liu wrote:
> We're gladly to see the new patch-set, and I tested all the whole 3 parts
> patch-set on the latest kernel tree. Because of the limitation of our test environment,
> we only use the method *1* to trigger PCI hotplug concurrently, and it works well.
>
> Though I'm not sure whether the way you introduced is the best one to solve these
> race condition issues, but it does fix the concurrent PCI hotplug(via sysfs)
> issues that disturb us.

Not sure what happened, at lease after Jiang's first patch, we should still need
https://patchwork.kernel.org/patch/2562431/
[1/7] PCI: move back pci_proc_attach_devices calling
https://patchwork.kernel.org/patch/2562461/
[2/7] PCI: move resources and bus_list releasing to pci_release_dev
https://patchwork.kernel.org/patch/2562451/
[3/7] PCI: Detach driver in pci_stop_device

they will allow pci_stop_and_remove_bus_device is called two times in the
your case.

this one is not needed.
https://patchwork.kernel.org/patch/2562561/
[4/7] PCI: Fix racing for pci device removing via sysfs
it should be the same as the two pci_alloc_dev patches.

other three are about sriov one....

Thanks

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/