Commit 885dc76e authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Fix pKVM mod hyp events lookup



A comparison issue in hyp_trace_find_event() might lead to a wrong
resolution of event ID to the struct describing how to decode this
event.

In details, the ID starts to 0 and it should be taken into account when
jumping to the next event table. If the table has X events and our ID is
X, we need to do another jump.

Bug: 278749606
Bug: 268495982
Fixes: 78bed703 ("ANDROID: KVM: arm64: Allow registration of pKVM module hyp events")
Change-Id: I6f8f2701f697fc5e81eb5f48094abcaa6fecee38
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent fcbb7a1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment