Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-03-18 Thread Alex Williamson
On Mon, 2013-03-18 at 14:53 +1100, Alexey Kardashevskiy wrote: > On 20/02/13 15:33, Alex Williamson wrote: > > On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: > >> On 20/02/13 14:47, Alex Williamson wrote: > >>> On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: >

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-03-18 Thread Alex Williamson
On Mon, 2013-03-18 at 14:53 +1100, Alexey Kardashevskiy wrote: On 20/02/13 15:33, Alex Williamson wrote: On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-03-17 Thread Alexey Kardashevskiy
On 20/02/13 15:33, Alex Williamson wrote: On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-03-17 Thread Alexey Kardashevskiy
On 20/02/13 15:33, Alex Williamson wrote: On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-24 Thread David Gibson
On Thu, Feb 21, 2013 at 09:11:13PM -0700, Alex Williamson wrote: > On Fri, 2013-02-22 at 11:04 +1100, David Gibson wrote: > > On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: > > > On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: > > > > On Mon, Feb 18, 2013 at 10:24:00PM

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-24 Thread David Gibson
On Thu, Feb 21, 2013 at 09:11:13PM -0700, Alex Williamson wrote: On Fri, 2013-02-22 at 11:04 +1100, David Gibson wrote: On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-21 Thread Alex Williamson
On Fri, 2013-02-22 at 11:04 +1100, David Gibson wrote: > On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: > > On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: > > > On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: > > > > On Mon, 2013-02-18 at 17:15 +1100,

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-21 Thread David Gibson
On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: > On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: > > On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: > > > On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: [snip] > > > Adding the window size

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-21 Thread David Gibson
On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: [snip] Adding the window size to sysfs

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-21 Thread Alex Williamson
On Fri, 2013-02-22 at 11:04 +1100, David Gibson wrote: On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: > On 20/02/13 14:47, Alex Williamson wrote: > > On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: > >> On 20/02/13 07:11, Alex Williamson wrote: > >>> On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: > On Mon,

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alexey Kardashevskiy
On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: > On 20/02/13 07:11, Alex Williamson wrote: > > On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: > >> On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: > >>> On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alexey Kardashevskiy
On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: > On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: > > On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: > > > On 13/02/13 04:15, Alex Williamson wrote: > > > > On Wed, 2013-02-13 at 01:42 +1100, Alexey

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Tue, 2013-02-19 at 16:48 +1100, Alexey Kardashevskiy wrote: > On 19/02/13 16:24, Alex Williamson wrote: > > On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: > >> On 13/02/13 04:15, Alex Williamson wrote: > >>> On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: >

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Tue, 2013-02-19 at 16:48 +1100, Alexey Kardashevskiy wrote: On 19/02/13 16:24, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote:

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alexey Kardashevskiy
On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote:

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alexey Kardashevskiy
On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-19 Thread Alex Williamson
On Wed, 2013-02-20 at 15:20 +1100, Alexey Kardashevskiy wrote: On 20/02/13 14:47, Alex Williamson wrote: On Wed, 2013-02-20 at 13:31 +1100, Alexey Kardashevskiy wrote: On 20/02/13 07:11, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread David Gibson
On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: > On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: > > On 13/02/13 04:15, Alex Williamson wrote: > > > On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: > > >> On 12/02/13 16:07, Alex Williamson wrote: > >

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread Alexey Kardashevskiy
On 19/02/13 16:24, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100,

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread Alex Williamson
On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: > On 13/02/13 04:15, Alex Williamson wrote: > > On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: > >> On 12/02/13 16:07, Alex Williamson wrote: > >>> On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: >

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread Alex Williamson
On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread Alexey Kardashevskiy
On 19/02/13 16:24, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100,

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-18 Thread David Gibson
On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex Williamson wrote: On Mon, 2013-02-18 at 17:15 +1100, Alexey Kardashevskiy wrote: On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue,

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-17 Thread Alexey Kardashevskiy
On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-17 Thread Alexey Kardashevskiy
On 13/02/13 04:15, Alex Williamson wrote: On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-12 Thread Alex Williamson
On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: > On 12/02/13 16:07, Alex Williamson wrote: > > On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: > >> Having this patch in a tree, adding new nodes in sysfs > >> for IOMMU groups is going to be easier. > >> > >> The first

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-12 Thread Alexey Kardashevskiy
On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to be easier. The first candidate for this change is a "dma-window-size" property which tells a size of a

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-12 Thread Alexey Kardashevskiy
On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to be easier. The first candidate for this change is a dma-window-size property which tells a size of a DMA

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-12 Thread Alex Williamson
On Wed, 2013-02-13 at 01:42 +1100, Alexey Kardashevskiy wrote: On 12/02/13 16:07, Alex Williamson wrote: On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to be easier. The first candidate for

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-11 Thread Alex Williamson
On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: > Having this patch in a tree, adding new nodes in sysfs > for IOMMU groups is going to be easier. > > The first candidate for this change is a "dma-window-size" > property which tells a size of a DMA window of the specific > IOMMU

[PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-11 Thread Alexey Kardashevskiy
Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to be easier. The first candidate for this change is a "dma-window-size" property which tells a size of a DMA window of the specific IOMMU group which can be used later for locked pages accounting. Signed-off-by:

[PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-11 Thread Alexey Kardashevskiy
Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to be easier. The first candidate for this change is a dma-window-size property which tells a size of a DMA window of the specific IOMMU group which can be used later for locked pages accounting. Signed-off-by:

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-11 Thread Alex Williamson
On Tue, 2013-02-12 at 15:06 +1100, Alexey Kardashevskiy wrote: Having this patch in a tree, adding new nodes in sysfs for IOMMU groups is going to be easier. The first candidate for this change is a dma-window-size property which tells a size of a DMA window of the specific IOMMU group