Re: [PATCH v9 0/5] Add support to read the watchdog bootstatus from IMEM

From: Kathiravan Thirumoorthy

Date: Mon Mar 30 2026 - 12:17:00 EST



On 3/16/2026 2:36 PM, Kathiravan Thirumoorthy wrote:

On 2/28/2026 5:58 PM, Kathiravan Thirumoorthy wrote:
In Qualcomm IPQ SoCs, if the system is rebooted due to the watchdog
timeout, there is no way to identify it. Current approach of checking
the EXPIRED_STATUS in WDT_STS is not working.

To achieve this, if the system is rebooted due to watchdog timeout, the
information is captured in the IMEM by the bootloader (along with other
reason codes as well).

This series attempts to address this by adding the support to read the
IMEM and populate the information via bootstatus sysfs file.

With the CONFIG_WATCHDOG_SYSFS enabled, user can extract the information
as below:

cat
/sys/devices/platform/soc@0/f410000.watchdog/watchdog/watchdog0/bootstatus
32

Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>

Gentle Reminder on this series. If there are no further comments, can this be picked up for v7.1?

Bjorn, Guenter, Wim — gentle ping. FWIW, this series applies cleanly to the next-20260327 tag. Please let me know if any improvements are required.