diff options
| author | Will Deacon <will@kernel.org> | 2026-03-30 15:48:17 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-30 16:58:08 +0100 |
| commit | 4e6e03f9eaddb6be5ca8477dc5642e94ddece47e (patch) | |
| tree | 0e3b4ca45f874aaab4f03297588957dd53329a48 /tools/perf/scripts/python/bin | |
| parent | 0bf5f4d400cd11ab86b25a56b101726e35f3e7cb (diff) | |
KVM: arm64: Hook up reclaim hypercall to pkvm_pgtable_stage2_destroy()
During teardown of a protected guest, its memory pages must be reclaimed
from the hypervisor by issuing the '__pkvm_reclaim_dying_guest_page'
hypercall.
Add a new helper, __pkvm_pgtable_stage2_reclaim(), which is called
during the VM teardown operation to reclaim pages from the hypervisor
and drop the GUP pin on the host.
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-17-will@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
