Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-25 Thread David Gibson
On Fri, Nov 23, 2012 at 04:01:58PM +0200, Michael S. Tsirkin wrote: > On Fri, Nov 23, 2012 at 02:44:15PM +0100, Alexander Graf wrote: > > > > On 23.11.2012, at 14:44, Michael S. Tsirkin wrote: > > > > > On Fri, Nov 23, 2012 at 11:59:51PM +1100, David Gibson wrote: > > >>> Look, even if solution u

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Alexander Graf
On 23.11.2012, at 15:18, Michael S. Tsirkin wrote: > On Fri, Nov 23, 2012 at 03:03:24PM +0100, Alexander Graf wrote: >> >> On 23.11.2012, at 15:01, Michael S. Tsirkin wrote: >> >>> On Fri, Nov 23, 2012 at 02:44:15PM +0100, Alexander Graf wrote: On 23.11.2012, at 14:44, Michael S. Tsi

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Michael S. Tsirkin
On Fri, Nov 23, 2012 at 03:03:24PM +0100, Alexander Graf wrote: > > On 23.11.2012, at 15:01, Michael S. Tsirkin wrote: > > > On Fri, Nov 23, 2012 at 02:44:15PM +0100, Alexander Graf wrote: > >> > >> On 23.11.2012, at 14:44, Michael S. Tsirkin wrote: > >> > >>> On Fri, Nov 23, 2012 at 11:59:51PM

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Alexander Graf
On 23.11.2012, at 15:01, Michael S. Tsirkin wrote: > On Fri, Nov 23, 2012 at 02:44:15PM +0100, Alexander Graf wrote: >> >> On 23.11.2012, at 14:44, Michael S. Tsirkin wrote: >> >>> On Fri, Nov 23, 2012 at 11:59:51PM +1100, David Gibson wrote: > Look, even if solution using a required proper

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Michael S. Tsirkin
On Fri, Nov 23, 2012 at 02:44:15PM +0100, Alexander Graf wrote: > > On 23.11.2012, at 14:44, Michael S. Tsirkin wrote: > > > On Fri, Nov 23, 2012 at 11:59:51PM +1100, David Gibson wrote: > >>> Look, even if solution using a required property is less elegant for CLI > >>> use, it will work, won't

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Alexander Graf
On 23.11.2012, at 14:44, Michael S. Tsirkin wrote: > On Fri, Nov 23, 2012 at 11:59:51PM +1100, David Gibson wrote: >>> Look, even if solution using a required property is less elegant for CLI >>> use, it will work, won't it? >>> So how about we merge it so that things work, and then we can discus

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Michael S. Tsirkin
On Fri, Nov 23, 2012 at 11:59:51PM +1100, David Gibson wrote: > > Look, even if solution using a required property is less elegant for CLI > > use, it will work, won't it? > > So how about we merge it so that things work, and then we can discuss a > > patch on top that auto-generates this property?

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread David Gibson
On Fri, Nov 23, 2012 at 12:53:23PM +0200, Michael S. Tsirkin wrote: > On Fri, Nov 23, 2012 at 03:13:07PM +1100, David Gibson wrote: > > On Thu, Nov 22, 2012 at 09:23:03AM +0200, Michael S. Tsirkin wrote: > > > On Thu, Nov 22, 2012 at 01:27:18PM +1100, David Gibson wrote: > > > > On Wed, Nov 21, 201

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-23 Thread Michael S. Tsirkin
On Fri, Nov 23, 2012 at 03:13:07PM +1100, David Gibson wrote: > On Thu, Nov 22, 2012 at 09:23:03AM +0200, Michael S. Tsirkin wrote: > > On Thu, Nov 22, 2012 at 01:27:18PM +1100, David Gibson wrote: > > > On Wed, Nov 21, 2012 at 05:27:37PM +0200, Michael S. Tsirkin wrote: > > > > On Wed, Nov 21, 201

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-22 Thread David Gibson
On Thu, Nov 22, 2012 at 09:23:03AM +0200, Michael S. Tsirkin wrote: > On Thu, Nov 22, 2012 at 01:27:18PM +1100, David Gibson wrote: > > On Wed, Nov 21, 2012 at 05:27:37PM +0200, Michael S. Tsirkin wrote: > > > On Wed, Nov 21, 2012 at 02:27:08PM +0100, Alexander Graf wrote: > > > > On 11/21/2012 02:

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-22 Thread Michael S. Tsirkin
On Thu, Nov 22, 2012 at 12:27:49PM +0100, Alexander Graf wrote: > > > On 22.11.2012, at 08:23, "Michael S. Tsirkin" wrote: > > > On Thu, Nov 22, 2012 at 01:27:18PM +1100, David Gibson wrote: > >> On Wed, Nov 21, 2012 at 05:27:37PM +0200, Michael S. Tsirkin wrote: > >>> On Wed, Nov 21, 2012 at 0

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-22 Thread Alexander Graf
On 22.11.2012, at 08:23, "Michael S. Tsirkin" wrote: > On Thu, Nov 22, 2012 at 01:27:18PM +1100, David Gibson wrote: >> On Wed, Nov 21, 2012 at 05:27:37PM +0200, Michael S. Tsirkin wrote: >>> On Wed, Nov 21, 2012 at 02:27:08PM +0100, Alexander Graf wrote: On 11/21/2012 02:21 PM, David Gibs

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Michael S. Tsirkin
On Thu, Nov 22, 2012 at 01:27:18PM +1100, David Gibson wrote: > On Wed, Nov 21, 2012 at 05:27:37PM +0200, Michael S. Tsirkin wrote: > > On Wed, Nov 21, 2012 at 02:27:08PM +0100, Alexander Graf wrote: > > > On 11/21/2012 02:21 PM, David Gibson wrote: > > > >On Wed, Nov 21, 2012 at 03:13:39PM +0200,

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread David Gibson
On Wed, Nov 21, 2012 at 05:27:37PM +0200, Michael S. Tsirkin wrote: > On Wed, Nov 21, 2012 at 02:27:08PM +0100, Alexander Graf wrote: > > On 11/21/2012 02:21 PM, David Gibson wrote: > > >On Wed, Nov 21, 2012 at 03:13:39PM +0200, Michael S. Tsirkin wrote: > > >>On Wed, Nov 21, 2012 at 11:36:00PM +11

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Michael S. Tsirkin
On Wed, Nov 21, 2012 at 02:27:08PM +0100, Alexander Graf wrote: > On 11/21/2012 02:21 PM, David Gibson wrote: > >On Wed, Nov 21, 2012 at 03:13:39PM +0200, Michael S. Tsirkin wrote: > >>On Wed, Nov 21, 2012 at 11:36:00PM +1100, David Gibson wrote: > >>>On Wed, Nov 21, 2012 at 01:34:48PM +0200, Micha

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Michael S. Tsirkin
On Thu, Nov 22, 2012 at 12:21:57AM +1100, David Gibson wrote: > On Wed, Nov 21, 2012 at 03:13:39PM +0200, Michael S. Tsirkin wrote: > > On Wed, Nov 21, 2012 at 11:36:00PM +1100, David Gibson wrote: > > > On Wed, Nov 21, 2012 at 01:34:48PM +0200, Michael S. Tsirkin wrote: > > > > On Wed, Nov 21, 201

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Alexander Graf
On 11/21/2012 02:21 PM, David Gibson wrote: On Wed, Nov 21, 2012 at 03:13:39PM +0200, Michael S. Tsirkin wrote: On Wed, Nov 21, 2012 at 11:36:00PM +1100, David Gibson wrote: On Wed, Nov 21, 2012 at 01:34:48PM +0200, Michael S. Tsirkin wrote: On Wed, Nov 21, 2012 at 11:57:05AM +1100, David Gibs

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread David Gibson
On Wed, Nov 21, 2012 at 03:13:39PM +0200, Michael S. Tsirkin wrote: > On Wed, Nov 21, 2012 at 11:36:00PM +1100, David Gibson wrote: > > On Wed, Nov 21, 2012 at 01:34:48PM +0200, Michael S. Tsirkin wrote: > > > On Wed, Nov 21, 2012 at 11:57:05AM +1100, David Gibson wrote: > > > > On Tue, Nov 20, 201

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Michael S. Tsirkin
On Wed, Nov 21, 2012 at 11:36:00PM +1100, David Gibson wrote: > On Wed, Nov 21, 2012 at 01:34:48PM +0200, Michael S. Tsirkin wrote: > > On Wed, Nov 21, 2012 at 11:57:05AM +1100, David Gibson wrote: > > > On Tue, Nov 20, 2012 at 02:26:09PM +0200, Michael S. Tsirkin wrote: > > > > On Tue, Nov 20, 201

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread David Gibson
On Wed, Nov 21, 2012 at 01:34:48PM +0200, Michael S. Tsirkin wrote: > On Wed, Nov 21, 2012 at 11:57:05AM +1100, David Gibson wrote: > > On Tue, Nov 20, 2012 at 02:26:09PM +0200, Michael S. Tsirkin wrote: > > > On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: > > > > > > > > On 19.11

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Michael S. Tsirkin
On Wed, Nov 21, 2012 at 11:09:50AM +0100, Alexander Graf wrote: > > > On 21.11.2012, at 06:00, David Gibson wrote: > > > On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: > >> > >> On 19.11.2012, at 23:51, David Gibson wrote: > >> > >>> On Mon, Nov 19, 2012 at 05:34:12PM +0100,

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Michael S. Tsirkin
On Wed, Nov 21, 2012 at 11:57:05AM +1100, David Gibson wrote: > On Tue, Nov 20, 2012 at 02:26:09PM +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: > > > > > > On 19.11.2012, at 23:51, David Gibson wrote: > > > > > > > On Mon, Nov 19, 2012 at 05

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-21 Thread Alexander Graf
On 21.11.2012, at 06:00, David Gibson wrote: > On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: >> >> On 19.11.2012, at 23:51, David Gibson wrote: >> >>> On Mon, Nov 19, 2012 at 05:34:12PM +0100, Alexander Graf wrote: On 13.11.2012, at 03:47, David Gibson wrote:

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-20 Thread David Gibson
On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: > > On 19.11.2012, at 23:51, David Gibson wrote: > > > On Mon, Nov 19, 2012 at 05:34:12PM +0100, Alexander Graf wrote: > >> > >> On 13.11.2012, at 03:47, David Gibson wrote: > >> > >>> From: Alexey Kardashevskiy > >>> > >>> In fu

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-20 Thread David Gibson
On Tue, Nov 20, 2012 at 02:26:09PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: > > > > On 19.11.2012, at 23:51, David Gibson wrote: > > > > > On Mon, Nov 19, 2012 at 05:34:12PM +0100, Alexander Graf wrote: > > >> > > >> On 13.11.2012, at 03:

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-20 Thread Michael S. Tsirkin
On Tue, Nov 20, 2012 at 10:27:11AM +0100, Alexander Graf wrote: > > On 19.11.2012, at 23:51, David Gibson wrote: > > > On Mon, Nov 19, 2012 at 05:34:12PM +0100, Alexander Graf wrote: > >> > >> On 13.11.2012, at 03:47, David Gibson wrote: > >> > >>> From: Alexey Kardashevskiy > >>> > >>> In fu

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-20 Thread Alexander Graf
On 19.11.2012, at 23:51, David Gibson wrote: > On Mon, Nov 19, 2012 at 05:34:12PM +0100, Alexander Graf wrote: >> >> On 13.11.2012, at 03:47, David Gibson wrote: >> >>> From: Alexey Kardashevskiy >>> >>> In future (with VFIO) we will have multiple PCI host bridges on >>> pseries. Each one ne

Re: [Qemu-devel] [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges

2012-11-19 Thread David Gibson
On Mon, Nov 19, 2012 at 05:34:12PM +0100, Alexander Graf wrote: > > On 13.11.2012, at 03:47, David Gibson wrote: > > > From: Alexey Kardashevskiy > > > > In future (with VFIO) we will have multiple PCI host bridges on > > pseries. Each one needs a unique LIOBN (IOMMU id). At the moment we > >