Re: [PATCH v2 00/10] i.MX SDMA cleanups and fixes

Frank Li
2026-02-25T15:59:34Z

On Thu, Sep 11, 2025 at 11:56:41PM +0200, Marco Felsch wrote:
> Hi,
>
> by this series the i.MX SDMA handling for i.MX8M devices is fixed. This
> is required because these SoCs do have multiple SPBA busses.
>
> Furthermore this series does some cleanups to prepare the driver for the
> upcoming DMA devlink support. The DMA devlink support is required to fix
> the consumer <-> provider issue because the current i.MX SDMA driver
> doesn't honor current active DMA users once the i.MX SDMA driver is
> getting removed. Which can lead into very situations e.g. hang the whole
> system.

Marco Felsch:

Can you help rebase these patches?

Frank

>
> Regards,
> Marco
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> Changes in v2:
> - Link to v1: https://lore.kernel.org/r/20250903-v6-16-topic-sdma-v1-0-ac7bab629e8b@pengutronix.de
> - Split DMA devlink support and SDMA driver fixes&cleanups into two series
> - Make of_dma_controller_free() fix backportable
> - Update struct sdma_channel documentation
> - Shuffle patches to have fixes patches at the very start of the series
> - Fix commit message wording
> - Check return value of devm_add_action_or_reset()
>
> ---
> Marco Felsch (10):
> dmaengine: imx-sdma: fix missing of_dma_controller_free()
> dmaengine: imx-sdma: fix spba-bus handling for i.MX8M
> dmaengine: imx-sdma: drop legacy device_node np check
> dmaengine: imx-sdma: sdma_remove minor cleanups
> dmaengine: imx-sdma: cosmetic cleanup
> dmaengine: imx-sdma: make use of devm_kzalloc for script_addrs
> dmaengine: imx-sdma: make use of devm_clk_get_prepared()
> dmaengine: imx-sdma: make use of devm_add_action_or_reset to unregiser the dma_device
> dmaengine: imx-sdma: make use of devm_add_action_or_reset to unregiser the dma-controller
> dmaengine: imx-sdma: make use of dev_err_probe()
>
> drivers/dma/imx-sdma.c | 181 ++++++++++++++++++++++++++-----------------------
> 1 file changed, 96 insertions(+), 85 deletions(-)
> ---
> base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f
> change-id: 20250903-v6-16-topic-sdma-4c8fd3bb0738
>
> Best regards,
> --
> Marco Felsch <m.felsch@pengutronix.de>
>