diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2021-11-19 17:44:03 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-06 05:06:29 +0100 |
commit | 9f36b96bc70f9707e618d22cd6a6baf86706ade2 (patch) | |
tree | cc467c1e12a35b484244f592e7754d1bc57c4a18 /arch/riscv/configs/rv32_defconfig | |
parent | RISC-V: defconfigs: Set CONFIG_FB=y, for FB console (diff) | |
download | linux-9f36b96bc70f9707e618d22cd6a6baf86706ade2.tar.xz linux-9f36b96bc70f9707e618d22cd6a6baf86706ade2.zip |
RISC-V: MAXPHYSMEM_2GB doesn't depend on CMODEL_MEDLOW
For non-relocatable kernels we need to be able to link the kernel at
approximately PAGE_OFFSET, thus requiring medany (as medlow requires the
code to be linked within 2GiB of 0). The inverse doesn't apply, though:
since medany code can be linked anywhere it's fine to link it close to
0, so we can support the smaller memory config.
Fixes: de5f4b8f634b ("RISC-V: Define MAXPHYSMEM_1GB only for RV32")
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/configs/rv32_defconfig')
0 files changed, 0 insertions, 0 deletions