diff options
| author | Will Deacon <will@kernel.org> | 2026-03-30 15:48:14 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-30 16:58:08 +0100 |
| commit | 5fef16ef49126b0f71fb3e401aae4dca1865e6f9 (patch) | |
| tree | 1e46b35cb5f0ce1db952086316ed2e0e0af78218 /tools/perf/scripts/python | |
| parent | 1e579adca1774b3713d1efa67d92a88ec86c04fa (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
