Re: [PATCH v3 5/5] watchdog: qcom: Register pretimeout interrupt as NMI
From: Konrad Dybcio
Date: Thu Sep 03 2026 - 04:26:46 EST
On 9/3/26 3:54 AM, Mayank Rungta wrote:
> When a system is completely unresponsive due to an interrupt storm or
> deadlocked CPU cores with standard interrupts disabled, a standard
> watchdog pretimeout bark interrupt will fail to execute, preventing the
> pretimeout governor from capturing CPU backtraces before the hardware
> reset bite.
[...]
> - ret = devm_request_irq(dev, irq, qcom_wdt_isr, 0,
> - "wdt_bark", &wdt->wdd);
> - if (ret)
> - return ret;
> + wdt->irq = irq;
> + irq_flags = IRQF_PERCPU | IRQF_NOBALANCING |
> + IRQF_NO_AUTOEN | IRQF_NO_THREAD;
> +
> + ret = request_nmi(irq, qcom_wdt_isr, irq_flags,
> + "wdt_bark", &wdt->wdd);
> + if (ret) {
> + /* Fallback to normal interrupt if NMI not supported */
> + ret = devm_request_irq(dev, irq, qcom_wdt_isr, 0,
> + "wdt_bark", &wdt->wdd);
GPT noticed this IRQ is requested but never enabled (NO_AUTOEN)
Konrad