[PATCH -fixes 0/2] NAPOT Fixes

Alexandre Ghiti alexghiti at rivosinc.com
Tue Feb 27 12:50:14 PST 2024


This contains 2 fixes for NAPOT: patch 1 disables the use of NAPOT
mapping for vmalloc/vmap and patch 2 implements pte_leaf_size() to
report NAPOT size.

Alexandre Ghiti (2):
  Revert "riscv: mm: support Svnapot in huge vmap"
  riscv: Fix pte_leaf_size() for NAPOT

 arch/riscv/include/asm/pgtable.h |  4 +++
 arch/riscv/include/asm/vmalloc.h | 61 +-------------------------------
 2 files changed, 5 insertions(+), 60 deletions(-)

-- 
2.39.2




More information about the linux-riscv mailing list