OpenCloudOS-Kernel/drivers/remoteproc
Sarangdhar Joshi 2666ca9197 remoteproc: Add remote processor coredump support
As the remoteproc framework restarts the remote processor after a fatal
event, it's useful to be able to acquire a coredump of the remote
processor's state, for post mortem debugging.

This patch introduces a mechanism for extracting the memory contents
after the remote has stopped and before the restart sequence has begun
in the recovery path. The remoteproc framework builds the core dump in
memory and use devcoredump to expose this to user space.

Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
[bjorn: Use vmalloc instead of composing the ELF on the fly]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-02-12 11:05:29 -08:00
..
Kconfig remoteproc: Add remote processor coredump support 2018-02-12 11:05:29 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
da8xx_remoteproc.c remoteproc/davinci: Add device tree support for OMAP-L138 DSP 2017-08-24 12:00:21 -07:00
imx_rproc.c remoteproc: imx_rproc: fix return value check in imx_rproc_addr_init() 2017-10-11 10:47:47 -07:00
keystone_remoteproc.c remoteproc/keystone: explicitly request exclusive reset control 2017-08-27 23:16:22 -07:00
omap_remoteproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
qcom_adsp_pil.c remoteproc: Remove null character write of shared mem 2018-02-12 10:30:15 -08:00
qcom_common.c remoteproc updates for v4.16 2018-02-05 10:07:40 -08:00
qcom_common.h remoteproc: Drop dangling find_rsc_table dummies 2018-01-15 09:30:00 -08:00
qcom_q6v5_pil.c remoteproc: Remove null character write of shared mem 2018-02-12 10:30:15 -08:00
qcom_wcnss.c remoteproc: Remove null character write of shared mem 2018-02-12 10:30:15 -08:00
qcom_wcnss.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom_wcnss_iris.c remoteproc: qcom_wcnss: Fix circular module dependency 2016-11-14 21:52:19 -08:00
remoteproc_core.c remoteproc: Add remote processor coredump support 2018-02-12 11:05:29 -08:00
remoteproc_debugfs.c remoteproc: debug: add carveouts list dump feature 2017-11-06 21:57:27 -08:00
remoteproc_elf_loader.c remoteproc: Move resource table load logic to find 2018-01-15 09:29:53 -08:00
remoteproc_internal.h remoteproc: Move resource table load logic to find 2018-01-15 09:29:53 -08:00
remoteproc_sysfs.c remoteproc: Add RPROC_DELETED state 2017-01-30 14:18:52 -08:00
remoteproc_virtio.c virtio_remoteproc: correct put_device virtio_device.dev 2018-01-02 09:32:30 -08:00
st_remoteproc.c remoteproc: st: explicitly request exclusive reset control 2017-08-27 23:18:52 -07:00
st_slim_rproc.c remoteproc: Drop dangling find_rsc_table dummies 2018-01-15 09:30:00 -08:00
wkup_m3_rproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00