summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2026-03-30 15:48:14 +0100
committerMarc Zyngier <maz@kernel.org>2026-03-30 16:58:08 +0100
commit5fef16ef49126b0f71fb3e401aae4dca1865e6f9 (patch)
tree1e46b35cb5f0ce1db952086316ed2e0e0af78218 /scripts
parent1e579adca1774b3713d1efa67d92a88ec86c04fa (diff)
KVM: arm64: Hook up donation hypercall to pkvm_pgtable_stage2_map()
Mapping pages into a protected guest requires the donation of memory from the host. Extend pkvm_pgtable_stage2_map() to issue a donate hypercall when the target VM is protected. Since the hypercall only handles a single page, the splitting logic used for the share path is not required. Tested-by: Fuad Tabba <tabba@google.com> Tested-by: Mostafa Saleh <smostafa@google.com> Signed-off-by: Will Deacon <will@kernel.org> Link: https://patch.msgid.link/20260330144841.26181-14-will@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions