From: Aneesh Kumar K.V Date: Sun, 15 Jun 2014 18:47:07 +0000 (+0530) Subject: KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value X-Git-Tag: omap-for-v3.17/fixes-against-rc2~251^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=341acbb3aabbcfbf069d7de4ad35f51b58176faf;p=pandora-kernel.git KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value With guests supporting Multiple page size per segment (MPSS), hpte_page_size returns the actual page size used. Add a new function to return base page size and use that to compare against the the page size calculated from SLB. Without this patch a hpte lookup can fail since we are comparing wrong page size in kvmppc_hv_find_lock_hpte. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Alexander Graf --- Reading git-diff-tree failed