Messages in this thread | | | From | Marc Zyngier <> | Subject | Re: [PATCH] KVM: arm64: Use correct accessor to parse stage-1 PTEs | Date | Tue, 25 Oct 2022 16:30:50 +0100 |
| |
On Tue, 25 Oct 2022 14:51:56 +0000, Quentin Perret wrote: > hyp_get_page_state() is used with pKVM to retrieve metadata about a page > by parsing a hypervisor stage-1 PTE. However, it incorrectly uses a > helper which parses *stage-2* mappings. Ouch. > > Luckily, pkvm_getstate() only looks at the software bits, which happen > to be in the same place for stage-1 and stage-2 PTEs, and this all ends > up working correctly by accident. But clearly, we should do better. > > [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Use correct accessor to parse stage-1 PTEs commit: 6853a71726b6f5930b4450889faf02e8f1cfe35c
Cheers,
M. -- Without deviation from the norm, progress is not possible.
| |