diff options
author | Will Deacon <will@kernel.org> | 2021-12-15 16:12:30 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-12-16 12:58:57 +0000 |
commit | b8cc6eb5bded7078f796b2ebf548f79850281eb6 (patch) | |
tree | 237edfad285279a772cedec4b19c979bd866d86e /arch/arm64/include/asm/kvm_mmu.h | |
parent | 376a240f037959c2b9a2486e53bcd8d388cbec17 (diff) |
KVM: arm64: Expose unshare hypercall to the host
Introduce an unshare hypercall which can be used to unmap memory from
the hypervisor stage-1 in nVHE protected mode. This will be useful to
update the EL2 ownership state of pages during guest teardown, and
avoids keeping dangling mappings to unreferenced portions of memory.
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211215161232.1480836-14-qperret@google.com
Diffstat (limited to 'arch/arm64/include/asm/kvm_mmu.h')
0 files changed, 0 insertions, 0 deletions