c5ed5793091bd9ed349c0f514aaa6806a8bee25c

Following is the sequence during which issue is observed: 1) HAL sends a commit with VM_REQ_RELEASE property set indicating transition from primary vm to trusted vm. 2) Before the transition commit ends, there is atomic check for next commit from HAL with VM_REQ_ACQUIRE property indicating transition from trusted vm to primary vm. 3) Since the HW is currently owned by the primary vm, it performs a early return during check phase. After this, transition has occurred from primary to trusted and when the next commit is scheduled on primary, it results in crash since it is currently not the owner. This change adds necessary to check avoid commit with VM_REQ_ACQUIRE state before the transition. Change-Id: I4650305a95ef6bc495375a21a799522e67a61883 Signed-off-by: Yashwanth <quic_yvulapu@quicinc.com>
Description
No description provided
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%