Skip to content

remoteproc sysfs fixes/improvements

Suman Anna linux-remoteproc lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5remoteproc: Fix unbalanced boot with sysfs for no auto-boot rprocsdrivers/remoteproc/remoteproc_sysfs.c+15 -13 replies
2/5remoteproc: Check for NULL firmwares in sysfs interfacedrivers/remoteproc/remoteproc_sysfs.c+5 -03 replies
3/5remoteproc: Add missing kernel-doc comment for auto-bootinclude/linux/remoteproc.h+1 -01 reply
4/5remoteproc: Introduce deny_sysfs_ops flagdrivers/remoteproc/remoteproc_sysfs.c include/linux/remoteproc.h+10 -02 replies
5/5remoteproc/wkup_m3: Set deny_sysfs_ops flagdrivers/remoteproc/wkup_m3_rproc.c+1 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchArnaud Pouliquen
1/5A-b
2/5T-b
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH 0/5] remoteproc sysfs fixes/improvements

Hi Bjorn,

The following series includes couple of fixes and improvements associated with the sysfs interfaces. Patches are based on top of 4.19-rc1. The first 3 patches are independent of each other.

Following is the patch summary:
- Patch 1 fixes an issue with unbalanced sysfs start/stop and module removal
- Patch 2 adds a minor additional check on firmware name being echoed into the sysfs file
- Patch 3 is a minor kerneldoc fix.
- Patches 4 and 5 introduce a new request denial to sysfs interfaces to not allow userspace to meddle with a remoteproc client driven boot flow, and usage of it by Wkup M3 remoteproc driver

regards
Suman

Suman Anna (5):
remoteproc: Fix unbalanced boot with sysfs for no auto-boot rprocs
remoteproc: Check for NULL firmwares in sysfs interface
remoteproc: Add missing kernel-doc comment for auto-boot
remoteproc: Introduce deny_sysfs_ops flag remoteproc/wkup_m3: Set deny_sysfs_ops flag

 drivers/remoteproc/remoteproc_sysfs.c | 29 ++++++++++++++++++++++++++-
 drivers/remoteproc/wkup_m3_rproc.c    |  1 +
 include/linux/remoteproc.h            |  3 +++
 3 files changed, 32 insertions(+), 1 deletion(-)
Signature · 1 line
2.18.0