diff options
| author | Bjorn Andersson <bjorn.andersson@oss.qualcomm.com> | 2026-07-23 03:52:29 +0000 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2026-07-27 20:18:31 -0500 |
| commit | 4059c64d78b5d543dabae332922e763b4c95c79e (patch) | |
| tree | ce771104a9b1afb72f1c8d7d7363fb95f16f944a /include/linux/stacktrace.h | |
| parent | 74ee3b2f5767447c57959994341e5b95f1079977 (diff) | |
remoteproc: Force shutdown during device removal
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().
Assisted-by: OpenCode:GPT-5.5
Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Pradnya Dahiwale <pradnya.dahiwale@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260723-rproc-rmmod-not-crashing-v1-3-546dfd5de0e6@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
