Merge patch series "svnapot fixes"
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 1 Feb 2024 21:25:57 +0000 (13:25 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 1 Feb 2024 21:25:57 +0000 (13:25 -0800)
commit168b849728c2c47ddaab1408049561100bb7ea51
tree34cfaa47d84d10b2424b9325019c77db6849e35f
parentd9807d60c145836043ffa602328ea1d66dc458b1
parenta179a4bfb694f80f2709a1d0398469e787acb974
Merge patch series "svnapot fixes"

Alexandre Ghiti <alexghiti@rivosinc.com> says:

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).

* b4-shazam-merge:
  riscv: Fix hugetlb_mask_last_page() when NAPOT is enabled
  riscv: Fix set_huge_pte_at() for NAPOT mapping

Link: https://lore.kernel.org/r/20240117195741.1926459-1-alexghiti@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>