KVM: PPC: BOOK3S: HV: Update compute_tlbie_rb to handle 16MB base page
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 29 Jun 2014 11:17:30 +0000 (16:47 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 14:09:17 +0000 (16:09 +0200)
commit63fff5c1e3695ff5c9ad8c198a3b03ca4c0c73a8
tree4e5eed669038194f1b7187f97dcaf406a408481b
parent7a58777a33128b28379851b94070934b17ed9176
KVM: PPC: BOOK3S: HV: Update compute_tlbie_rb to handle 16MB base page

When calculating the lower bits of AVA field, use the shift
count based on the base page size. Also add the missing segment
size and remove stale comment.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-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_hv.c