remoteproc: qcom: Add full coredump fallback mechanism
authorSiddharth Gupta <sidgup@codeaurora.org>
Fri, 24 Feb 2023 21:17:07 +0000 (13:17 -0800)
committerBjorn Andersson <andersson@kernel.org>
Sat, 15 Jul 2023 19:56:49 +0000 (12:56 -0700)
commit5c43ed8ad20b29c89991c03d4c84afb9c53608a3
treece89a05d97251b57aa1f1c460139248dd98e9af4
parentf247f08da0ce822de0d6b2feec811dd6d4d599ce
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>
drivers/remoteproc/qcom_common.c
drivers/remoteproc/qcom_q6v5_pas.c