Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Sachin Kamat
On 29 January 2014 03:34, Yinghai Lu wrote: > In original bootmem wrapper for memblock, we have limit checking. > > Add it to memblock_virt_alloc, to address arm and x86 booting crash. > > Signed-off-by: Yinghai Lu > > --- Confirmed that this patch fixes the boot crash issue on Exynos (ARM based

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Tony Luck
On Wed, Jan 29, 2014 at 4:34 PM, Andrew Morton wrote: > It applies for me. MIME getting you down? Perhaps - Gmail's web client showed me a downward pointing arrow when I moused over the attachment icon in Yinghai's e-mail. So I clicked it ... and it looked like it downloaded a patch-like looking

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Andrew Morton
On Wed, 29 Jan 2014 16:12:13 -0800 Tony Luck wrote: > Applying on top of Linus' tree (commit = > dda68a8c1707b4011dc3c656fa1b2c6de6f7f304) I just get: > > patching file include/linux/bootmem.h > Hunk #1 FAILED at 264. > Hunk #2 FAILED at 272. > 2 out of 2 hunks FAILED -- saving rejects to file i

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Tony Luck
Applying on top of Linus' tree (commit = dda68a8c1707b4011dc3c656fa1b2c6de6f7f304) I just get: patching file include/linux/bootmem.h Hunk #1 FAILED at 264. Hunk #2 FAILED at 272. 2 out of 2 hunks FAILED -- saving rejects to file include/linux/bootmem.h.rej - not a promising start :-( -Tony -- To

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Yinghai Lu
On Wed, Jan 29, 2014 at 3:39 PM, Yinghai Lu wrote: > On Wed, Jan 29, 2014 at 3:07 PM, Tony Luck wrote: >> Hmmph. ia64 is broken too. git bisect says: >> >> commit ad6492b80f60a2139fa9bf8fd79b182fe5e3647c >> Author: Yinghai Lu >> Date: Mon Jan 27 17:06:49 2014 -0800 >> >> memblock, noboot

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Yinghai Lu
On Wed, Jan 29, 2014 at 3:07 PM, Tony Luck wrote: > Hmmph. ia64 is broken too. git bisect says: > > commit ad6492b80f60a2139fa9bf8fd79b182fe5e3647c > Author: Yinghai Lu > Date: Mon Jan 27 17:06:49 2014 -0800 > > memblock, nobootmem: add memblock_virt_alloc_low() > > is to blame. But this

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-29 Thread Tony Luck
Hmmph. ia64 is broken too. git bisect says: commit ad6492b80f60a2139fa9bf8fd79b182fe5e3647c Author: Yinghai Lu Date: Mon Jan 27 17:06:49 2014 -0800 memblock, nobootmem: add memblock_virt_alloc_low() is to blame. But this patch doesn't fix it. Still dies with: PID hash table entries:

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Konrad Rzeszutek Wilk
On Tue, Jan 28, 2014 at 02:47:57PM -0800, Yinghai Lu wrote: > On Tue, Jan 28, 2014 at 2:08 PM, Dave Hansen wrote: > > On 01/28/2014 02:04 PM, Yinghai Lu wrote: > >> In original bootmem wrapper for memblock, we have limit checking. > >> > >> Add it to memblock_virt_alloc, to address arm and x86 boo

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Kevin Hilman
On Tue, Jan 28, 2014 at 2:04 PM, Yinghai Lu wrote: > In original bootmem wrapper for memblock, we have limit checking. > > Add it to memblock_virt_alloc, to address arm and x86 booting crash. > > Signed-off-by: Yinghai Lu > > --- > mm/memblock.c |3 +++ > 1 file changed, 3 insertions(+) > >

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Dave Hansen
On 01/28/2014 02:47 PM, Yinghai Lu wrote: > On Tue, Jan 28, 2014 at 2:08 PM, Dave Hansen wrote: >> On 01/28/2014 02:04 PM, Yinghai Lu wrote: >>> In original bootmem wrapper for memblock, we have limit checking. >>> >>> Add it to memblock_virt_alloc, to address arm and x86 booting crash. >>> >> Do

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Yinghai Lu
On Tue, Jan 28, 2014 at 2:08 PM, Dave Hansen wrote: > On 01/28/2014 02:04 PM, Yinghai Lu wrote: >> In original bootmem wrapper for memblock, we have limit checking. >> >> Add it to memblock_virt_alloc, to address arm and x86 booting crash. >> >> Signed-off-by: Yinghai Lu > > Do you have a git tre

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Andrew Morton
On Tue, 28 Jan 2014 14:04:25 -0800 Yinghai Lu wrote: > In original bootmem wrapper for memblock, we have limit checking. > > Add it to memblock_virt_alloc, to address arm and x86 booting crash. > > ... > > --- linux-2.6.orig/mm/memblock.c > +++ linux-2.6/mm/memblock.c > @@ -1077,6 +1077,9 @@ st

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Olof Johansson
On Tue, Jan 28, 2014 at 2:04 PM, Yinghai Lu wrote: > In original bootmem wrapper for memblock, we have limit checking. > > Add it to memblock_virt_alloc, to address arm and x86 booting crash. > > Signed-off-by: Yinghai Lu Tested-by: Olof Johansson Verified to resolve the crashes on boot on ARM

Re: [PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Dave Hansen
On 01/28/2014 02:04 PM, Yinghai Lu wrote: > In original bootmem wrapper for memblock, we have limit checking. > > Add it to memblock_virt_alloc, to address arm and x86 booting crash. > > Signed-off-by: Yinghai Lu Do you have a git tree or cumulative set of patches that you'd like us to all test

[PATCH] memblock: Add limit checking to memblock_virt_alloc

2014-01-28 Thread Yinghai Lu
In original bootmem wrapper for memblock, we have limit checking. Add it to memblock_virt_alloc, to address arm and x86 booting crash. Signed-off-by: Yinghai Lu --- mm/memblock.c |3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6/mm/memblock.c ===