author | Suman Anna <s-anna@ti.com> | |
Mon, 10 Sep 2018 19:11:27 +0000 (14:11 -0500) | ||
committer | Suman Anna <s-anna@ti.com> | |
Mon, 10 Sep 2018 23:11:13 +0000 (18:11 -0500) | ||
commit | 1fa313fa64b8361e6b0abcdf3e7b524bf637a403 | |
tree | c564fe1ea213dd5d5b76d422f9c44e262f04a81a | tree | snapshot (tar.xz tar.gz zip) |
parent | e37d18218c94f0816dc882824829a8b00ffee2c2 | commit | diff |
remoteproc/keystone: set deny_sysfs_ops flag for MPM userspace loader
The Keystone remoteproc driver supports two modes of loading and booting
the DSP processors - a traditional kernel auto-boot based loader and a
userspace driven load/boot mechanism called Multi Proc Manager (MPM).
The sysfs interfaces conflict with the MPM state-machine and are
currently denied using the 'use_userspace_loader' flag introduced
primarily to meet the keystone remoteproc driver needs. Use the newly
introduced remoteproc generic 'deny_sysfs_ops' flag to provide the same
restrictions. This allows the remoteproc sysfs code to be rid of the
code using the custom 'use_userspace_loader' flag.
Signed-off-by: Suman Anna <s-anna@ti.com>
The Keystone remoteproc driver supports two modes of loading and booting
the DSP processors - a traditional kernel auto-boot based loader and a
userspace driven load/boot mechanism called Multi Proc Manager (MPM).
The sysfs interfaces conflict with the MPM state-machine and are
currently denied using the 'use_userspace_loader' flag introduced
primarily to meet the keystone remoteproc driver needs. Use the newly
introduced remoteproc generic 'deny_sysfs_ops' flag to provide the same
restrictions. This allows the remoteproc sysfs code to be rid of the
code using the custom 'use_userspace_loader' flag.
Signed-off-by: Suman Anna <s-anna@ti.com>
drivers/remoteproc/keystone_remoteproc.c | diff | blob | history |