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

2017-02-09 Thread David Gibson
On Fri, Feb 10, 2017 at 01:50:31PM +1100, Alexey Kardashevskiy wrote: > On 09/02/17 17:41, David Gibson wrote: > > On Tue, Feb 07, 2017 at 06:17:11PM +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

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

2017-02-09 Thread Alexey Kardashevskiy
On 09/02/17 17:41, David Gibson wrote: > On Tue, Feb 07, 2017 at 06:17:11PM +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 sav

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

2017-02-09 Thread David Gibson
On Tue, Feb 07, 2017 at 06:17:11PM +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 bac

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

2017-02-06 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 tr