Re: [PATCH] pci: clean all funcs when hot-removing multifunc device

2011-09-15 Thread Kenji Kaneshige
(2011/09/16 4:03), Bjorn Helgaas wrote: On Tue, Sep 13, 2011 at 10:55 PM, Amos Kong wrote: 'slot->funcs' is initialized in acpiphp_glue.c:register_slot() before hotpluging device, and only one entry(func 0) is added to it, no new entry will be added to the list when hotpluging devices to the sl

Re: [PATCH] pci: clean all funcs when hot-removing multifunc device

2011-09-15 Thread Bjorn Helgaas
On Tue, Sep 13, 2011 at 10:55 PM, Amos Kong wrote: > 'slot->funcs' is initialized in acpiphp_glue.c:register_slot() before > hotpluging device, and only one entry(func 0) is added to it, > no new entry will be added to the list when hotpluging devices to the slot. > When we release the whole devic

Re: [PATCH] pci: clean all funcs when hot-removing multifunc device

2011-09-14 Thread Kevin O'Connor
On Wed, Sep 14, 2011 at 07:45:59AM -0400, Amos Kong wrote: > The size of bios.bin compiled from seabios > original: 128K > only apply patch1: 256K > only apply patch2: 128K > > patch1: add 6 slot(only slot6 has 8 funcs) to the table > can hotplug/hot-remove a multifunc device to slot 6 successfu

Re: [PATCH] pci: clean all funcs when hot-removing multifunc device

2011-09-14 Thread Amos Kong
- Original Message - > - Original Message - > > (2011/09/14 13:55), Amos Kong wrote: > > > 'slot->funcs' is initialized in acpiphp_glue.c:register_slot() > > > before > > > hotpluging device, and only one entry(func 0) is added to it, > > > no new entry will be added to the list whe

Re: [PATCH] pci: clean all funcs when hot-removing multifunc device

2011-09-14 Thread Amos Kong
- Original Message - > (2011/09/14 13:55), Amos Kong wrote: > > 'slot->funcs' is initialized in acpiphp_glue.c:register_slot() > > before > > hotpluging device, and only one entry(func 0) is added to it, > > no new entry will be added to the list when hotpluging devices to > > the slot. >

[PATCH] pci: clean all funcs when hot-removing multifunc device

2011-09-13 Thread Amos Kong
CC: kvm@vger.kernel.org - Original Message - 'slot->funcs' is initialized in acpiphp_glue.c:register_slot() before hotpluging device, and only one entry(func 0) is added to it, no new entry will be added to the list when hotpluging devices to the slot. When we release the whole device, t