mbox series

[v3,0/4] Remoteproc core dump support

Message ID 20180106000420.10070-1-bjorn.andersson@linaro.org
Headers show
Series Remoteproc core dump support | expand

Message

Bjorn Andersson Jan. 6, 2018, 12:04 a.m. UTC
Picking up Sarangdhar's original patches for adding core dump support to
remoteproc.

Based on the recently proposed "load resources" hook this registers segments of
the Qualcomm MDT file as dump segments which are used to build an ELF file
representing the various memory segments in the case of a crash of the remote
processor.

Bjorn Andersson (2):
  remoteproc: Rename "load_rsc_table" to "parse_fw"
  soc: qcom: mdt-loader: Return relocation base

Sarangdhar Joshi (2):
  remoteproc: Add remote processor coredump support
  remoteproc: qcom: Register segments for core dump

 drivers/gpu/drm/msm/adreno/a5xx_gpu.c        |   4 +-
 drivers/media/platform/qcom/venus/firmware.c |   2 +-
 drivers/remoteproc/Kconfig                   |   1 +
 drivers/remoteproc/qcom_adsp_pil.c           |   5 +-
 drivers/remoteproc/qcom_common.c             |  44 +++++++++
 drivers/remoteproc/qcom_common.h             |   2 +
 drivers/remoteproc/qcom_wcnss.c              |   4 +-
 drivers/remoteproc/remoteproc_core.c         | 134 ++++++++++++++++++++++++++-
 drivers/remoteproc/remoteproc_internal.h     |   7 +-
 drivers/soc/qcom/mdt_loader.c                |   7 +-
 include/linux/remoteproc.h                   |  20 +++-
 include/linux/soc/qcom/mdt_loader.h          |   3 +-
 12 files changed, 218 insertions(+), 15 deletions(-)

-- 
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Andy Gross Jan. 28, 2018, 4:59 a.m. UTC | #1
On Fri, Jan 05, 2018 at 04:04:19PM -0800, Bjorn Andersson wrote:
> In order to implement support for grabbing core dumps in remoteproc it's

> necessary to know the relocated base of the image, as the offsets from

> the virtual memory base might not be based on the physical address.

> 

> Return the adjusted physical base address to the caller.

> 

> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>


This looks fine.

Acked-by: Andy Gross <andy.gross@linaro.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html