remoteproc: wkup_m3: Set sysfs_read_only flag
authorSuman Anna <s-anna@ti.com>
Wed, 16 Feb 2022 08:12:24 +0000 (13:42 +0530)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 4 Mar 2022 16:28:32 +0000 (09:28 -0700)
commit19e7bf836997f37b7c70cf8f3091e76b79769673
tree1858b8732899befa844a158ab9c253b5fe77ecb3
parent26c9da51949916b73d995a2c89412c346903273d
remoteproc: wkup_m3: Set sysfs_read_only flag

The Wakeup M3 remote processor is controlled by the wkup_m3_ipc
client driver, so set the newly introduced 'sysfs_read_only' flag
to not allow any overriding of the remoteproc firmware, state,
recovery, or coredump from userspace.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Puranjay Mohan <p-mohan@ti.com>
Link: https://lore.kernel.org/r/20220216081224.9956-3-p-mohan@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/wkup_m3_rproc.c