Commit 64896636 authored by Quentin Perret's avatar Quentin Perret Committed by Keir Fraser
Browse files

ANDROID: KVM: arm64: Add {get,put}_pkvm_hyp_vm() helpers



In preparation for accessing pkvm_hyp_vm structures at EL2 in a context
where we can't always expect a vCPU to be loaded (e.g. MMU notifiers),
introduce get/put helpers to gettemporary references to hyp VMs from
any context.

Bug: 357781595
Change-Id: I487c07b7395c6be91099c752003be88e193da83e
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent b36c9e1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment