[PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

Geert Uytterhoeven geert at linux-m68k.org
Fri Jan 8 11:26:39 EST 2021


On Thu, Jan 7, 2021 at 10:28 AM Atish Patra <atish.patra at wdc.com> wrote:
> SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of
> 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock
> allocation if it is requested to be aligned with SMP_CACHE_BYTES.
>
> Signed-off-by: Atish Patra <atish.patra at wdc.com>

Tested-by: Geert Uytterhoeven <geert at linux-m68k.org>
(on vexriscv)

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

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



More information about the linux-riscv mailing list