Re: [PATCH kernel v2 05/11] KVM: PPC: Use preregistered memory API to access TCE list

2017-01-11 Thread David Gibson
On Wed, Jan 11, 2017 at 05:35:21PM +1100, Alexey Kardashevskiy wrote: > On 21/12/16 19:57, Alexey Kardashevskiy wrote: > > On 21/12/16 15:08, David Gibson wrote: > >> On Sun, Dec 18, 2016 at 12:28:54PM +1100, Alexey Kardashevskiy wrote: > >>> VFIO on sPAPR already implements guest memory

Re: [PATCH kernel v2 05/11] KVM: PPC: Use preregistered memory API to access TCE list

2017-01-10 Thread Alexey Kardashevskiy
On 21/12/16 19:57, Alexey Kardashevskiy wrote: > On 21/12/16 15:08, David Gibson wrote: >> On Sun, Dec 18, 2016 at 12:28:54PM +1100, Alexey Kardashevskiy wrote: >>> VFIO on sPAPR already implements guest memory pre-registration >>> when the entire guest RAM gets pinned. This can be used to

Re: [PATCH kernel v2 05/11] KVM: PPC: Use preregistered memory API to access TCE list

2016-12-21 Thread Alexey Kardashevskiy
On 21/12/16 15:08, David Gibson wrote: > On Sun, Dec 18, 2016 at 12:28:54PM +1100, Alexey Kardashevskiy wrote: >> VFIO on sPAPR already implements guest memory pre-registration >> when the entire guest RAM gets pinned. This can be used to translate >> the physical address of a guest page

Re: [PATCH kernel v2 05/11] KVM: PPC: Use preregistered memory API to access TCE list

2016-12-20 Thread David Gibson
On Sun, Dec 18, 2016 at 12:28:54PM +1100, Alexey Kardashevskiy wrote: > VFIO on sPAPR already implements guest memory pre-registration > when the entire guest RAM gets pinned. This can be used to translate > the physical address of a guest page containing the TCE list > from H_PUT_TCE_INDIRECT. >

[PATCH kernel v2 05/11] KVM: PPC: Use preregistered memory API to access TCE list

2016-12-17 Thread Alexey Kardashevskiy
VFIO on sPAPR already implements guest memory pre-registration when the entire guest RAM gets pinned. This can be used to translate the physical address of a guest page containing the TCE list from H_PUT_TCE_INDIRECT. This makes use of the pre-registrered memory API to access TCE list pages in