linux-stable/arch
Atish Patra de043da0b9
RISC-V: Fix usage of memblock_enforce_memory_limit
memblock_enforce_memory_limit accepts the maximum memory size not the
maximum address that can be handled by kernel. Fix the function invocation
accordingly.

Fixes: 1bd14a66ee ("RISC-V: Remove any memblock representing unusable memory area")
Cc: stable@vger.kernel.org
Reported-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-12-21 21:02:14 -08:00
..
alpha tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
arc tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
arm RISC-V Patches for the 5.11 Merge Window, Part 1 2020-12-18 10:43:07 -08:00
arm64 RISC-V Patches for the 5.11 Merge Window, Part 1 2020-12-18 10:43:07 -08:00
c6x tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
csky Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
h8300 tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
hexagon tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
ia64 tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
m68k tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
microblaze Microblaze patches for 5.11-rc1 2020-12-16 12:04:39 -08:00
mips tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
nds32 Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
nios2 tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
openrisc OpenRISC updates for 5.11 2020-12-17 13:41:27 -08:00
parisc Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
powerpc powerpc updates for 5.11 2020-12-17 13:34:25 -08:00
riscv RISC-V: Fix usage of memblock_enforce_memory_limit 2020-12-21 21:02:14 -08:00
s390 Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
sh ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
sparc tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
um This pull request contains the following changes for UML: 2020-12-17 17:56:44 -08:00
x86 Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
xtensa tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
.gitignore
Kconfig Tracing updates for 5.11 2020-12-17 13:22:17 -08:00