aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/mpic.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2014-06-15 14:47:07 -0400
committerAlexander Graf <agraf@suse.de>2014-06-25 08:07:06 -0400
commit341acbb3aabbcfbf069d7de4ad35f51b58176faf (patch)
treef6ea84649db60b6bc5a56bf2e062c8db29046bbd /arch/powerpc/include/asm/mpic.h
parent511c66818d87db2a8931e7f7f92c7904bdd84f72 (diff)
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 <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/mpic.h')
0 files changed, 0 insertions, 0 deletions