Hello:
This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt palmer@rivosinc.com:
On Thu, 25 Apr 2024 13:52:01 +0200 you wrote:
On riscv32, it is possible for the last page in virtual address space (0xfffff000) to be allocated. This page overlaps with PTR_ERR, so that shouldn't happen.
There is already some code to ensure memblock won't allocate the last page. However, buddy allocator is left unchecked.
[...]
Here is the summary with links: - riscv: fix overlap of allocated page and PTR_ERR https://git.kernel.org/riscv/c/a5e8a5b08a48
You are awesome, thank you!