From: patchwork-bot+linux-riscv@kernel.org
To: Alexandre Ghiti <alexghiti@rivosinc.com>
Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com,
palmer@dabbelt.com, alex@ghiti.fr, panqinglin2020@iscas.ac.cn,
ajones@ventanamicro.com, ryan.roberts@arm.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] riscv: Fix hugetlb retrieval of number of ptes in case of !present pte
Date: Thu, 03 Apr 2025 16:20:40 +0000 [thread overview]
Message-ID: <174369724048.2563936.1581552891050877179.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250317072551.572169-1-alexghiti@rivosinc.com>
Hello:
This patch was applied to riscv/linux.git (for-next)
by Alexandre Ghiti <alexghiti@rivosinc.com>:
On Mon, 17 Mar 2025 08:25:51 +0100 you wrote:
> Ryan sent a fix [1] for arm64 that applies to riscv too: in some hugetlb
> functions, we must not use the pte value to get the size of a mapping
> because the pte may not be present.
>
> So use the already present size parameter for huge_pte_clear() and the
> newly introduced size parameter for huge_ptep_get_and_clear(). And make
> sure to gather A/D bits only on present ptes.
>
> [...]
Here is the summary with links:
- riscv: Fix hugetlb retrieval of number of ptes in case of !present pte
https://git.kernel.org/riscv/c/83d78ac677b9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2025-04-03 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-17 7:25 Alexandre Ghiti
2025-04-03 16:20 ` patchwork-bot+linux-riscv [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174369724048.2563936.1581552891050877179.git-patchwork-notify@kernel.org \
--to=patchwork-bot+linux-riscv@kernel.org \
--cc=ajones@ventanamicro.com \
--cc=alex@ghiti.fr \
--cc=alexghiti@rivosinc.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=panqinglin2020@iscas.ac.cn \
--cc=paul.walmsley@sifive.com \
--cc=ryan.roberts@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®