diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2014-06-15 14:47:07 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-25 08:07:06 -0400 |
commit | 341acbb3aabbcfbf069d7de4ad35f51b58176faf (patch) | |
tree | f6ea84649db60b6bc5a56bf2e062c8db29046bbd /arch/powerpc/include/asm/eeh_event.h | |
parent | 511c66818d87db2a8931e7f7f92c7904bdd84f72 (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/eeh_event.h')
0 files changed, 0 insertions, 0 deletions