mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
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 Signed-off-by: Vincent Donnefort <vdonnefort@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:a1836ffbea9fcb70fa9d49af7382b9343285036f) Merged-In: I760cab4fbd36a13ad262842880d9ec484f23fd22 Change-Id: I760cab4fbd36a13ad262842880d9ec484f23fd22
This commit is contained in:
committed by
Treehugger Robot
parent
865e6d9df1
commit
5854f4c2af
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user