From 9c36f4d98bd6750256b3965bc69e2725f67df313 Mon Sep 17 00:00:00 2001 From: Anurag Pateriya Date: Mon, 18 May 2026 14:01:27 +0530 Subject: [PATCH] remoteproc: qcom_q6v5: panic on watchdog/fatal if dump_conf not set If the remoteproc dump_conf is not configured, trigger a SoC reset via panic() on both watchdog and fatal error interrupts before reporting the crash. This ensures the system resets cleanly when coredump collection is not enabled. Signed-off-by: Anurag Pateriya --- drivers/remoteproc/qcom_q6v5.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/remoteproc/qcom_q6v5.c b/drivers/remoteproc/qcom_q6v5.c index 58d5b85e58cda..50452c4b5848c 100644 --- a/drivers/remoteproc/qcom_q6v5.c +++ b/drivers/remoteproc/qcom_q6v5.c @@ -107,6 +107,8 @@ static irqreturn_t q6v5_wdog_interrupt(int irq, void *data) dev_err(q6v5->dev, "watchdog without message\n"); q6v5->running = false; + if (!(q6v5->rproc->dump_conf)) + panic("SSR: Resetting the SoC.\n"); rproc_report_crash(q6v5->rproc, RPROC_WATCHDOG); return IRQ_HANDLED; @@ -128,6 +130,8 @@ static irqreturn_t q6v5_fatal_interrupt(int irq, void *data) dev_err(q6v5->dev, "fatal error without message\n"); q6v5->running = false; + if (!(q6v5->rproc->dump_conf)) + panic("SSR: Resetting the SoC.\n"); rproc_report_crash(q6v5->rproc, RPROC_FATAL_ERROR); return IRQ_HANDLED;