From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Wed, 25 Jun 2014 12:08:12 +0000 Subject: Re: [PATCH V2] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value Message-Id: <53AABBAC.6070400@suse.de> List-Id: References: <1402858027-11296-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> In-Reply-To: <1402858027-11296-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Aneesh Kumar K.V" , benh@kernel.crashing.org, paulus@samba.org Cc: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 507C11A000D for ; Wed, 25 Jun 2014 22:08:17 +1000 (EST) Message-ID: <53AABBAC.6070400@suse.de> Date: Wed, 25 Jun 2014 14:08:12 +0200 From: Alexander Graf MIME-Version: 1.0 To: "Aneesh Kumar K.V" , benh@kernel.crashing.org, paulus@samba.org Subject: Re: [PATCH V2] KVM: PPC: BOOK3S: HV: Use base page size when comparing against slb value References: <1402858027-11296-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> In-Reply-To: <1402858027-11296-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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