diff options
author | Sarangdhar Joshi <spjoshi@codeaurora.org> | 2018-01-06 01:04:17 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-02-12 20:05:29 +0100 |
commit | 2666ca9197e3d352f43b02d7dfb7c6dd72e7c614 (patch) | |
tree | b9c60aed35f13ff5c2fb519bf31eec2ed5d9c644 /drivers/remoteproc/Kconfig | |
parent | remoteproc: Remove null character write of shared mem (diff) | |
download | linux-2666ca9197e3d352f43b02d7dfb7c6dd72e7c614.tar.xz linux-2666ca9197e3d352f43b02d7dfb7c6dd72e7c614.zip |
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>
Diffstat (limited to 'drivers/remoteproc/Kconfig')
-rw-r--r-- | drivers/remoteproc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index b609e1d3654b..3e4bca77188d 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -6,6 +6,7 @@ config REMOTEPROC select CRC32 select FW_LOADER select VIRTIO + select WANT_DEV_COREDUMP help Support for remote processors (such as DSP coprocessors). These are mainly used on embedded systems. |