spapr: Support ibm, lrdr-capacity device tree property
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Thu, 2 Jul 2015 06:23:15 +0000 (16:23 +1000)
committerAlexander Graf <agraf@suse.de>
Tue, 7 Jul 2015 15:44:51 +0000 (17:44 +0200)
commitdb4ef288f4a6d285b39dc8ac477092d76971a300
tree30935beaab5fbca18a62162d20bf2f16e33ae393
parent9e734e3deefd460188ea9bd107b65a528ccb7255
spapr: Support ibm, lrdr-capacity device tree property

Add support for ibm,lrdr-capacity since this is needed by the guest
kernel to know about the possible hot-pluggable CPUs and Memory. With
this, pseries kernels will start reporting correct maxcpus in
/sys/devices/system/cpu/possible.

Also define the minimum hotpluggable memory size as 256MB.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[agraf: Fix compile error on 32bit hosts]
Signed-off-by: Alexander Graf <agraf@suse.de>
docs/specs/ppc-spapr-hotplug.txt
hw/ppc/spapr_rtas.c
include/hw/ppc/spapr.h