[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMZdPi98VBe5R=zVv+bXyi44N2gsDa1WiYQk5oYHnsxRTfDMYA@mail.gmail.com>
Date: Thu, 4 Mar 2021 09:41:12 +0100
From: Loic Poulain <loic.poulain@...aro.org>
To: Bhaumik Bhatt <bbhatt@...eaurora.org>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
Hemant Kumar <hemantk@...eaurora.org>,
Jeffrey Hugo <jhugo@...eaurora.org>,
open list <linux-kernel@...r.kernel.org>,
Carl Yin(殷张成) <carl.yin@...ctel.com>,
Naveen Kumar <naveen.kumar@...ctel.com>
Subject: Re: [PATCH v6 1/4] bus: mhi: core: Destroy SBL devices when moving to
mission mode
On Thu, 25 Feb 2021 at 00:23, Bhaumik Bhatt <bbhatt@...eaurora.org> wrote:
>
> Currently, client devices are created in SBL or AMSS (mission
> mode) and only destroyed after power down or SYS ERROR. When
> moving between certain execution environments, such as from SBL
> to AMSS, no clean-up is required. This presents an issue where
> SBL-specific channels are left open and client drivers now run in
> an execution environment where they cannot operate. Fix this by
> expanding the mhi_destroy_device() to do an execution environment
> specific clean-up if one is requested. Close the gap and destroy
> devices in such scenarios that allow SBL client drivers to clean
> up once device enters mission mode.
>
> Signed-off-by: Bhaumik Bhatt <bbhatt@...eaurora.org>
Reviewed-by: Loic Poulain <loic.poulain@...aro.org>
Powered by blists - more mailing lists