mbox series

[-fixes,0/2] svnapot fixes

Message ID 20240117195741.1926459-1-alexghiti@rivosinc.com (mailing list archive)
Headers show
Series svnapot fixes | expand

Message

Alexandre Ghiti Jan. 17, 2024, 7:57 p.m. UTC
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(-)

Comments

patchwork-bot+linux-riscv@kernel.org Feb. 8, 2024, 1:30 a.m. UTC | #1
Hello:

This series was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Wed, 17 Jan 2024 20:57:39 +0100 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [1/2] riscv: Fix set_huge_pte_at() for NAPOT mapping
    https://git.kernel.org/riscv/c/1458eb2c9d88
  - [2/2] riscv: Fix hugetlb_mask_last_page() when NAPOT is enabled
    https://git.kernel.org/riscv/c/a179a4bfb694

You are awesome, thank you!