From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Date: Thu, 12 Jan 2012 04:16:32 +0000 Subject: Re: [RFC PATCH 04/16] KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv Message-Id: <20120112041632.GA32487@drongo> List-Id: References: <20111221013420.GD8378@schlenkerla.am.freescale.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexander Graf Cc: Scott Wood , linuxppc-dev , KVM mailing list , kvm-ppc@vger.kernel.org On Mon, Jan 09, 2012 at 04:35:52PM +0100, Alexander Graf wrote: > Paul, does this work for you? IIRC you need this code to be > available from real mode, which powerpc.c isn't in, right? We don't need to allocated LPIDs from real mode, so it should be OK. book3s_64_mmu_hv.c is not real mode code, and it gets compiled into the KVM module. Paul. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 12 Jan 2012 15:16:32 +1100 From: Paul Mackerras To: Alexander Graf Subject: Re: [RFC PATCH 04/16] KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv Message-ID: <20120112041632.GA32487@drongo> References: <20111221013420.GD8378@schlenkerla.am.freescale.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Cc: Scott Wood , linuxppc-dev , kvm-ppc@vger.kernel.org, KVM mailing list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Jan 09, 2012 at 04:35:52PM +0100, Alexander Graf wrote: > Paul, does this work for you? IIRC you need this code to be > available from real mode, which powerpc.c isn't in, right? We don't need to allocated LPIDs from real mode, so it should be OK. book3s_64_mmu_hv.c is not real mode code, and it gets compiled into the KVM module. Paul. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: Re: [RFC PATCH 04/16] KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv Date: Thu, 12 Jan 2012 15:16:32 +1100 Message-ID: <20120112041632.GA32487@drongo> References: <20111221013420.GD8378@schlenkerla.am.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Scott Wood , linuxppc-dev , KVM mailing list , kvm-ppc@vger.kernel.org To: Alexander Graf Return-path: Content-Disposition: inline In-Reply-To: Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Mon, Jan 09, 2012 at 04:35:52PM +0100, Alexander Graf wrote: > Paul, does this work for you? IIRC you need this code to be > available from real mode, which powerpc.c isn't in, right? We don't need to allocated LPIDs from real mode, so it should be OK. book3s_64_mmu_hv.c is not real mode code, and it gets compiled into the KVM module. Paul.