diff options
author | Siddharth Gupta <sidgup@codeaurora.org> | 2023-02-24 22:17:07 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-07-15 21:56:49 +0200 |
commit | 5c43ed8ad20b29c89991c03d4c84afb9c53608a3 (patch) | |
tree | ce89a05d97251b57aa1f1c460139248dd98e9af4 /drivers/remoteproc/qcom_q6v5_pas.c | |
parent | remoteproc: core: Export the rproc coredump APIs (diff) | |
download | linux-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.c | 1 |
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, |