@@ -86,6 +86,7 @@ static int adsp_load(struct rproc *rproc, const struct firmware *fw)
static const struct rproc_fw_ops adsp_fw_ops = {
.find_rsc_table = qcom_mdt_find_rsc_table,
.load = adsp_load,
+ .register_segments = qcom_register_dump_segments,
};
static int adsp_start(struct rproc *rproc)
@@ -160,6 +160,7 @@ static int wcnss_load(struct rproc *rproc, const struct firmware *fw)
static const struct rproc_fw_ops wcnss_fw_ops = {
.find_rsc_table = qcom_mdt_find_rsc_table,
.load = wcnss_load,
+ .register_segments = qcom_register_dump_segments,
};
static void wcnss_indicate_nv_download(struct qcom_wcnss *wcnss)
Register the firmware segments with remoteproc framework to ensure that the coredumps can be collected in the event of fatal failures. Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org> --- drivers/remoteproc/qcom_adsp_pil.c | 1 + drivers/remoteproc/qcom_wcnss.c | 1 + 2 files changed, 2 insertions(+)