Searched hist:c039e3a8ddd52139d0f81711ecd757772f868b22 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | prom.c | diff c039e3a8ddd52139d0f81711ecd757772f868b22 Mon Jul 01 17:13:52 CDT 2013 Benjamin Herrenschmidt <benh@kernel.crashing.org> 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 <benh@kernel.crashing.org>
|