Re: [PATCH kernel v3 7/7] KVM: PPC: Add support for multiple-TCE hcalls

2016-02-29 Thread Paul Mackerras
On Thu, Feb 18, 2016 at 01:39:52PM +1100, Alexey Kardashevskiy wrote: > > The latest powerkvm kernel passes @thp instead of NULL and check for it > below in addition to (shift > PAGE_SHIFT), should it be fixed here as well? > > Is that possible for __find_linux_pte_or_hugepte() return thp==true

Re: [PATCH kernel v3 7/7] KVM: PPC: Add support for multiple-TCE hcalls

2016-02-17 Thread Alexey Kardashevskiy
On 02/15/2016 12:55 PM, Alexey Kardashevskiy wrote: This adds real and virtual mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for user space emulated devices such as IBMVIO devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in

Re: [PATCH kernel v3 7/7] KVM: PPC: Add support for multiple-TCE hcalls

2016-02-15 Thread David Gibson
On Tue, Feb 16, 2016 at 12:05:56PM +1100, Paul Mackerras wrote: > On Tue, Feb 16, 2016 at 11:40:58AM +1100, David Gibson wrote: > > On Mon, Feb 15, 2016 at 12:55:09PM +1100, Alexey Kardashevskiy wrote: > > > This adds real and virtual mode handlers for the H_PUT_TCE_INDIRECT and > > > H_STUFF_TCE

Re: [PATCH kernel v3 7/7] KVM: PPC: Add support for multiple-TCE hcalls

2016-02-15 Thread Paul Mackerras
On Tue, Feb 16, 2016 at 11:40:58AM +1100, David Gibson wrote: > On Mon, Feb 15, 2016 at 12:55:09PM +1100, Alexey Kardashevskiy wrote: > > This adds real and virtual mode handlers for the H_PUT_TCE_INDIRECT and > > H_STUFF_TCE hypercalls for user space emulated devices such as IBMVIO > > devices or

Re: [PATCH kernel v3 7/7] KVM: PPC: Add support for multiple-TCE hcalls

2016-02-15 Thread David Gibson
On Mon, Feb 15, 2016 at 12:55:09PM +1100, Alexey Kardashevskiy wrote: > This adds real and virtual mode handlers for the H_PUT_TCE_INDIRECT and > H_STUFF_TCE hypercalls for user space emulated devices such as IBMVIO > devices or emulated PCI. These calls allow adding multiple entries > (up to 512)

[PATCH kernel v3 7/7] KVM: PPC: Add support for multiple-TCE hcalls

2016-02-14 Thread Alexey Kardashevskiy
This adds real and virtual mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for user space emulated devices such as IBMVIO devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in one call which saves time on transition between kernel