mbox series

[v5,0/5] Add coredump support for Q6v5 Modem remoteproc

Message ID 20181017135527.30592-1-sibis@codeaurora.org (mailing list archive)
Headers show
Series Add coredump support for Q6v5 Modem remoteproc | expand

Message

Sibi Sankar Oct. 17, 2018, 1:55 p.m. UTC
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(-)

Comments

Bjorn Andersson Oct. 19, 2018, 6:35 p.m. UTC | #1
On Wed 17 Oct 06:55 PDT 2018, Sibi Sankar wrote:

> 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
> 

Applied

Regards,
Bjorn

> 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(-)
> 
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>