Re: [PATCH v8 7/9] bus: mhi: core: Check channel execution environment before issuing reset

From: Jeffrey Hugo
Date: Tue May 04 2021 - 13:50:00 EST


On 4/1/2021 3:16 PM, Bhaumik Bhatt wrote:
A client can attempt to unprepare certain channels for transfer even
after the execution environment they are supposed to run in has changed.
In the event that happens, the device need not be notified of the reset
and the host can proceed with clean up for the channel context and
memory allocated for it on the host as the device will no longer be able
to respond to such a request.

Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
Reviewed-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
---

Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>


--
Jeffrey Hugo
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.