From: Dave Carroll
This patch adds a printk companion to replace the udbg progress function
when initmem is freed.
Suggested-by: Milton Miller
Suggested-by: Benjamin Herrenschmidt
Signed-off-by: Dave Carroll
---
[v2] This is a rebase of the original patch to Linus' current tree
From: Dave Carroll
The free_initmem function is basically duplicated in mm/init_32,
and init_64, and is moved to the common 32/64-bit mm/mem.c.
All other sections except init were removed in v2.6.15 by
6c45ab992e4299c869fb26427944a8f8ea177024 (powerpc: Remove section
free() and linker script
From: Dave Carroll
This patch adds a printk companion to replace the udbg progress function
when initmem is freed.
Suggested-by: Milton Miller
Suggested-by: Benjamin Herrenschmidt
Signed-off-by: Dave Carroll
---
arch/powerpc/include/asm/setup.h |2 ++
arch/powerpc/kernel/setup
From: Dave Carroll
The free_initmem function is basically duplicated in mm/init_32,
and init_64, and is moved to the common 32/64-bit mm/mem.c.
All other sections except init were removed in v2.6.15 by
6c45ab992e4299c869fb26427944a8f8ea177024 (powerpc: Remove section
free() and linker script
From: Dave Carroll
When using 64K pages with a separate cpio rootfs, U-Boot will align
the rootfs on a 4K page boundary. When the memory is reserved, and
subsequent early memblock_alloc is called, it will allocate memory
between the 64K page alignment and reserved memory. When the reserved
From: Dave Carroll
When using 64K pages with a separate cpio rootfs, U-Boot will align
the rootfs on a 4K page boundary. When the memory is reserved, and
subsequent early memblock_alloc is called, it will allocate memory
between the 64K page alignment and reserved memory. When the reserved
From: Dave Carroll
When using 64K pages with a separate cpio rootfs, U-Boot will align
the rootfs on a 4K page boundary. When the memory is reserved, and
subsequent early memblock_alloc is called, it will allocate memory
between the 64K page alignment and reserved memory. When the reserved
device tree if it overlaps with the reserved memory
for initrd.
Many thanks to Milton Miller for his input on this patch.
Signed-off-by: Dave Carroll
---
* This patch is based on Linus' current tree
arch/powerpc/kernel/prom.c | 11 ---
arch/powerpc/mm/init_32.c |5 -
et me know ...
Thanks,
-Dave Carroll
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
freed, it is done so by pages, causing the
early memblock_alloc requests to be re-used, which in my case, caused
the device-tree to be clobbered.
This patch forces the reserved memory for initrd to be kernel page
aligned, and adds the same range extension when freeing initrd.
Signed-off-by: Dave
>On Sun, 22 May 2011 about 15:17, Milton Miller wrote:
>>On Sat, 21 May 2011 about 11:05:27 -0600, Dave Carroll wrote:>
>> When using 64K pages with a separate cpio rootfs, U-Boot will align
>> the rootfs on a 4K page boundary. When the memory is reserved, and
>> subs
freed, it is done so by pages, causing the
early memblock_alloc requests to be re-used, which in my case, caused
the device-tree to be clobbered.
This patch forces the reserved memory for initrd to be kernel page
aligned, and adds the same range extension when freeing initrd.
Signed-off-by: Dave
freed, it is done
so by pages, causing the early memblock_alloc requests to be re-used, which in
my case, caused the device-tree to be clobbered.
This patch forces initrd to be kernel page aligned, to match the mechanism used
to free reserved memory.
Signed-off-by: Dave Carroll
---
arch/powerpc
freed, it is done so by pages,
causing the early memblock_alloc requests to be re-used, which in my case,
caused
the device-tree to be clobbered.
This patch forces all early reserved memory to be kernel page aligned, to match
the mechanism used to free reserved memory.
Signed-off-by: Dave Carroll
14 matches
Mail list logo