Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-31 Thread Bjorn Helgaas
On Thu, Oct 31, 2013 at 12:45 AM, Yinghai Lu wrote: > I have updated version, please check if attached patches fix the problem. > > virtfn_release.patch > fix_cx3_hotplug_2.patch > fix_racing_removing_6_1.patch > fix_racing_removing_6_2.patch > fix_racing_removing_6_3.patch Ignored because it's

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-31 Thread Gu Zheng
Hi Yinghai, On 10/31/2013 02:45 PM, Yinghai Lu wrote: > On Wed, Oct 30, 2013 at 3:14 AM, Gu Zheng wrote: >> When concurent removing pci devices which are in the same pci subtree >> via sysfs, such as: >> echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > >> /sys/bus/pci/devices

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-31 Thread Gu Zheng
Hi Bjorn, Thanks for your comments.:) Please refer to inline. Best regards, Gu On 10/31/2013 01:08 AM, Bjorn Helgaas wrote: > On Wed, Oct 30, 2013 at 06:14:20PM +0800, Gu Zheng wrote: >> When concurent removing pci devices which are in the same pci subtree >> via sysfs, such as: >> echo -n 1 > /

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-30 Thread Yinghai Lu
On Wed, Oct 30, 2013 at 3:14 AM, Gu Zheng wrote: > When concurent removing pci devices which are in the same pci subtree > via sysfs, such as: > echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > > /sys/bus/pci/devices/\:1a\:01.0/remove > (1a:01.0 device is downstream from th

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-30 Thread Bjorn Helgaas
On Wed, Oct 30, 2013 at 06:14:20PM +0800, Gu Zheng wrote: > When concurent removing pci devices which are in the same pci subtree > via sysfs, such as: > echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > > /sys/bus/pci/devices/\:1a\:01.0/remove > (1a:01.0 device is downstream

[PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-30 Thread Gu Zheng
When concurent removing pci devices which are in the same pci subtree via sysfs, such as: echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > /sys/bus/pci/devices/\:1a\:01.0/remove (1a:01.0 device is downstream from the 10:00.0 bridge) the following warning will show: [ 1799.2