[PATCH] KVM: arm64: Fix protected mode handling of pages larger than 4kB
Marc Zyngier
maz at kernel.org
Mon Feb 23 08:31:14 PST 2026
On Sun, 22 Feb 2026 14:10:00 +0000, Marc Zyngier wrote:
> Since 3669ddd8fa8b5 ("KVM: arm64: Add a range to pkvm_mappings"),
> pKVM tracks the memory that has been mapped into a guest in a
> side data structure. Crucially, it uses it to find out whether
> a page has already been mapped, and therefore refuses to map it
> twice. So far, so good.
>
> However, this very patch completely breaks non-4kB page support,
> with guests being unable to boot. The most obvious symptom is that
> we take the same fault repeatedly, and not making forward progress.
> A quick investigation shows that this is because of the above
> rejection code.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Fix protected mode handling of pages larger than 4kB
commit: 08f97454b7fa39bfcf82524955c771d2d693d6fe
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list