Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: oupton@kernel.org, kvmarm@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	Vincent Donnefort <vdonnefort@google.com>
Cc: joey.gouly@arm.com, seiden@linux.ibm.com, suzuki.poulose@arm.com,
	yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org,
	kernel-team@android.com, fuad.tabba@linux.dev
Subject: Re: [PATCH v6 00/18] KVM: arm64: Introduce pKVM hypervisor heap allocator
Date: Fri,  2 Oct 2026 17:39:24 +0100	[thread overview]
Message-ID: <179095910311.551935.11321675736723021176.b4-ty@b4> (raw)
In-Reply-To: <20261001142849.3367614-1-vdonnefort@google.com>

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.




      parent reply	other threads:[~2026-10-02 16:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01 14:28 [PATCH v6 00/18] KVM: arm64: Introduce pKVM hypervisor heap allocator Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 01/18] KVM: arm64: Add pkvm_private_va_range_pa Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 02/18] KVM: arm64: Add pkvm_remove_mappings Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 03/18] KVM: arm64: Add pkvm_map_private_va_range Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 04/18] KVM: arm64: Add a heap allocator for the pKVM hyp Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 05/18] KVM: arm64: Allow kvm_hyp_memcache usage outside of stage-2 Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 06/18] KVM: arm64: Add pkvm_hyp_req infrastructure Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 07/18] KVM: arm64: Add PKVM_HYP_REQ_HYP_ALLOC request Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 08/18] KVM: arm64: Add reclaim interface for the pKVM heap alloc Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 09/18] KVM: arm64: Add selftests for the pKVM heap allocator Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 10/18] KVM: arm64: Add a shrinker for pKVM Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 11/18] KVM: arm64: Filter out non-kernel addresses in kern_hyp_va Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 12/18] KVM: arm64: Move hyp_vm refcount into the structure Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 13/18] KVM: arm64: Alloc pkvm_hyp_vm using pKVM heap allocator Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 14/18] KVM: arm64: Alloc pkvm_hyp_vcpu " Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 15/18] KVM: arm64: Rename vCPU pkvm_memcache to stage2_mc Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 16/18] KVM: arm64: Reject hyp trace descriptors with fewer CPUs than hyp_nr_cpus Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 17/18] KVM: arm64: Reject hyp trace descriptors with fewer than 3 pages Vincent Donnefort
2026-10-01 14:28 ` [PATCH v6 18/18] KVM: arm64: Alloc simple_buffer_page using pKVM hyp allocator Vincent Donnefort
2026-10-02 16:39 ` Marc Zyngier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179095910311.551935.11321675736723021176.b4-ty@b4 \
    --to=maz@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=fuad.tabba@linux.dev \
    --cc=joey.gouly@arm.com \
    --cc=kernel-team@android.com \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=oupton@kernel.org \
    --cc=seiden@linux.ibm.com \
    --cc=suzuki.poulose@arm.com \
    --cc=vdonnefort@google.com \
    --cc=will@kernel.org \
    --cc=yuzenghui@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox