[PATCH] powerpc/kvm/cma: Fix panic introduces by signed shift operation

2014-09-02 Thread Laurent Dufour
ment to avoid sign extension. Among this fix, another shift operation which may lead to signed extended value too is also fixed. Cc: Alexey Kardashevskiy Cc: Paul Mackerras Cc: Alexander Graf Cc: Aneesh Kumar K.V Cc: Joonsoo Kim Cc: Benjamin Herrenschmidt Signed-off-by: Laurent Dufour --- arc

[PATCH] PPC: KVM: Introduce hypervisor call H_GET_TCE

2014-02-21 Thread Laurent Dufour
-by: Laurent Dufour --- arch/powerpc/include/asm/kvm_ppc.h |2 ++ arch/powerpc/kvm/book3s_64_vio_hv.c | 28 arch/powerpc/kvm/book3s_hv_rmhandlers.S |2 +- 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm

Re: [PATCH] PPC: KVM: Introduce hypervisor call H_GET_TCE

2014-02-25 Thread Laurent Dufour
On 21/02/2014 16:57, Alexander Graf wrote: > > On 21.02.2014, at 16:31, Laurent Dufour wrote: > >> This fix introduces the H_GET_TCE hypervisor call which is basically the >> reverse of H_PUT_TCE, as defined in the Power Architecture Platform >> Requirements (PAPR). &