commit | 336e8eb2a3cfe2285c314cd85630076da365f6c6 | [log] [tgz] |
---|---|---|
author | Guo Ren <guoren@linux.alibaba.com> | Thu Jan 21 14:31:17 2021 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Fri Jan 22 20:18:03 2021 -0800 |
tree | b02a9adf62c5efe99b9f61edd05d9b4b52326750 | |
parent | 19c329f6808995b142b3966301f217c831e7cf31 [diff] |
riscv: Fixup pfn_valid error with wrong max_mapnr The max_mapnr is the number of PFNs, not absolute PFN offset. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Fixes: d0d8aae64566 ("RISC-V: Set maximum number of mapped pages correctly") Cc: stable@vger.kernel.org Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>