]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
RISC-V: Fix maximum allowed phsyical memory for RV32
authorAtish Patra <atish.patra@wdc.com>
Mon, 11 Jan 2021 23:45:04 +0000 (15:45 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 16 Jan 2021 05:35:48 +0000 (21:35 -0800)
commite557793799c5a8406afb08aa170509619f7eac36
tree297e8009c61fcea38d8d00ce168c854e514304d9
parentabb8e86b269604e906a6a4af7a09f04b72dbb862
RISC-V: Fix maximum allowed phsyical memory for RV32

Linux kernel can only map 1GB of address space for RV32 as the page offset
is set to 0xC0000000. The current description in the Kconfig is confusing
as it indicates that RV32 can support 2GB of physical memory. That is
simply not true for current kernel. In future, a 2GB split support can be
added to allow 2GB physical address space.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig