aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSuman Anna <[email protected]>2023-01-06 17:40:44 +0530
committerMathieu Poirier <[email protected]>2023-01-06 09:15:19 -0700
commit2da812ffcd11c31ef897615798a8a66041a5b73b (patch)
tree4da2089ce605f4c58243c0e6275685b240495930 /tools/perf/scripts/python/bin/stackcollapse-record
parent919e8942548aa878d374b1b51aa68fdf751f18b8 (diff)
remoteproc: pru: Make sysfs entries read-only for PRU client driven boots
The PRU remoteproc driver is not configured for 'auto-boot' by default, and allows to be booted either by in-kernel PRU client drivers or by userspace using the generic remoteproc sysfs interfaces. The sysfs interfaces should not be permitted to change the remoteproc firmwares or states when a PRU is being managed by an in-kernel client driver. Use the newly introduced remoteproc generic 'sysfs_read_only' flag to provide these restrictions by setting and clearing it appropriately during the PRU acquire and release steps. Signed-off-by: Suman Anna <[email protected]> Signed-off-by: Grzegorz Jaszczyk <[email protected]> Signed-off-by: MD Danish Anwar <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions