[PATCH 0/3] dmaengine: stm32: Pair DMA provider registration with cleanup
Amelie Delaunay
amelie.delaunay at foss.st.com
Fri Nov 27 06:48:23 PST 2026
Hi,
On 11/27/26 12:33, Tian Xuechen wrote:
> From: Tian Xuechen <202300460064 at mail.sdu.edu.cn>
>
> Unregister the STM32 DMA mux, DMA and MDMA providers when their devices
> are removed.
>
> Tian Xuechen (3):
> dmaengine: stm32-dmamux: Unregister the DMA router on removal
> dmaengine: stm32-dma: Unregister the OF controller and DMA device
> dmaengine: stm32-mdma: Use managed OF DMA controller registration
>
> base-commit: 4dce97c6c265544342e716e62fd24bbb232590c5
These built-in drivers are not intended to be unbound at runtime.
STM32 DMAMUX routes peripherals DMA requests to STM32 DMA, and STM32 DMA
and MDMA channels may also be chained.
Rather than adding partial removal support, I think we should set
".suppress_bind_attrs = true" for stm32_dmamux_driver, stm32_dma_driver
and stm32_mdma_driver to prevent manual bind/unbind through sysfs.
Regards,
Amelie
More information about the linux-arm-kernel
mailing list