riscv: Add support for PUD THP

Add the necessary page table functions to deal with PUD THP, this
enables the use of PUD pfnmap.

Link: https://lore.kernel.org/r/20250321123954.225097-1-alexghiti@rivosinc.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
This commit is contained in:
Alexandre Ghiti 2025-03-21 13:39:54 +01:00 • committed by Palmer Dabbelt
commit c3cc2a4a3a
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
6 changed files with 120 additions and 2 deletions