Re: [PATCH] arm64: hibernate: clone only the linear map that exists at runtime
From: Will Deacon
Date: Fri Sep 11 2026 - 09:51:14 EST
On Thu, 10 Sep 2026 06:53:27 -0700, Breno Leitao wrote:
> This is similar to commit 1537e55728ec2 ("arm64: trans_pgd: clone only
> the linear map that exists at runtime"), but in a different place.
>
> swsusp_arch_resume() clones the kernel linear map with
> trans_pgd_create_copy(..., PAGE_OFFSET, PAGE_END). PAGE_OFFSET comes
> from the compile-time VA_BITS, so a CONFIG_ARM64_VA_BITS_52 kernel
> booting on hardware without LPA2 -- vabits_actual is 48 and the fifth
> level is folded -- hands the walk a 3.9PB window while its linear map
> only spans the top 128TB.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: hibernate: clone only the linear map that exists at runtime
https://git.kernel.org/arm64/c/e4a6f57d22e0
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev