Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1666128 > unrolled thread

[PATCH 2/2] remoteproc: qcom: Register segments with remoteproc

Started bySarangdhar Joshi <spjoshi@codeaurora.org>
First post2017-06-14 20:20 +0200
Last post2017-06-14 20:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] remoteproc: qcom: Register segments with remoteproc Sarangdhar Joshi <spjoshi@codeaurora.org> - 2017-06-14 20:20 +0200

#1666128 — [PATCH 2/2] remoteproc: qcom: Register segments with remoteproc

FromSarangdhar Joshi <spjoshi@codeaurora.org>
Date2017-06-14 20:20 +0200
Subject[PATCH 2/2] remoteproc: qcom: Register segments with remoteproc
Message-ID<tSl3z-9p-9@gated-at.bofh.it>
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(+)

diff --git a/drivers/remoteproc/qcom_adsp_pil.c b/drivers/remoteproc/qcom_adsp_pil.c
index 335066e..f6d5ceac 100644
--- a/drivers/remoteproc/qcom_adsp_pil.c
+++ b/drivers/remoteproc/qcom_adsp_pil.c
@@ -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)
diff --git a/drivers/remoteproc/qcom_wcnss.c b/drivers/remoteproc/qcom_wcnss.c
index 253f152e..efa295f 100644
--- a/drivers/remoteproc/qcom_wcnss.c
+++ b/drivers/remoteproc/qcom_wcnss.c
@@ -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)
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web