Re: [PATCH] arm: skip nomap memblocks while finding the lowmem/highmem boundary

2019-08-22 Thread Ard Biesheuvel
On Thu, 22 Aug 2019 at 09:44, Mike Rapoport wrote: > > On Thu, Aug 22, 2019 at 03:59:42AM +, Chester Lin wrote: > > On Thu, Aug 22, 2019 at 11:45:34AM +0800, Chester Lin wrote: > > > adjust_lowmem_bounds() checks every memblocks in order to find the > > > boundary > > > between lowmem and

Re: [PATCH] arm: skip nomap memblocks while finding the lowmem/highmem boundary

2019-08-22 Thread Mike Rapoport
On Thu, Aug 22, 2019 at 03:59:42AM +, Chester Lin wrote: > On Thu, Aug 22, 2019 at 11:45:34AM +0800, Chester Lin wrote: > > adjust_lowmem_bounds() checks every memblocks in order to find the boundary > > between lowmem and highmem. However some memblocks could be marked as NOMAP > > so they

Re: [PATCH] arm: skip nomap memblocks while finding the lowmem/highmem boundary

2019-08-22 Thread Mike Rapoport
On Thu, Aug 22, 2019 at 03:45:34AM +, Chester Lin wrote: > adjust_lowmem_bounds() checks every memblocks in order to find the boundary > between lowmem and highmem. However some memblocks could be marked as NOMAP > so they are not used by kernel, which should be skipped while calculating > the

Re: [PATCH] arm: skip nomap memblocks while finding the lowmem/highmem boundary

2019-08-21 Thread Chester Lin
On Thu, Aug 22, 2019 at 11:45:34AM +0800, Chester Lin wrote: > adjust_lowmem_bounds() checks every memblocks in order to find the boundary > between lowmem and highmem. However some memblocks could be marked as NOMAP > so they are not used by kernel, which should be skipped while calculating > the

[PATCH] arm: skip nomap memblocks while finding the lowmem/highmem boundary

2019-08-21 Thread Chester Lin
adjust_lowmem_bounds() checks every memblocks in order to find the boundary between lowmem and highmem. However some memblocks could be marked as NOMAP so they are not used by kernel, which should be skipped while calculating the boundary. Signed-off-by: Chester Lin --- arch/arm/mm/mmu.c | 3