Re: [PATCH 3/3] remoteproc: Force shutdown during device removal

Pradnya Dahiwale <[email protected]> Tue, 28 Jul 2026 00:17:14 +0530
Newsgroups org.kernel.vger.linux-remoteproc,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Jul 23, 2026 at 03:52:29AM +0000, Bjorn Andersson wrote:
> rproc_del() is subjected to the reference counted shutdown path, as such
> a remoteproc with more than one reference will be left running as its
> resources are released underneath it.
>
> Refactor the shutdown path such that the reference count value is
> ignored when called from rproc_del().

Reviewed-by: Pradnya Dahiwale <[email protected]>