Page sizes supported by RISC-V
Maciej W. Rozycki
macro at orcam.me.uk
Sun Sep 29 08:49:34 PDT 2024
On Sun, 29 Sep 2024, Jeff Law wrote:
> I strongly suspect the lack of specification here is mean to give degrees of
> freedom to the implementors, but sometimes those writing the specs don't
> really understand the implication of leaving things like this unspecified and
> how much pain it really causes in the end.
But 64KiB pages have already been mentioned, so sanctioning this possible
size in binutils (or LD specifically) would be a reasonable thing to do at
this time IMHO.
FWIW out of the plethora sizes (from 1KiB up to 256TiB) possible to have
in hardware (and available on a page-by-page basis) the MIPS/Linux port
has settled on a fixed for a given kernel configuration page size choice
among 4KiB, 16KiB, 64KiB, and this has been reflected in binutils, so
perhaps copying the MIPS bits might be the path of least resistance.
Maciej
More information about the linux-riscv
mailing list