[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANLsYkzWQEWKM-_iff7wY-sk_OERFiAMSrXP6Cyf8vJfXqunjg@mail.gmail.com>
Date: Wed, 24 Sep 2025 11:10:33 -0600
From: Mathieu Poirier <mathieu.poirier@...aro.org>
To: Peng Fan <peng.fan@....nxp.com>
Cc: Peng Fan <peng.fan@....com>, Bjorn Andersson <andersson@...nel.org>,
Shawn Guo <shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>,
Ulf Hansson <ulf.hansson@...aro.org>, Hiago De Franco <hiago.franco@...adex.com>,
linux-remoteproc@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Frank Li <Frank.Li@....com>, Daniel Baluta <daniel.baluta@....com>
Subject: Re: [PATCH v2 0/6] remoteproc: imx_rproc: Use device managed API to
clean up the driver
On Wed, 24 Sept 2025 at 09:35, Peng Fan <peng.fan@....nxp.com> wrote:
>
> Hi Mathieu, Bjorn
>
> On Tue, Sep 23, 2025 at 01:16:32PM +0800, Peng Fan wrote:
> >This is the 2nd series to cleanup the driver.
> >
> >---
> >Changes in v2:
> >- Address a build warning in patch 4/6
> >- Add R-b from Frank and Daniel
> >- Link to v1: https://lore.kernel.org/r/20250917-imx_rproc_c2-v1-0-00ce23dc9c6e@nxp.com
> >
> >---
> >Peng Fan (6):
> > remoteproc: imx_rproc: Fix runtime PM cleanup order and error handling
> > remoteproc: imx_rproc: Use devm_add_action_or_reset() for workqueue cleanup
> > remoteproc: imx_rproc: Use devm_add_action_or_reset() for mailbox cleanup
> > remoteproc: imx_rproc: Use devm_clk_get_enabled() and simplify cleanup
> > remoteproc: imx_rproc: Use devm_add_action_or_reset() for scu cleanup
> > remoteproc: imx_rproc: Use devm_rproc_add() helper
>
>
> Sorry for early ping - I just wanted to check if there's any chance for this
> patchset to be included in 6.18, along with the other cleanup patchset [1].
It seems very unlikely. I am currently looking into how the PM
runtime framework behaves to address my own questions about this patch
[1]. Furthermore, I am worried about the usage of the device
management framework when it comes to freeing memory. I will get back
to you with comments on that front when I know we are doing the right
thing with the PM runtime framework.
I dropped the 3rd cleanup patchset. More than once I asked you to
submit only one patchset at a time and you still refuse to take notice
of my request.
Mathieu
[1]. "remoteproc: imx_rproc: Fix runtime PM cleanup order and error handling"
>
> Both patchsets have received Reviewed-by tags, have been tested, and
> successfully passed builds (arm64 gcc) with each patch applied incrementally.
>
> [1] https://lore.kernel.org/linux-remoteproc/20250920-imx_rproc_c2-v2-0-3351c4c96df5@nxp.com/T/#ma16bb8a38300f6eb333ee04f00d57805aee3c114
>
> Thanks
> Peng
>
> >
> > drivers/remoteproc/imx_rproc.c | 128 ++++++++++++++++++-----------------------
> > 1 file changed, 57 insertions(+), 71 deletions(-)
> >---
> >base-commit: c3067c2c38316c3ef013636c93daa285ee6aaa2e
> >change-id: 20250916-imx_rproc_c2-2b9ad7882f4d
> >
> >Best regards,
> >--
> >Peng Fan <peng.fan@....com>
> >
Powered by blists - more mailing lists