]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
authorChester Lin <clin@suse.com>
Fri, 30 Aug 2019 13:30:07 +0000 (14:30 +0100)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:21:09 +0000 (14:21 -0300)
commitce16ff87796f8b3f9b540c8e72e7749fa764a424
tree5852f7cc1ac5a7e4adc7059a274f613b7b55ba39
parent44daaaef6f152738cd428fdb1a3a1980a23ccfc8
ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary

BugLink: https://bugs.launchpad.net/bugs/1854975
commit 1d31999cf04c21709f72ceb17e65b54a401330da upstream.

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 <clin@suse.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/arm/mm/mmu.c