From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH V2] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value Date: Wed, 25 Jun 2014 14:08:12 +0200 Message-ID: <53AABBAC.6070400@suse.de> References: <1402858027-11296-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: "Aneesh Kumar K.V" , benh@kernel.crashing.org, paulus@samba.org Return-path: In-Reply-To: <1402858027-11296-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 15.06.14 20:47, Aneesh Kumar K.V wrote: > 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 Thanks, applied to for-3.16. Alex