summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLeonard Crestez <cdleonard@gmail.com>2024-03-16 21:16:42 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2024-04-08 19:33:03 +0300
commitfec2601f2003b9e9820ab5057607df7fff61cfaf (patch)
tree5a8632e9d0141054e22c13a53452e91896a45e97 /lib/mpi/mpi-sub-ui.c
parent331f91d86f71d0bb89a44217cc0b2a22810bbd42 (diff)
downloadlinux-fec2601f2003b9e9820ab5057607df7fff61cfaf.tar.xz
remoteproc: zynqmp: Add coredump support
Supporting remoteproc coredump requires the platform-specific driver to register coredump segments to be dumped. Do this by calling rproc_coredump_add_segment for every carveout. Also call rproc_coredump_set_elf_info when then rproc is created. If the ELFCLASS parameter is not provided then coredump fails with an error. Other drivers seem to pass EM_NONE for the machine argument but for me this shows a warning in gdb. Pass EM_ARM because this is an ARM R5. Signed-off-by: Leonard Crestez <cdleonard@gmail.com> Link: https://lore.kernel.org/r/d4556268-8274-4089-949f-3b97d67793c7@gmail.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions