Skip to content

Commit 19e7bf8

Browse files
sumanannamathieupoirier
authored andcommitted
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>
1 parent 26c9da5 commit 19e7bf8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/remoteproc/wkup_m3_rproc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ static int wkup_m3_rproc_probe(struct platform_device *pdev)
163163
}
164164

165165
rproc->auto_boot = false;
166+
rproc->sysfs_read_only = true;
166167

167168
wkupm3 = rproc->priv;
168169
wkupm3->rproc = rproc;

0 commit comments

Comments
 (0)