[PATCH -fixes 0/2] NAPOT Fixes

From: Alexandre Ghiti
Date: Tue Feb 27 2024 - 15:50:29 EST


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