Re: [RFC PATCH 04/16] KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv

2012-01-11 Thread Paul Mackerras
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,

Re: [RFC PATCH 04/16] KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv

2012-01-09 Thread Alexander Graf
On 21.12.2011, at 02:34, Scott Wood wrote: We'll use it on e500mc as well. Signed-off-by: Scott Wood scottw...@freescale.com --- arch/powerpc/include/asm/kvm_book3s.h |3 ++ arch/powerpc/include/asm/kvm_booke.h |3 ++ arch/powerpc/include/asm/kvm_ppc.h|5

[RFC PATCH 04/16] KVM: PPC: factor out lpid allocator from book3s_64_mmu_hv

2011-12-20 Thread Scott Wood
We'll use it on e500mc as well. Signed-off-by: Scott Wood scottw...@freescale.com --- arch/powerpc/include/asm/kvm_book3s.h |3 ++ arch/powerpc/include/asm/kvm_booke.h |3 ++ arch/powerpc/include/asm/kvm_ppc.h|5 arch/powerpc/kvm/book3s_64_mmu_hv.c | 26