[PATCH 2/2] powerpc/nohash: Split __early_init_mmu() into boot and secondary

2014-08-01 Thread Scott Wood
__early_init_mmu() does some things that are really only needed by the boot cpu. On FSL booke, This includes calling memblock_enforce_memory_limit(), which is labelled __init. Secondary cpu init code can't be __init as that would break CPU hotplug. While it's probably a bug that memblock_enforce

[PATCH 1/2] powerpc/64e: Add __ref to early_alloc_pgtable()

2014-08-01 Thread Scott Wood
This silences a section mismatch warning. early_alloc_pgtable() is called from map_kernel_page() which cannot be __init, but only when slab_is_available() returns false which can only happen during early boot. Signed-off-by: Scott Wood --- arch/powerpc/mm/pgtable_64.c | 2 +- 1 file changed, 1

Re: scheduler crash on Power

2014-08-01 Thread Sukadev Bhattiprolu
Dietmar Eggemann [dietmar.eggem...@arm.com] wrote: | > ltcbrazos2-lp07 login: [ 181.915974] [ cut here ] | > [ 181.915991] WARNING: at ../kernel/sched/core.c:5881 | | This warning indicates the problem. One of the struct sched_domains does | not have it's groups member se

Re: [PATCH v2 1/2] printk: Add function to return log buffer address and size

2014-08-01 Thread Andrew Morton
On Thu, 31 Jul 2014 16:00:06 +0530 Vasant Hegde wrote: > Platforms like IBM Power Systems supports service processor > assisted dump. It provides interface to add memory region to > be captured when system is crashed. > > During initialization/running we can add kernel memory region > to be col

Pull request: scottwood/linux.git next

2014-08-01 Thread Scott Wood
Highlights include e6500 hardware threading support, an e6500 TLB erratum workaround, corenet error reporting, support for a new board, and some minor fixes. The following changes since commit cd1154770ba984f4c766cac5ea42c38880080b1d: powerpc/85xx: drop hypervisor specific board compatibles (20

Re: [PATCH] powerpc: fixing endianness of flash_block_list in rtas_flash

2014-08-01 Thread Thomas Falcon
On 08/01/2014 04:32 AM, Vasant Hegde wrote: On 07/25/2014 11:17 PM, Thomas Falcon wrote: The function rtas_flash_firmware passes the address of a data structure, flash_block_list, when making the update-flash-64-and-reboot rtas call. While the endianness of the address is handled correctly, the

Re: [PATCH] powerpc: fixing endianness of flash_block_list in rtas_flash

2014-08-01 Thread Vasant Hegde
On 07/25/2014 11:17 PM, Thomas Falcon wrote: The function rtas_flash_firmware passes the address of a data structure, flash_block_list, when making the update-flash-64-and-reboot rtas call. While the endianness of the address is handled correctly, the endianness of the data is not. This patch en

Re: [PATCH v2 1/2] printk: Add function to return log buffer address and size

2014-08-01 Thread Vasant Hegde
On 08/01/2014 03:52 AM, Andrew Morton wrote: On Thu, 31 Jul 2014 21:05:48 +0530 Vasant Hegde wrote: Platforms like IBM Power Systems supports service processor assisted dump. It provides interface to add memory region to be captured when system is crashed. During initialization/running we ca