KVM: arm64: Tentative fixes for page-table lifetime issues
Status from this message: Applied to next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: arm64: Don't leave mmu->pgt dangling on kvm_init_stage2_mmu() errorarch/ | +1 | 0 replies | |
| 2/2 | KVM: arm64: Destroy stage-2 page-table in kvm_arch_destroy_vm()arch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] KVM: arm64: Tentative fixes for page-table lifetime issues
Hi all,
Sashiko highlighted a couple of potential page-table lifetime issues in the upstream code while it was reviewing the pKVM protected memory series. They make sense to me so I've had a crack at fixing them and writing a better description of the problem in the commit message.
For the second issue, I've tested it by forcing the notifier registration to fail and then watching the SecPageTables line in /proc/meminfo after attempting to create VMs.
Cheers,
Will
Cc Marc Zyngier <[email protected]>
Cc Oliver Upton <[email protected]>
Cc Joey Gouly <[email protected]>
Cc Suzuki K Poulose <[email protected]>
Cc Zenghui Yu <[email protected]>
--->8
Will Deacon (2):
KVM: arm64: Don't leave mmu->pgt dangling on kvm_init_stage2_mmu()
error
KVM: arm64: Destroy stage-2 page-table in kvm_arch_destroy_vm()
arch/arm64/kvm/arm.c | 1 + arch/arm64/kvm/mmu.c | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.53.0.1018.g2bb0e51243-goog