[PATCH 0/5] remoteproc sysfs fixes/improvements

Suman Anna
2018-09-15T00:37:20Z

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(-)

--
2.18.0