Re: [PATCH -fixes] riscv: Do not restrict memory size because of linear mapping on nommu
From: Geert Uytterhoeven
Date: Tue Aug 27 2024 - 03:12:01 EST
Hi Alex,
On Tue, Aug 27, 2024 at 8:52 AM Alexandre Ghiti <alexghiti@xxxxxxxxxxxx> wrote:
> 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 <geert@xxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/linux-riscv/CAMuHMdW0bnJt5GMRtOZGkTiM7GK4UaLJCDMF_Ouq++fnDKi3_A@xxxxxxxxxxxxxx/
> Fixes: 3b6564427aea ("riscv: Fix linear mapping checks for non-contiguous memory regions")
> Signed-off-by: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx>
Thanks for your patch!
Sorry, I didn't get to test the preview yesterday...
Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds