Skip to content

remoteproc: core: Fixes for rproc cdev and add

Siddharth Gupta linux-arm-kernel linux-arm-msm linux-remoteproc lkml stable 4 versions – Applied

Status from this message: This series was applied to andersson/remoteproc.git (refs/heads/for-next):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 5 repliesApplied 4/4
  2. v34 patches 10 repliesSuperseded
  3. v24 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches3 repliesSuperseded

Changes in v4 from the cover letter

- Moved stable from CC to CC in sign-off area.

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4remoteproc: core: Move cdev add before device adddrivers/remoteproc/remoteproc_core.c+5 -50 repliesApplied
2/4remoteproc: core: Move validate before device adddrivers/remoteproc/remoteproc_core.c+4 -41 replyApplied
3/4remoteproc: core: Fix cdev remove and rproc deldrivers/remoteproc/remoteproc_cdev.c drivers/remoteproc/remoteproc_core.c+2 -21 replyApplied
4/4remoteproc: core: Cleanup device in case of failuredrivers/remoteproc/remoteproc_core.c+12 -33 repliesApplied

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchBjorn Andersson
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/4] remoteproc: core: Fixes for rproc cdev and add

This patch series contains stability fixes and error handling for remoteproc.

The changes included in this series do the following:
Patch 1: Fixes the creation of the rproc character device. Patch 2: Validates rproc as the first step of rproc_add(). Patch 3: Fixes rproc cdev remove and the order of dev_del() and cdev_del(). Patch 4: Adds error handling in rproc_add().

v3 -> v4:
- Moved stable from CC to CC in sign-off area.

v2 -> v3:
- Removed extra file that got added by mistake.

v1 -> v2:
- Added extra patch which addresses Bjorn's comments on patch 3 from v1.
- Fixed commit text for patch 2 (s/calling making/making).

Siddharth Gupta (4):
remoteproc: core: Move cdev add before device add
remoteproc: core: Move validate before device add
remoteproc: core: Fix cdev remove and rproc del
remoteproc: core: Cleanup device in case of failure

 drivers/remoteproc/remoteproc_cdev.c |  2 +-
 drivers/remoteproc/remoteproc_core.c | 27 ++++++++++++++++++---------
 2 files changed, 19 insertions(+), 10 deletions(-)
Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project