diff options
| author | Fuad Tabba <tabba@google.com> | 2026-05-01 12:21:47 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-05-27 14:23:59 +0100 |
| commit | 3a4f5b96730cb40d5d9b31293fd34e11a10f2d6d (patch) | |
| tree | b9bb7052202de77e09426ce9b4bb21eb54e3d848 /scripts/const_structs.checkpatch | |
| parent | 5c30c9fc117cc7d0c1b45741d1127edd4c2ae990 (diff) | |
KVM: arm64: Seed pkvm_ownership_selftest vcpu memcache
The hypercall handlers call pkvm_refill_memcache() to top up the
hyp_vcpu memcache before invoking __pkvm_host_{share,donate}_guest().
pkvm_ownership_selftest invokes those functions directly with a
static selftest_vcpu that has an empty memcache.
Seed selftest_vcpu's memcache from the prepopulated selftest
pages, leaving the remainder for selftest_vm.pool. Required by
the memcache-sufficiency pre-check added in the following
patches.
Assisted-by: Gemini:gemini-3.1-pro review-prompts
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260501112149.2824881-5-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
