Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 13.06.14 16:28, Aneesh Kumar K.V wrote: >> Alexander Graf writes: >> >>> On 13.06.14 09:23, Aneesh Kumar K.V wrote: With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns actual page size used. Add a new function to return b

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Alexander Graf
On 13.06.14 16:28, Aneesh Kumar K.V wrote: Alexander Graf writes: On 13.06.14 09:23, Aneesh Kumar K.V wrote: With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns actual page size used. Add a new function to return base page size and use that to compare against

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Aneesh Kumar K.V
Alexander Graf writes: > On 13.06.14 09:23, Aneesh Kumar K.V wrote: >> With guest supporting Multiple page size per segment (MPSS), >> hpte_page_size returns 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

Re: [PATCH] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value

2014-06-13 Thread Alexander Graf
On 13.06.14 09:23, Aneesh Kumar K.V wrote: With guest supporting Multiple page size per segment (MPSS), hpte_page_size returns 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 Why? What does this fix? Is th