[PATCH 2/2][v2] powerpc: Add printk companion for ppc_md.progress

2011-06-18 Thread Dave Carroll
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

[PATCH 1/2][v2] powerpc: Move free_initmem to common code

2011-06-18 Thread Dave Carroll
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

[PATCH 2/2] powerpc: Add printk companion for ppc_md.progress

2011-06-10 Thread Dave Carroll
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

[PATCH 1/2] powerpc: Move free_initmem to common code

2011-06-10 Thread Dave Carroll
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

[PATCH v8] powerpc: Force page alignment for initrd reserved memory

2011-05-26 Thread Dave Carroll
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

[PATCH v7] powerpc: Force page alignment for initrd reserved memory

2011-05-25 Thread Dave Carroll
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

[PATCH v6] powerpc: Force page alignment for initrd reserved memory

2011-05-25 Thread Dave Carroll
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

[PATCH v5] powerpc: Force page alignment for initrd reserved memory

2011-05-23 Thread Dave Carroll
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 -

RE: [ v4] powerpc: Force page alignment for initrd reserved memory

2011-05-23 Thread Dave Carroll
et me know ... Thanks, -Dave Carroll ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH v4] powerpc: Force page alignment for initrd reserved memory

2011-05-22 Thread Dave Carroll
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

RE: [PATCH v3] powerpc: Force page alignment for initrd reserved memory

2011-05-22 Thread Dave Carroll
>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

[PATCH v3] powerpc: Force page alignment for initrd reserved memory

2011-05-21 Thread Dave Carroll
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

RE: [PATCH v2]powerpc: Force page alignment for initrd

2011-05-20 Thread Dave Carroll
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

[PATCH]powerpc: Force page alignment for early reserved memory

2011-05-20 Thread Dave Carroll
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