summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2017-01-13 22:51:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-14 15:06:05 +0200
commiteefa5e13dff94000af79a6ec173376f6eb629bc1 (patch)
tree5e1b055d820dd90726328d83ddc4aee22a3a9bbc /lib
parent1df21f45fd55274128c61908765d65837a30f199 (diff)
ARM: 8637/1: Adjust memory boundaries after reservations
commit 985626564eedc470ce2866e53938303368ad41b7 upstream. adjust_lowmem_bounds is responsible for setting up the boundary for lowmem/highmem. This needs to be setup before memblock reservations can occur. At the time memblock reservations can occur, memory can also be removed from the system. The lowmem/highmem boundary and end of memory may be affected by this but it is currently not recalculated. On some systems this may be harmless, on others this may result in incorrect ranges being passed to the main memory allocator. Correct this by recalculating the lowmem/highmem boundary after all reservations have been made. Tested-by: Magnus Lilja <lilja.magnus@gmail.com> Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Julien Grall <julien.grall@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions