diff options
author | Aneesh Kumar K.V <[email protected]> | 2014-06-16 00:17:07 +0530 |
---|---|---|
committer | Alexander Graf <[email protected]> | 2014-06-25 14:07:06 +0200 |
commit | 341acbb3aabbcfbf069d7de4ad35f51b58176faf (patch) | |
tree | f6ea84649db60b6bc5a56bf2e062c8db29046bbd /net/lapb | |
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 <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions