diff options
author | Atish Patra | 2020-07-15 16:30:07 -0700 |
---|---|---|
committer | Palmer Dabbelt | 2020-07-24 18:53:42 -0700 |
commit | d0d8aae64566b753c4330fbd5944b88af035f299 (patch) | |
tree | 14fb81df49acfc0bb108a769fa5e98de8031b04e /arch/c6x | |
parent | 4cb699d0447be8e0906539f93cbe41e19598ee5a (diff) |
RISC-V: Set maximum number of mapped pages correctly
Currently, maximum number of mapper pages are set to the pfn calculated
from the memblock size of the memblock containing kernel. This will work
until that memblock spans the entire memory. However, it will be set to
a wrong value if there are multiple memblocks defined in kernel
(e.g. with efi runtime services).
Set the the maximum value to the pfn calculated from dram size.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions