]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Convert RMA allocation into generic code
authorAlexander Graf <agraf@suse.de>
Mon, 16 Jan 2012 15:50:10 +0000 (16:50 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:57:25 +0000 (14:57 +0200)
commitb4e706111d501991c59d2af23a299ab52a06b03d
treeb341991a0653307f026a6be570b8de5c62b40ea1
parent9cf7c0e465197fa97972428e93162318e917f8ed
KVM: PPC: Convert RMA allocation into generic code

We have code to allocate big chunks of linear memory on bootup for later use.
This code is currently used for RMA allocation, but can be useful beyond that
extent.

Make it generic so we can reuse it for other stuff later.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kernel/setup_64.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_builtin.c