[PATCH -fixes 0/2] svnapot fixes
Alexandre Ghiti
alexghiti at rivosinc.com
Wed Jan 17 11:57:39 PST 2024
While merging riscv napot and arm64 contpte support, I noticed we did
not abide by the specification which states that we should clear a
napot mapping before setting a new one, called "break before make" in
arm64 (patch 1). And also that we did not add the new hugetlb page size
added by napot in hugetlb_mask_last_page() (patch 2).
Alexandre Ghiti (2):
riscv: Fix set_huge_pte_at() for NAPOT mapping
riscv: Fix hugetlb_mask_last_page() when NAPOT is enabled
arch/riscv/mm/hugetlbpage.c | 62 +++++++++++++++++++++++++++++++++++--
1 file changed, 60 insertions(+), 2 deletions(-)
--
2.39.2
More information about the linux-riscv
mailing list