Re: [PATCH v8 4/5] watchdog: qcom: add support to get the bootstatus from IMEM
From: Kathiravan Thirumoorthy
Date: Fri Feb 27 2026 - 04:35:28 EST
On 2/27/2026 1:12 PM, Guenter Roeck wrote:
- if (readl(wdt_addr(wdt, WDT_STS)) & 1)
- wdt->wdd.bootstatus = WDIOF_CARDRESET;
+ ret = qcom_wdt_get_bootstatus(dev, wdt, data->wdt_reason_val);
+ if (ret)
+ return ret;
Why is reporting the boot status so important that the failure to read it
results in refusing to instantiate the driver ? That warrants a detailed
explanation, even more so since it is not backward compatible.
Ack. Let me just log the error message and continue the probe.
Guenter