From: Peng Fan <peng.fan@nxp.com>
To: Bjorn Andersson <andersson@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Hiago De Franco <hiago.franco@toradex.com>
Cc: linux-remoteproc@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>,
Frank Li <Frank.Li@nxp.com>,
Daniel Baluta <daniel.baluta@nxp.com>
Subject: [PATCH v2 0/6] remoteproc: imx_rproc: Use device managed API to clean up the driver
Date: Tue, 23 Sep 2025 13:16:32 +0800 [thread overview]
Message-ID: <20250923-imx_rproc_c2-v2-0-d31c437507e5@nxp.com> (raw)
This is the 2nd series to cleanup the driver.
Patch 1:
Fix the runtime usage. This is not critical bug fix, so it could be
defered to 6.18.
Patch 2-6:
Use devres managed API to cleanup the error handling path and remove path.
Tested on
i.MX8MP-EVK, i.MX8MM-EVK, i.MX93-11x11-EVK, i.MX8QXP-MEK, and i.MX8ULP-EVK.
There is still a 3rd patchset to do further cleanup. After this patchset
get reviewed, the 3rd patchset will be posted out to list.
Thanks to Daniel and Frank for the internal reviewing.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
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
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@nxp.com>
next reply other threads:[~2025-09-23 5:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-23 5:16 Peng Fan [this message]
2025-09-23 5:16 ` [PATCH v2 1/6] remoteproc: imx_rproc: Fix runtime PM cleanup order and error handling Peng Fan
2025-09-25 10:18 ` Ulf Hansson
2025-09-25 14:24 ` Peng Fan
2025-09-25 13:49 ` Ulf Hansson
2025-09-23 5:16 ` [PATCH v2 2/6] remoteproc: imx_rproc: Use devm_add_action_or_reset() for workqueue cleanup Peng Fan
2025-09-23 5:16 ` [PATCH v2 3/6] remoteproc: imx_rproc: Use devm_add_action_or_reset() for mailbox cleanup Peng Fan
2025-09-23 5:16 ` [PATCH v2 4/6] remoteproc: imx_rproc: Use devm_clk_get_enabled() and simplify cleanup Peng Fan
2025-09-23 5:16 ` [PATCH v2 5/6] remoteproc: imx_rproc: Use devm_add_action_or_reset() for scu cleanup Peng Fan
2025-09-23 5:16 ` [PATCH v2 6/6] remoteproc: imx_rproc: Use devm_rproc_add() helper Peng Fan
2025-09-24 16:46 ` [PATCH v2 0/6] remoteproc: imx_rproc: Use device managed API to clean up the driver Peng Fan
2025-09-24 17:10 ` Mathieu Poirier
2025-09-24 20:31 ` Peng Fan
2025-09-25 15:25 ` Mathieu Poirier
2025-09-26 8:26 ` Peng Fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250923-imx_rproc_c2-v2-0-d31c437507e5@nxp.com \
--to=peng.fan@nxp.com \
--cc=Frank.Li@nxp.com \
--cc=andersson@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=festevam@gmail.com \
--cc=hiago.franco@toradex.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®