Re: [PATCH 2/2] remoteproc: k3-m4: Leave crash recovery enabled
From: Chrispine Tinega
Date: Mon Nov 16 2026 - 13:50:22 EST
Hi Francesco,
On Sun, Nov 15, 2026 at 10:04:00PM +0100, Francesco Valla wrote:
> This can be fine for a core started by Linux, but it's not for a core
> working in IPC-only mode, where Linux only attaches. In that case, a
> recovery action might start a firware living on the Linux userspace that
> is different from the one originally started outside of it (and if this
> is enabled by default, the user might not even notice this).
You are right. In v2, which I have just sent, recovery is enabled only
when Linux booted the M4F. In IPC-only mode the driver keeps it
disabled, so a crash there moves the core to "crashed" and nothing is
loaded in its place. A user who knows the firmware matches can still
turn recovery on through /sys/class/remoteproc/remoteprocN/recovery.
Thanks,
Chrispine