Skip to content

Add coredump support for Q6v5 Modem remoteproc

Sibi Sankar linux-arm-msm linux-remoteproc lkml 3 versions – Applied

Status from this message: Applied

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 1 replyApplied
  2. v45 patches 0 repliesSuperseded
  3. v36 patches 9 repliesSuperseded

Changes in v5 from the cover letter

Add software bypass to avoid high MX current in mpss_load error path. Remove the proxy votes of clk/regs only after the active/reset clks/regs. Reclaim MBA memory after mpss_load failure in mba_reclaim func. Revert to dump_fn to as done with v3 with a mask based approach.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5remoteproc: Introduce custom dump function for each remoteproc segmentdrivers/remoteproc/remoteproc_core.c include/linux/remoteproc.h+16 -60 replies
2/5remoteproc: Add mechanism for custom dump function assignmentdrivers/remoteproc/remoteproc_core.c include/linux/remoteproc.h+44 -00 replies
3/5remoteproc: qcom: q6v5-mss: Refactor mba load/unload sequencedrivers/remoteproc/qcom_q6v5_mss.c+170 -1380 replies
4/5remoteproc: qcom: q6v5-mss: Add custom dump function for modemdrivers/remoteproc/qcom_q6v5_mss.c+33 -00 replies
5/5remoteproc: qcom: q6v5-mss: Register segments/dumpfn for coredumpdrivers/remoteproc/qcom_q6v5_mss.c+42 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/5] Add coredump support for Q6v5 Modem remoteproc

This patch series add coredump support for modem on SDM845, MSM8996 and MSM8916 SoCs. Modem requires the mba to be loaded before a coredump can be performed and this is achieved using a custom per segment dump function.

V5:
Add software bypass to avoid high MX current in mpss_load error path. Remove the proxy votes of clk/regs only after the active/reset clks/regs. Reclaim MBA memory after mpss_load failure in mba_reclaim func. Revert to dump_fn to as done with v3 with a mask based approach.

V4:
Addressed Bjorn's comments.

V3:
[bjorn]:replace prepare/unprepare ops with a more generalised per segment dump function

V2:
Introduce prepare/unprepare ops for rproc coredump

Sibi Sankar (5):
remoteproc: Introduce custom dump function for each remoteproc segment
remoteproc: Add mechanism for custom dump function assignment
remoteproc: qcom: q6v5-mss: Refactor mba load/unload sequence
remoteproc: qcom: q6v5-mss: Add custom dump function for modem
remoteproc: qcom: q6v5-mss: Register segments/dumpfn for coredump

 drivers/remoteproc/qcom_q6v5_mss.c   | 379 +++++++++++++++++----------
 drivers/remoteproc/remoteproc_core.c |  55 +++-
 include/linux/remoteproc.h           |  11 +
 3 files changed, 303 insertions(+), 142 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project