Memory hotplugging is allowed only for multiples of section sizes. Section size could be huge (ex. 1GB for arm64 targets) thus limiting to add/remove lower chunks of memory. This patch allows drivers to add memory of subsection sizes which are then added to memblock. This does not create a separate memblock device nodes for newly added subsections until the whole of the memblock section is added. Bug: 170460867 Change-Id: I15749b5320340cba4d526e7ddb26a9cd6029c690 Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
51 KiB
51 KiB