Re: [PATCH v2 1/3] bus: mhi: core: Clear devices when moving execution environments

From: Bhaumik Bhatt
Date: Thu Feb 04 2021 - 18:54:06 EST


Hi Mani,

On 2021-01-20 11:50 PM, Manivannan Sadhasivam wrote:
On Thu, Jan 14, 2021 at 11:16:33AM -0800, Bhaumik Bhatt wrote:
When moving from SBL to mission mode execution environment, there
is no remove callback notification to MHI client drivers which
operate on SBL mode only. Client driver devices are being created
in SBL or AMSS(mission mode) and only destroyed after power down
or SYS_ERROR. If there exist any SBL-specific channels, those are
left open and client drivers are thus unaware of the new execution
environment where those channels cannot operate. Close the gap and
issue remove callbacks to SBL-specific client drivers once device
enters mission mode.


What are the SBL specific channels and the client drivers operating on them?
If this is something going to come in future, then this patch can come later.

Thanks,
Mani

Carl from Quectel (CC'd here) will need this patch as he works on EDL and Flash
Programmer changes which also needs usage of QSAHARA server over SBL.

Thanks,
Bhaumik
---
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project