From: Aneesh Kumar K.V Date: Mon, 29 Sep 2014 08:02:38 +0000 (+0530) Subject: KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode X-Git-Tag: fixes-for-v3.18-merge-window~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cec26bc3c125b5dd12a02f04133cd91eae3f1622;p=pandora-kernel.git KVM: PPC: BOOK3S: HV: CMA: Reserve cma region only in hypervisor mode We use cma reserved area for creating guest hash page table. Don't do the reservation in non-hypervisor mode. This avoids unnecessary CMA reservation when booting with limited memory configs like fadump and kdump. Signed-off-by: Aneesh Kumar K.V Reviewed-by: Alexander Graf Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed