From: Benjamin Herrenschmidt Date: Mon, 1 Jul 2013 22:13:52 +0000 (+1000) Subject: powerpc: Handle both new style and old style reserve maps X-Git-Tag: v3.11-rc1~94^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c039e3a8ddd52139d0f81711ecd757772f868b22;p=pandora-kernel.git powerpc: Handle both new style and old style reserve maps When Jeremy introduced the new device-tree based reserve map, he made the code in early_reserve_mem_dt() bail out if it found one, thus not reserving the initrd nor processing the old style map. I hit problems with variants of kexec that didn't put the initrd in the new style map either. While these could/will be fixed, I believe we should be safe here and rather reserve more than not enough. We could have a firmware passing stuff via the new style map, and in the middle, a kexec that knows nothing about it and adding other things to the old style map. I don't see a big issue with processing both and reserving everything that needs to be. memblock_reserve() supports overlaps fine these days. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed