Re: [PATCH v2] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-21 Thread Palmer Dabbelt
On Fri, 18 Dec 2020 16:13:56 PST (-0800), Atish Patra wrote: 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: 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable memor

[PATCH v2] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-18 Thread Atish Patra
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: 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable memory area") Cc: sta...@vger.kernel.org Reported-by: Bin Meng Te