Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-16 Thread David Gibson
On Tue, May 15, 2012 at 12:34:03AM -0600, Alex Williamson wrote: > On Tue, 2012-05-15 at 12:03 +1000, David Gibson wrote: > > On Mon, May 14, 2012 at 11:11:42AM -0600, Alex Williamson wrote: > > > On Mon, 2012-05-14 at 11:16 +1000, David Gibson wrote: > > > > On Fri, May 11, 2012 at 04:55:41PM -060

Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-15 Thread Alex Williamson
On Tue, 2012-05-15 at 12:03 +1000, David Gibson wrote: > On Mon, May 14, 2012 at 11:11:42AM -0600, Alex Williamson wrote: > > On Mon, 2012-05-14 at 11:16 +1000, David Gibson wrote: > > > On Fri, May 11, 2012 at 04:55:41PM -0600, Alex Williamson wrote: > [snip] > > > > +struct iommu_group { > > > >

Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-15 Thread David Gibson
On Mon, May 14, 2012 at 11:11:42AM -0600, Alex Williamson wrote: > On Mon, 2012-05-14 at 11:16 +1000, David Gibson wrote: > > On Fri, May 11, 2012 at 04:55:41PM -0600, Alex Williamson wrote: [snip] > > > +struct iommu_group { > > > + struct kobject kobj; > > > + struct kobject *devices_kobj; > > >

Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-14 Thread Alex Williamson
On Mon, 2012-05-14 at 11:16 +1000, David Gibson wrote: > On Fri, May 11, 2012 at 04:55:41PM -0600, Alex Williamson wrote: > > IOMMU device groups are currently a rather vague associative notion > > with assembly required by the user or user level driver provider to > > do anything useful. This pat

Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-13 Thread David Gibson
On Fri, May 11, 2012 at 04:55:41PM -0600, Alex Williamson wrote: > IOMMU device groups are currently a rather vague associative notion > with assembly required by the user or user level driver provider to > do anything useful. This patch intends to grow the IOMMU group concept > into something a b

[Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-11 Thread Alex Williamson
IOMMU device groups are currently a rather vague associative notion with assembly required by the user or user level driver provider to do anything useful. This patch intends to grow the IOMMU group concept into something a bit more consumable. To do this, we first create an object representing t

Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-11 Thread Alex Williamson
On Fri, 2012-05-11 at 16:39 -0700, Greg KH wrote: > On Fri, May 11, 2012 at 04:55:41PM -0600, Alex Williamson wrote: > > IOMMU device groups are currently a rather vague associative notion > > with assembly required by the user or user level driver provider to > > do anything useful. This patch in

Re: [Qemu-devel] [PATCH 02/13] iommu: IOMMU Groups

2012-05-11 Thread Greg KH
On Fri, May 11, 2012 at 04:55:41PM -0600, Alex Williamson wrote: > IOMMU device groups are currently a rather vague associative notion > with assembly required by the user or user level driver provider to > do anything useful. This patch intends to grow the IOMMU group concept > into something a b