KVM: PPC: Book3S HV: Add helpers for lock/unlock hpte
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 20 Mar 2015 09:39:43 +0000 (20:39 +1100)
committerAlexander Graf <agraf@suse.de>
Tue, 21 Apr 2015 13:21:29 +0000 (15:21 +0200)
commita4bd6eb07ca72d21a7a34499ad34cfef6f527d4e
treebba74c5424652cc64edb0911da97a670212c418d
parent31037ecad275e9ad9bc671c34f72b495cf708ca3
KVM: PPC: Book3S HV: Add helpers for lock/unlock hpte

This adds helper routines for locking and unlocking HPTEs, and uses
them in the rest of the code.  We don't change any locking rules in
this patch.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_book3s_64.h
arch/powerpc/kvm/book3s_64_mmu_hv.c
arch/powerpc/kvm/book3s_hv_rm_mmu.c