[PATCH v5 0/2] remoteproc sysfs fixes/improvements

From: Puranjay Mohan
Date: Wed Feb 16 2022 - 03:12:42 EST


This is a refresh of the patches from an old series [1].
Patch 1 of that series is not required now as [2] serves its purpose.
Patch 2 has been improved and is being posted here.
Patch 3 is unchanged, it has been rebased and posted.

The features being introduced here will be needed by the recently posted PRU
remoteproc driver [3] in addition to the existing Wkup M3 remoteproc driver.
Both of these drivers follow a client-driven boot methodology, with the latter
strictly booted by another driver in kernel. The PRU remoteproc driver will be
supporting both in-kernel clients as well as control from userspace orthogonally.
The logic though is applicable and useful to any remoteproc driver not using
'auto-boot' and using an external driver/application to boot the remoteproc.

[1] https://patchwork.kernel.org/project/linux-remoteproc/cover/20201121030156.22857-1-s-anna@xxxxxx/
[2] https://patchwork.kernel.org/project/linux-remoteproc/patch/20201126210642.897302-4-mathieu.poirier@xxxxxxxxxx/
[3] https://patchwork.kernel.org/project/linux-remoteproc/cover/20201119140850.12268-1-grzegorz.jaszczyk@xxxxxxxxxx/

Puranjay Mohan (1):
remoteproc: Introduce sysfs_read_only flag

Suman Anna (1):
remoteproc: wkup_m3: Set sysfs_read_only flag

drivers/remoteproc/remoteproc_sysfs.c | 19 ++++++++++++++++++-
drivers/remoteproc/wkup_m3_rproc.c | 1 +
include/linux/remoteproc.h | 2 ++
3 files changed, 21 insertions(+), 1 deletion(-)

--
2.17.1