[PATCH v4 0/9] KVM: arm64: Reserve pKVM VM handle during initial VM setup

Marc Zyngier maz at kernel.org
Mon Sep 15 02:50:46 PDT 2025


On Tue, 09 Sep 2025 08:24:27 +0100, Fuad Tabba wrote:
> Changes since v3 [1]:
> - NOTE: only the last patch (9/9) has changed.
> - Fix bug reported by Mark [2]. The existing call to pkvm_init_host_vm()
>   wasn't gated by protected mode being enabled, unlike the call to
>   pkvm_destroy_hyp_vm(). This imbalance caused failures in non-protected
>   mode, especially when creating and destroying multiple VMs. Tested
>   with kvm demand_paging_test using nvhe, vhe, and protected.
> - Rebase on Linux 6.17-rc5
> 
> [...]

Applied to next, thanks!

[1/9] KVM: arm64: Add build-time check for duplicate DECLARE_REG use
      commit: f9ac33e45d57bc4aa365363ffb650c830e5bb325
[2/9] KVM: arm64: Rename pkvm.enabled to pkvm.is_protected
      commit: 58dfb66b1e4cfb998db9e71437a2c0d9b83a93c0
[3/9] KVM: arm64: Rename 'host_kvm' to 'kvm' in pKVM host code
      commit: 604a5032b454bde03200d755f6ecc3f724511c6a
[4/9] KVM: arm64: Clarify comments to distinguish pKVM mode from protected VMs
      commit: 070362648f5f546018747a9a1857c1597594934e
[5/9] KVM: arm64: Decouple hyp VM creation state from its handle
      commit: 3c45b67625357ac680ee2508493b697cdcd78128
[6/9] KVM: arm64: Separate allocation and insertion of pKVM VM table entries
      commit: 1abc1ad52989fcc45a0de68bc49656d9fd0c2d74
[7/9] KVM: arm64: Consolidate pKVM hypervisor VM initialization logic
      commit: 814fd6beacf3c105ab8c8796be07d740952899fe
[8/9] KVM: arm64: Introduce separate hypercalls for pKVM VM reservation and initialization
      commit: 256b4668cd890b741c54f83dbbef76ba847c23be
[9/9] KVM: arm64: Reserve pKVM handle during pkvm_init_host_vm()
      commit: 07aeb70707b1d52968f4959a5dba321ea4219c8a

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list