[RFC 0/2] Allow client to recover crashed processor

From: Loic Pallardy
Date: Wed Mar 11 2020 - 06:54:47 EST


The following 2 patches propose some changes to allow user space
client to shutdown and restart a crashed co-processor.
This is required when auto recovery is disabled at framework level or
when auto recovery procedure failed.

Sent as RFC as may be part of Mathieu's proposal for early boot/late
attach support

Loic Pallardy (2):
remoteproc: sysfs: authorize rproc shutdown when rproc is crashed
remoteproc: core: keep rproc in crash state in case of recovery
failure

drivers/remoteproc/remoteproc_core.c | 8 +++++++-
drivers/remoteproc/remoteproc_sysfs.c | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)

--
2.7.4