diff options
author | Alexandre Ghiti <[email protected]> | 2024-08-27 08:52:30 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-09-03 07:57:27 -0700 |
commit | 5f771088a2b5edd6f2c5c9f34484ca18dc389f3e (patch) | |
tree | 44301bc24ba73768a5bec76df760ac2b1f006c72 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 5ba7a75a53dffbf727e842b5847859bb482ac4aa (diff) |
riscv: Do not restrict memory size because of linear mapping on nommu
It makes no sense to restrict physical memory size because of linear
mapping size constraints when there is no linear mapping, so only do
that when mmu is enabled.
Reported-by: Geert Uytterhoeven <[email protected]>
Closes: https://lore.kernel.org/linux-riscv/CAMuHMdW0bnJt5GMRtOZGkTiM7GK4UaLJCDMF_Ouq++fnDKi3_A@mail.gmail.com/
Fixes: 3b6564427aea ("riscv: Fix linear mapping checks for non-contiguous memory regions")
Signed-off-by: Alexandre Ghiti <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions