summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-10-21 12:15:25 +0800
committerMathieu Poirier <mathieu.poirier@linaro.org>2022-10-24 10:30:11 -0600
commit99b142cf7191b08adcd23f700ea0a3d7dffdd0c1 (patch)
tree41b8f6ddc40ed9cef770e18966e9cdefd060bd7d /fs
parentfcd382b23dcf16732964aca491660da676c3c44f (diff)
downloadlinux-stable-99b142cf7191b08adcd23f700ea0a3d7dffdd0c1.tar.gz
linux-stable-99b142cf7191b08adcd23f700ea0a3d7dffdd0c1.tar.bz2
linux-stable-99b142cf7191b08adcd23f700ea0a3d7dffdd0c1.zip
remoteproc: imx_rproc: Request mbox channel later
It is possible that when remote processor crash, the communication channel will be broken with garbage value in mailbox, such as when Linux is issuing a message through mailbox, remote processor crashes, we need free & rebuild the mailbox channels to make sure no garbage value in mailbox channels. So move the request/free to start/stop for managing remote procesosr in Linux, move to attach/detach for remote processor is out of control of Linux. Previous, we just request mbox when attach for CM4 boot early before Linux, but if mbox defer probe, remoteproc core will do resource cleanup and corrupt resource table for later probe. So move request mbox ealier and still keep mbox request when attach for self recovery case, but keep a check when request/free mbox. Signed-off-by: Peng Fan <peng.fan@nxp.com> Link: https://lore.kernel.org/r/20221021041526.3696483-7-peng.fan@oss.nxp.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions