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.