[PATCHv2 0/3] remoteproc: introduce rproc recovery
From: Ohad Ben-Cohen <hidden>
Date: 2012-09-18 10:00:05
Also in:
linux-omap, lkml
From: Ohad Ben-Cohen <hidden>
Date: 2012-09-18 10:00:05
Also in:
linux-omap, lkml
Hi Fernando, On Thu, Aug 30, 2012 at 9:26 PM, Fernando Guzman Lugo [off-list ref] wrote:
These set of patches make possible the remoteproc recover after a crash. This is a hard recovery, that means the remoteproc is reset and it will start from the beginning. When a crash happen all the virtio devices are destroyed. Therefore, both rpmsg drivers and devices are gracefully removed which also cause rproc users become 0 and the remoteproc is turned off. After the virtio devices are destroyed the crash handler function will read the virtio information from the firmware in order to recreate the virtio devices that will boot the remoteproc and everything will be functional again.
Applied to remoteproc's for-next branch with a few changes (so we don't miss the merge window). The changes are detailed in the commit logs of the patches, please let me know if there's any issue. Thanks! Ohad.