mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 09:13:20 -05:00
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>
This commit is contained in:
parent
26c9da5194
commit
19e7bf8369
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ static int wkup_m3_rproc_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
rproc->auto_boot = false;
|
||||
rproc->sysfs_read_only = true;
|
||||
|
||||
wkupm3 = rproc->priv;
|
||||
wkupm3->rproc = rproc;
|
||||
|
|
Loading…
Add table
Reference in a new issue