[PATCH v6 00/18] KVM: arm64: Introduce pKVM hypervisor heap allocator

Marc Zyngier maz at kernel.org
Fri Oct 2 09:39:24 PDT 2026


On Thu, 01 Oct 2026 15:28:31 +0100, Vincent Donnefort wrote:
> pKVM historically lacked a dynamic memory allocator: all hypervisor-side
> VM and VCPU structures had to be sized on the host, allocated as
> contiguous pages and donated to the hypervisor.
> 
> This design tightly coupled the hypervisor's memory footprint to
> host-side constraints, complicated memory reclaim, and severely
> restricted VM scalability.
> 
> [...]

Applied to next, thanks!

[01/18] KVM: arm64: Add pkvm_private_va_range_pa
        commit: 4b66a1941718ef1c945b32ab28e91330e4394de2
[02/18] KVM: arm64: Add pkvm_remove_mappings
        commit: 64a89873e0c60fd8a22ebacab6bc723415eeb4b2
[03/18] KVM: arm64: Add pkvm_map_private_va_range
        commit: 06b705e789ed1a118331bc77f477a9b46c52dcfe
[04/18] KVM: arm64: Add a heap allocator for the pKVM hyp
        commit: c8d7834c9c219a9a0e3969986e90c5c444b9d98d
[05/18] KVM: arm64: Allow kvm_hyp_memcache usage outside of stage-2
        commit: 11a59e2959e63546dd75c347d552193c38aeb37e
[06/18] KVM: arm64: Add pkvm_hyp_req infrastructure
        commit: e868b8c35268a8cb786091c63f538c960b8807e5
[07/18] KVM: arm64: Add PKVM_HYP_REQ_HYP_ALLOC request
        commit: 7bf265fe68af9e1ef3af083d444a72bd3ce3d3e3
[08/18] KVM: arm64: Add reclaim interface for the pKVM heap alloc
        commit: 43759e3c9631ffcec55e4b7396864af4a5b98f30
[09/18] KVM: arm64: Add selftests for the pKVM heap allocator
        commit: bd93068340e9d770d6282ab425b686bef2042394
[10/18] KVM: arm64: Add a shrinker for pKVM
        commit: 909e70fd13567db8247c3850f27b65aaea2c9ad0
[11/18] KVM: arm64: Filter out non-kernel addresses in kern_hyp_va
        commit: 0b27ba187dde3170a312904f18595f3ba266bcae
[12/18] KVM: arm64: Move hyp_vm refcount into the structure
        commit: 85406921dc81ea7ccfb78c92cf79b0a4bcd2439c
[13/18] KVM: arm64: Alloc pkvm_hyp_vm using pKVM heap allocator
        commit: 324397c85d1dde38e5d4805d8b79bfc549af4252
[14/18] KVM: arm64: Alloc pkvm_hyp_vcpu using pKVM heap allocator
        commit: e188a901e4bc585a170ee4235c6b55ebcf07b592
[15/18] KVM: arm64: Rename vCPU pkvm_memcache to stage2_mc
        commit: 197dac8a9060c17988414086293aa8ed4c82c185
[16/18] KVM: arm64: Reject hyp trace descriptors with fewer CPUs than hyp_nr_cpus
        commit: cf9cf059b8f30ffca78c16e6a51c905c95da47a8
[17/18] KVM: arm64: Reject hyp trace descriptors with fewer than 3 pages
        commit: 086f86286b5e060904bd372ad96edd04c366885a
[18/18] KVM: arm64: Alloc simple_buffer_page using pKVM hyp allocator
        commit: 35dc2dd00334555eb02428cff2302a1cfe60c15f

Std disclaimer: conflict-central even with the rebase, please check
the result.

Cheers,

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





More information about the linux-arm-kernel mailing list