Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-10-17 Thread David Gibson
On Mon, Oct 17, 2016 at 05:06:28PM +1100, Alexey Kardashevskiy wrote: > So far I got one question, below. > > > On 23/09/16 17:12, David Gibson wrote: > > On Wed, Sep 21, 2016 at 04:56:52PM +1000, Alexey Kardashevskiy wrote: > >> On 07/09/16 19:09, Alexey Kardashevskiy wrote: > >>> On 29/08/16

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-10-17 Thread Alexey Kardashevskiy
So far I got one question, below. On 23/09/16 17:12, David Gibson wrote: > On Wed, Sep 21, 2016 at 04:56:52PM +1000, Alexey Kardashevskiy wrote: >> On 07/09/16 19:09, Alexey Kardashevskiy wrote: >>> On 29/08/16 23:27, David Gibson wrote: On Mon, Aug 29, 2016 at 04:35:15PM +1000, Alexey

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-09-23 Thread David Gibson
On Wed, Sep 21, 2016 at 04:56:52PM +1000, Alexey Kardashevskiy wrote: > On 07/09/16 19:09, Alexey Kardashevskiy wrote: > > On 29/08/16 23:27, David Gibson wrote: > >> On Mon, Aug 29, 2016 at 04:35:15PM +1000, Alexey Kardashevskiy wrote: > >>> On 18/08/16 10:22, Alexey Kardashevskiy wrote: >

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-09-21 Thread Alexey Kardashevskiy
On 07/09/16 19:09, Alexey Kardashevskiy wrote: > On 29/08/16 23:27, David Gibson wrote: >> On Mon, Aug 29, 2016 at 04:35:15PM +1000, Alexey Kardashevskiy wrote: >>> On 18/08/16 10:22, Alexey Kardashevskiy wrote: On 17/08/16 13:17, David Gibson wrote: > On Fri, Aug 12, 2016 at 09:22:01AM

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-09-07 Thread Alexey Kardashevskiy
On 29/08/16 23:27, David Gibson wrote: > On Mon, Aug 29, 2016 at 04:35:15PM +1000, Alexey Kardashevskiy wrote: >> On 18/08/16 10:22, Alexey Kardashevskiy wrote: >>> On 17/08/16 13:17, David Gibson wrote: On Fri, Aug 12, 2016 at 09:22:01AM -0600, Alex Williamson wrote: > On Fri, 12 Aug

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-29 Thread David Gibson
On Mon, Aug 29, 2016 at 04:35:15PM +1000, Alexey Kardashevskiy wrote: > On 18/08/16 10:22, Alexey Kardashevskiy wrote: > > On 17/08/16 13:17, David Gibson wrote: > >> On Fri, Aug 12, 2016 at 09:22:01AM -0600, Alex Williamson wrote: > >>> On Fri, 12 Aug 2016 15:46:01 +1000 > >>> David Gibson

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-29 Thread Alexey Kardashevskiy
On 18/08/16 10:22, Alexey Kardashevskiy wrote: > On 17/08/16 13:17, David Gibson wrote: >> On Fri, Aug 12, 2016 at 09:22:01AM -0600, Alex Williamson wrote: >>> On Fri, 12 Aug 2016 15:46:01 +1000 >>> David Gibson wrote: >>> On Wed, Aug 10, 2016 at 10:46:30AM

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-17 Thread Alexey Kardashevskiy
On 17/08/16 13:17, David Gibson wrote: > On Fri, Aug 12, 2016 at 09:22:01AM -0600, Alex Williamson wrote: >> On Fri, 12 Aug 2016 15:46:01 +1000 >> David Gibson wrote: >> >>> On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: On Wed, 10 Aug 2016

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-17 Thread Alexey Kardashevskiy
On 15/08/16 21:07, David Gibson wrote: > On Fri, Aug 12, 2016 at 04:12:17PM +1000, Alexey Kardashevskiy wrote: >> On 12/08/16 15:46, David Gibson wrote: >>> On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: On Wed, 10 Aug 2016 15:37:17 +1000 Alexey Kardashevskiy

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-17 Thread David Gibson
On Fri, Aug 12, 2016 at 09:22:01AM -0600, Alex Williamson wrote: > On Fri, 12 Aug 2016 15:46:01 +1000 > David Gibson wrote: > > > On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: > > > On Wed, 10 Aug 2016 15:37:17 +1000 > > > Alexey Kardashevskiy

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-15 Thread Alex Williamson
On Mon, 15 Aug 2016 13:59:47 +1000 Paul Mackerras wrote: > On Tue, Aug 09, 2016 at 06:16:30AM -0600, Alex Williamson wrote: > > On Tue, 9 Aug 2016 15:19:39 +1000 > > Alexey Kardashevskiy wrote: > > > > > On 09/08/16 02:43, Alex Williamson wrote: > > > >

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-15 Thread David Gibson
On Fri, Aug 12, 2016 at 04:12:17PM +1000, Alexey Kardashevskiy wrote: > On 12/08/16 15:46, David Gibson wrote: > > On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: > >> On Wed, 10 Aug 2016 15:37:17 +1000 > >> Alexey Kardashevskiy wrote: > >> > >>> On 09/08/16

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-14 Thread Paul Mackerras
On Tue, Aug 09, 2016 at 06:16:30AM -0600, Alex Williamson wrote: > On Tue, 9 Aug 2016 15:19:39 +1000 > Alexey Kardashevskiy wrote: > > > On 09/08/16 02:43, Alex Williamson wrote: > > > > > > I think you need to take a closer look of the lifecycle of a container, > > > having a

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-12 Thread Alex Williamson
On Fri, 12 Aug 2016 15:46:01 +1000 David Gibson wrote: > On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: > > On Wed, 10 Aug 2016 15:37:17 +1000 > > Alexey Kardashevskiy wrote: > > > > > On 09/08/16 22:16, Alex Williamson wrote:

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-12 Thread Alexey Kardashevskiy
On 12/08/16 15:46, David Gibson wrote: > On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: >> On Wed, 10 Aug 2016 15:37:17 +1000 >> Alexey Kardashevskiy wrote: >> >>> On 09/08/16 22:16, Alex Williamson wrote: On Tue, 9 Aug 2016 15:19:39 +1000 Alexey

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-11 Thread David Gibson
On Wed, Aug 03, 2016 at 06:40:55PM +1000, Alexey Kardashevskiy wrote: > This exports helpers which are needed to keep a VFIO container in > memory while there are external users such as KVM. > > Signed-off-by: Alexey Kardashevskiy I'll address Alex W's broader concerns in a

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-11 Thread David Gibson
On Wed, Aug 10, 2016 at 10:46:30AM -0600, Alex Williamson wrote: > On Wed, 10 Aug 2016 15:37:17 +1000 > Alexey Kardashevskiy wrote: > > > On 09/08/16 22:16, Alex Williamson wrote: > > > On Tue, 9 Aug 2016 15:19:39 +1000 > > > Alexey Kardashevskiy wrote: > > >

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-10 Thread Alex Williamson
On Wed, 10 Aug 2016 15:37:17 +1000 Alexey Kardashevskiy wrote: > On 09/08/16 22:16, Alex Williamson wrote: > > On Tue, 9 Aug 2016 15:19:39 +1000 > > Alexey Kardashevskiy wrote: > > > >> On 09/08/16 02:43, Alex Williamson wrote: > >>> On Wed, 3 Aug 2016

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-09 Thread Alexey Kardashevskiy
On 09/08/16 22:16, Alex Williamson wrote: > On Tue, 9 Aug 2016 15:19:39 +1000 > Alexey Kardashevskiy wrote: > >> On 09/08/16 02:43, Alex Williamson wrote: >>> On Wed, 3 Aug 2016 18:40:55 +1000 >>> Alexey Kardashevskiy wrote: >>> This exports helpers

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-09 Thread Alex Williamson
On Tue, 9 Aug 2016 15:19:39 +1000 Alexey Kardashevskiy wrote: > On 09/08/16 02:43, Alex Williamson wrote: > > On Wed, 3 Aug 2016 18:40:55 +1000 > > Alexey Kardashevskiy wrote: > > > >> This exports helpers which are needed to keep a VFIO container in > >>

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-08 Thread Alexey Kardashevskiy
On 09/08/16 02:43, Alex Williamson wrote: > On Wed, 3 Aug 2016 18:40:55 +1000 > Alexey Kardashevskiy wrote: > >> This exports helpers which are needed to keep a VFIO container in >> memory while there are external users such as KVM. >> >> Signed-off-by: Alexey Kardashevskiy

Re: [PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-08 Thread Alex Williamson
On Wed, 3 Aug 2016 18:40:55 +1000 Alexey Kardashevskiy wrote: > This exports helpers which are needed to keep a VFIO container in > memory while there are external users such as KVM. > > Signed-off-by: Alexey Kardashevskiy > --- > drivers/vfio/vfio.c

[PATCH kernel 14/15] vfio/spapr_tce: Export container API for external users

2016-08-03 Thread Alexey Kardashevskiy
This exports helpers which are needed to keep a VFIO container in memory while there are external users such as KVM. Signed-off-by: Alexey Kardashevskiy --- drivers/vfio/vfio.c | 30 ++ drivers/vfio/vfio_iommu_spapr_tce.c | 16