Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-06-06 Thread Michael S. Tsirkin
On Thu, Jun 06, 2013 at 05:39:11PM +1000, David Gibson wrote: > On Thu, May 30, 2013 at 08:02:27AM +0300, Michael S. Tsirkin wrote: > > On Thu, May 30, 2013 at 01:34:41PM +1000, David Gibson wrote: > > > On Wed, May 29, 2013 at 03:22:29PM +0300, Michael S. Tsirkin wrote: > > > > On Wed, May 29, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-06-06 Thread David Gibson
On Thu, May 30, 2013 at 08:02:27AM +0300, Michael S. Tsirkin wrote: > On Thu, May 30, 2013 at 01:34:41PM +1000, David Gibson wrote: > > On Wed, May 29, 2013 at 03:22:29PM +0300, Michael S. Tsirkin wrote: > > > On Wed, May 29, 2013 at 09:04:00PM +1000, David Gibson wrote: > > > > On Wed, May 29, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Thu, May 30, 2013 at 01:34:41PM +1000, David Gibson wrote: > On Wed, May 29, 2013 at 03:22:29PM +0300, Michael S. Tsirkin wrote: > > On Wed, May 29, 2013 at 09:04:00PM +1000, David Gibson wrote: > > > On Wed, May 29, 2013 at 01:17:13PM +0300, Michael S. Tsirkin wrote: > > > > On Wed, May 29, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 03:22:29PM +0300, Michael S. Tsirkin wrote: > On Wed, May 29, 2013 at 09:04:00PM +1000, David Gibson wrote: > > On Wed, May 29, 2013 at 01:17:13PM +0300, Michael S. Tsirkin wrote: > > > On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: > > > > On Wed, May 29, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 09:04:00PM +1000, David Gibson wrote: > On Wed, May 29, 2013 at 01:17:13PM +0300, Michael S. Tsirkin wrote: > > On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: > > > On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: > > > > On Wed, May 29, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 01:17:13PM +0300, Michael S. Tsirkin wrote: > On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: > > On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: > > > On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: > > > > On Thu, May 23, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 08:06:42PM +1000, David Gibson wrote: > On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: > > On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: > > > On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: > > > > On Thu, May 23, 2013 at 0

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 12:55:53PM +0300, Michael S. Tsirkin wrote: > On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: > > On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: > > > On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: > > > > On Thu, May 09, 201

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread Michael S. Tsirkin
On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: > On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: > > On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: > > > On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > > > > Currently pci_get_primary

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Wed, May 29, 2013 at 07:43:41PM +1000, David Gibson wrote: > On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: > > On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: > > > On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > > > > Currently pci_get_primary

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-29 Thread David Gibson
On Thu, May 23, 2013 at 10:16:27PM +1000, David Gibson wrote: > On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: > > On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > > > Currently pci_get_primary_bus() searches the list of root buses for one > > > with domain 0. B

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-23 Thread Michael S. Tsirkin
On Thu, May 23, 2013 at 10:16:13PM +1000, David Gibson wrote: > On Thu, May 23, 2013 at 02:01:57PM +0300, Michael S. Tsirkin wrote: > > On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > > > Currently pci_get_primary_bus() searches the list of root buses for one > > > with domain 0. B

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-23 Thread David Gibson
On Thu, May 23, 2013 at 02:22:30PM +0300, Michael S. Tsirkin wrote: > On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > > Currently pci_get_primary_bus() searches the list of root buses for one > > with domain 0. But since host buses are always registered with domain 0, > > this just

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-23 Thread David Gibson
On Thu, May 23, 2013 at 02:01:57PM +0300, Michael S. Tsirkin wrote: > On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > > Currently pci_get_primary_bus() searches the list of root buses for one > > with domain 0. But since host buses are always registered with domain 0, > > this just

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-23 Thread Michael S. Tsirkin
On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > Currently pci_get_primary_bus() searches the list of root buses for one > with domain 0. But since host buses are always registered with domain 0, > this just amounts to finding the only PCI host bus. > > This simplifies the implemen

Re: [Qemu-devel] [PATCH 6/8] pci: Simpler implementation of primary PCI bus

2013-05-23 Thread Michael S. Tsirkin
On Thu, May 09, 2013 at 10:31:10AM +1000, David Gibson wrote: > Currently pci_get_primary_bus() searches the list of root buses for one > with domain 0. But since host buses are always registered with domain 0, > this just amounts to finding the only PCI host bus. > > This simplifies the implemen