ANDROID: KVM: arm64: Fix missing trace event for nVHE dyn HVCs
The hyp event host_hcall was missing when a custom HVC runs. Bug: 278749606 Bug: 244543039 Bug: 244373730 Change-Id: I760cab4fbd36a13ad262842880d9ec484f23fd22 Signed-off-by: Vincent Donnefort <vdonnefort@google.com> (cherry picked from commit a1836ffbea9fcb70fa9d49af7382b9343285036f)
This commit is contained in:
parent
609541ba1a
commit
421a001633
1 changed files with 2 additions and 2 deletions
|
|
@ -1334,7 +1334,7 @@ static void handle_host_hcall(struct kvm_cpu_context *host_ctxt)
|
|||
hcall_t hfn;
|
||||
|
||||
if (handle_host_dynamic_hcall(host_ctxt) == HCALL_HANDLED)
|
||||
return;
|
||||
goto end;
|
||||
|
||||
/*
|
||||
* If pKVM has been initialised then reject any calls to the
|
||||
|
|
@ -1359,7 +1359,7 @@ static void handle_host_hcall(struct kvm_cpu_context *host_ctxt)
|
|||
|
||||
cpu_reg(host_ctxt, 0) = SMCCC_RET_SUCCESS;
|
||||
hfn(host_ctxt);
|
||||
|
||||
end:
|
||||
trace_host_hcall(id, 0);
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue