From 9654c240682343f918cd1997497beb94b0ed4b58 Mon Sep 17 00:00:00 2001 From: Naman Jain Date: Tue, 15 Nov 2022 17:40:51 +0530 Subject: [PATCH] remoteproc: qcom: Add config to collect both mini and full dumps in ssr Add a debug config to allow collecting both minidump and fulldump for the case where minidump is allowed by policy and enabled for a subsystem. Helps finding the reason for crashes where minidump lacks required information and fulldumps are not available. Change-Id: I40a198f711e6ad52e4ee45129cae26bf1d946ccd Signed-off-by: Naman Jain --- drivers/remoteproc/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig index 8ffd425c67df..b7f26a6ac870 100644 --- a/drivers/remoteproc/Kconfig +++ b/drivers/remoteproc/Kconfig @@ -344,6 +344,14 @@ config RPROC_SSR_NOTIF_TIMEOUT the start and end of SSR notifications through the subsystem notifier, before a warning is emitted. +config QCOM_RPROC_BOTH_DUMPS + bool "Collect both minidump and fulldump for subsystem crash" + help + Say y here to allow dumping both fulldump and minidump for the + case where subsystem minidump is enabled by policy and the feature + is enabled for a client. The case where minidump is not enabled, + and fulldump is collected by default remains unaffected. + config ST_REMOTEPROC tristate "ST remoteproc support" depends on ARCH_STI