Re: [PATCH v9 0/5] Add support to read the watchdog bootstatus from IMEM
From: Kathiravan Thirumoorthy
Date: Mon Mar 16 2026 - 05:06:41 EST
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?