From: Amelie Delaunay <amelie.delaunay@foss.st.com>
To: Tian Xuechen <202300460064@mail.sdu.edu.cn>, <vkoul@kernel.org>,
<mcoquelin.stm32@gmail.com>, <alexandre.torgue@foss.st.com>,
<cedric.madianga@gmail.com>, <pierre-yves.mordret@st.com>
Cc: <Frank.Li@kernel.org>, <dmaengine@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 0/3] dmaengine: stm32: Pair DMA provider registration with cleanup
Date: Fri, 27 Nov 2026 15:48:23 +0100 [thread overview]
Message-ID: <f2a156ee-55d4-4a00-ac75-bb51f1785a9d@foss.st.com> (raw)
In-Reply-To: <20261127113332.390552-1-202300460064@mail.sdu.edu.cn>
Hi,
On 11/27/26 12:33, Tian Xuechen wrote:
> From: Tian Xuechen <202300460064@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
prev parent reply other threads:[~2026-11-27 14:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 11:33 [PATCH 0/3] dmaengine: stm32: Pair DMA provider registration with cleanup Tian Xuechen
2026-11-27 11:33 ` [PATCH 1/3] dmaengine: stm32-dmamux: Unregister the DMA router on removal Tian Xuechen
2026-11-27 15:15 ` Frank Li
2026-11-27 11:33 ` [PATCH 2/3] dmaengine: stm32-dma: Unregister the OF controller and DMA device Tian Xuechen
2026-11-27 15:14 ` Frank Li
2026-11-27 11:33 ` [PATCH 3/3] dmaengine: stm32-mdma: Use managed OF DMA controller registration Tian Xuechen
2026-11-27 14:48 ` Amelie Delaunay [this message]
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=f2a156ee-55d4-4a00-ac75-bb51f1785a9d@foss.st.com \
--to=amelie.delaunay@foss.st.com \
--cc=202300460064@mail.sdu.edu.cn \
--cc=Frank.Li@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=cedric.madianga@gmail.com \
--cc=dmaengine@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=pierre-yves.mordret@st.com \
--cc=vkoul@kernel.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