Skip to content

remoteproc: some bug fixes

Alex Elder linux-arm-msm linux-remoteproc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4remoteproc: re-check state in rproc_trigger_recovery()drivers/remoteproc/remoteproc_core.c+8 -43 replies
2/4remoteproc: remoteproc debugfs file fixesdrivers/remoteproc/remoteproc_debugfs.c+5 -70 replies
3/4remoteproc: qcom: fix q6v5 probe error pathsdrivers/remoteproc/qcom_q6v5_mss.c+15 -80 replies
4/4remoteproc: return error for bad "recovery" debugfs inputdrivers/remoteproc/remoteproc_debugfs.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] remoteproc: some bug fixes

This series fixes some bugs in the remoteproc code.
- The first patch moves some checks of the remoteproc state inside the protection of the mutex.
- The second just eliminates an unsafe state check before calling a function, because the function will make the same check safely.
- The third does proper recovery in the q6v5_probe() error path.
- The last returns EINVAL if an unrecognized value is written into the "recovery" debugfs file.

This series is available (based on v5.6-rc3) in branch "remoteproc-v1" in this git repository:
https://git.linaro.org/people/alex.elder/linux.git

-Alex

Alex Elder (4):
remoteproc: re-check state in rproc_trigger_recovery()
remoteproc: remoteproc debugfs file fixes
remoteproc: qcom: fix q6v5 probe error paths
remoteproc: return error for bad "recovery" debugfs input

 drivers/remoteproc/qcom_q6v5_mss.c      | 23 +++++++++++++++--------
 drivers/remoteproc/remoteproc_core.c    | 12 ++++++++----
 drivers/remoteproc/remoteproc_debugfs.c | 14 +++++++-------
 3 files changed, 30 insertions(+), 19 deletions(-)
Signature · 1 line
2.20.1