Failure in rproc_attach() path can cause issues like NULL pointer dereference when doing recovery and rproc_add() fail, improve the robustness for rproc_attach fail cases.
Previous discussion: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Jingyi Wang <[email protected]> --- Jingyi Wang (2): remoteproc: core: Attach rproc asynchronously in rproc_add() path remoteproc: qcom: Check glink->edge in glink_subdev_stop() drivers/remoteproc/qcom_common.c | 3 +++ drivers/remoteproc/remoteproc_core.c | 20 ++++++++++++-------- include/linux/remoteproc.h | 1 + 3 files changed, 16 insertions(+), 8 deletions(-) --- base-commit: db7efce4ae23ad5e42f5f55428f529ff62b86fab change-id: 20260409-rproc-attach-issue-2e3290d6d013 Best regards, -- Jingyi Wang <[email protected]>

