[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-24 Thread Isaku Yamahata
On Wed, Nov 24, 2010 at 12:59:43PM +0200, Michael S. Tsirkin wrote: > > > @@ -1552,20 +1562,21 @@ PCIBus *pci_find_bus(PCIBus *bus, int bus_num) > > > return bus; > > > } > > > > > > +/* Consider all bus numbers in range for the host pci bridge. */ > > > +if (bus->parent_dev

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-24 Thread Michael S. Tsirkin
On Wed, Nov 24, 2010 at 04:15:14PM +0900, Isaku Yamahata wrote: > On Wed, Nov 24, 2010 at 07:27:58AM +0200, Michael S. Tsirkin wrote: > > Right. So let's add an inline helper to avoid code duplication here? > > > > pci: fix bus walk under secondary bus reset > > > > Take into account secondary bu

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-23 Thread Isaku Yamahata
On Wed, Nov 24, 2010 at 07:27:58AM +0200, Michael S. Tsirkin wrote: > Right. So let's add an inline helper to avoid code duplication here? > > pci: fix bus walk under secondary bus reset > > Take into account secondary bus reset bit for > bus walk: devices behind a reset bus should not > respond

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-23 Thread Michael S. Tsirkin
On Wed, Nov 24, 2010 at 11:37:25AM +0900, Isaku Yamahata wrote: > On Tue, Nov 23, 2010 at 08:10:26PM +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 23, 2010 at 12:53:12AM +0200, Michael S. Tsirkin wrote: > > > On Mon, Nov 22, 2010 at 07:43:37PM +0900, Isaku Yamahata wrote: > > > > On Mon, Nov 22,

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-23 Thread Isaku Yamahata
On Tue, Nov 23, 2010 at 08:10:26PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 23, 2010 at 12:53:12AM +0200, Michael S. Tsirkin wrote: > > On Mon, Nov 22, 2010 at 07:43:37PM +0900, Isaku Yamahata wrote: > > > On Mon, Nov 22, 2010 at 09:54:02AM +0200, Michael S. Tsirkin wrote: > > > > On Fri, Nov

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-23 Thread Michael S. Tsirkin
On Tue, Nov 23, 2010 at 12:53:12AM +0200, Michael S. Tsirkin wrote: > On Mon, Nov 22, 2010 at 07:43:37PM +0900, Isaku Yamahata wrote: > > On Mon, Nov 22, 2010 at 09:54:02AM +0200, Michael S. Tsirkin wrote: > > > On Fri, Nov 19, 2010 at 06:55:57PM +0900, Isaku Yamahata wrote: > > > > Here is v2. I u

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-22 Thread Michael S. Tsirkin
On Mon, Nov 22, 2010 at 07:43:37PM +0900, Isaku Yamahata wrote: > On Mon, Nov 22, 2010 at 09:54:02AM +0200, Michael S. Tsirkin wrote: > > On Fri, Nov 19, 2010 at 06:55:57PM +0900, Isaku Yamahata wrote: > > > Here is v2. I updated the comments, and dropped the pci qdev reset patch. > > > > > > Patc

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-22 Thread Isaku Yamahata
On Mon, Nov 22, 2010 at 09:54:02AM +0200, Michael S. Tsirkin wrote: > On Fri, Nov 19, 2010 at 06:55:57PM +0900, Isaku Yamahata wrote: > > Here is v2. I updated the comments, and dropped the pci qdev reset patch. > > > > Patch description: > > The goal of this patch series is to implement secondary

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-22 Thread Michael S. Tsirkin
On Mon, Nov 22, 2010 at 07:43:37PM +0900, Isaku Yamahata wrote: > On Mon, Nov 22, 2010 at 09:54:02AM +0200, Michael S. Tsirkin wrote: > > On Fri, Nov 19, 2010 at 06:55:57PM +0900, Isaku Yamahata wrote: > > > Here is v2. I updated the comments, and dropped the pci qdev reset patch. > > > > > > Patc

[Qemu-devel] Re: [PATCH v2 0/6] qdev reset refactoring and pci bus reset

2010-11-21 Thread Michael S. Tsirkin
On Fri, Nov 19, 2010 at 06:55:57PM +0900, Isaku Yamahata wrote: > Here is v2. I updated the comments, and dropped the pci qdev reset patch. > > Patch description: > The goal of this patch series is to implement secondary bus reset > emulation in pci-to-pci bridge. > At first, this patch series ref