commit | 1bd14a66ee5200d6a24419cbd2e0a0fccd4da36f | [log] [tgz] |
---|---|---|
author | Atish Patra <atish.patra@wdc.com> | Wed Oct 07 14:51:59 2020 -0700 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Thu Nov 05 09:56:17 2020 -0800 |
tree | 41ae3dc2bf7ac062e0d5878cb03f3731d85ba025 | |
parent | 9d750c75bd2c3fcf20a3c15378d1bc6b2d4ec31f [diff] |
RISC-V: Remove any memblock representing unusable memory area RISC-V limits the physical memory size by -PAGE_OFFSET. Any memory beyond that size from DRAM start is unusable. Just remove any memblock pointing to those memory region without worrying about computing the maximum size. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>