Re: [PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-07 Thread David Gibson
On Tue, Mar 07, 2017 at 10:07:27PM +1100, Alexey Kardashevskiy wrote: > On 06/03/17 16:04, Alexey Kardashevskiy wrote: > > On 06/03/17 15:30, David Gibson wrote: > >> On Fri, Mar 03, 2017 at 06:09:25PM +1100, Alexey Kardashevskiy wrote: > >>> On 03/03/17 16:59, David Gibson wrote: > On Thu,

Re: [PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-07 Thread Alexey Kardashevskiy
On 06/03/17 16:04, Alexey Kardashevskiy wrote: > On 06/03/17 15:30, David Gibson wrote: >> On Fri, Mar 03, 2017 at 06:09:25PM +1100, Alexey Kardashevskiy wrote: >>> On 03/03/17 16:59, David Gibson wrote: On Thu, Mar 02, 2017 at 07:56:44PM +1100, Alexey Kardashevskiy wrote: > This allows

Re: [PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-05 Thread Alexey Kardashevskiy
On 06/03/17 15:30, David Gibson wrote: > On Fri, Mar 03, 2017 at 06:09:25PM +1100, Alexey Kardashevskiy wrote: >> On 03/03/17 16:59, David Gibson wrote: >>> On Thu, Mar 02, 2017 at 07:56:44PM +1100, Alexey Kardashevskiy wrote: This allows the host kernel to handle H_PUT_TCE,

Re: [PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-05 Thread David Gibson
On Fri, Mar 03, 2017 at 06:09:25PM +1100, Alexey Kardashevskiy wrote: > On 03/03/17 16:59, David Gibson wrote: > > On Thu, Mar 02, 2017 at 07:56:44PM +1100, Alexey Kardashevskiy wrote: > >> This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT > >> and H_STUFF_TCE requests targeted

Re: [PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-02 Thread Alexey Kardashevskiy
On 03/03/17 16:59, David Gibson wrote: > On Thu, Mar 02, 2017 at 07:56:44PM +1100, Alexey Kardashevskiy wrote: >> This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT >> and H_STUFF_TCE requests targeted an IOMMU TCE table used for VFIO >> without passing them to user space which

Re: [PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-02 Thread David Gibson
On Thu, Mar 02, 2017 at 07:56:44PM +1100, Alexey Kardashevskiy wrote: > This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT > and H_STUFF_TCE requests targeted an IOMMU TCE table used for VFIO > without passing them to user space which saves time on switching > to user space and

[PATCH kernel v6 10/10] KVM: PPC: VFIO: Add in-kernel acceleration for VFIO

2017-03-02 Thread Alexey Kardashevskiy
This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests targeted an IOMMU TCE table used for VFIO without passing them to user space which saves time on switching to user space and back. This adds H_PUT_TCE/H_PUT_TCE_INDIRECT/H_STUFF_TCE handlers to KVM. KVM