summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/qcom_q6v5_pas.c
diff options
context:
space:
mode:
authorSiddharth Gupta <sidgup@codeaurora.org>2023-02-24 22:17:07 +0100
committerBjorn Andersson <andersson@kernel.org>2023-07-15 21:56:49 +0200
commit5c43ed8ad20b29c89991c03d4c84afb9c53608a3 (patch)
treece89a05d97251b57aa1f1c460139248dd98e9af4 /drivers/remoteproc/qcom_q6v5_pas.c
parentremoteproc: core: Export the rproc coredump APIs (diff)
downloadlinux-5c43ed8ad20b29c89991c03d4c84afb9c53608a3.tar.xz
linux-5c43ed8ad20b29c89991c03d4c84afb9c53608a3.zip
remoteproc: qcom: Add full coredump fallback mechanism
If a remoteproc's firmware does not support minidump but the driver adds an ID, the minidump driver does not collect any coredumps when the remoteproc crashes. This hinders the purpose of coredump collection. This change adds a fallback mechanism in the event of a crash. Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org> Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com> Link: https://lore.kernel.org/r/20230224211707.30916-3-quic_gokukris@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/remoteproc/qcom_q6v5_pas.c')
-rw-r--r--drivers/remoteproc/qcom_q6v5_pas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c
index 0caedb090547..d5b62066743f 100644
--- a/drivers/remoteproc/qcom_q6v5_pas.c
+++ b/drivers/remoteproc/qcom_q6v5_pas.c
@@ -426,6 +426,7 @@ static const struct rproc_ops adsp_minidump_ops = {
.start = adsp_start,
.stop = adsp_stop,
.da_to_va = adsp_da_to_va,
+ .parse_fw = qcom_register_dump_segments,
.load = adsp_load,
.panic = adsp_panic,
.coredump = adsp_minidump,