mbox series

[v3,0/2] Update ASPEED WDT bootstatus

Message ID 20241030104717.168324-1-chin-ting_kuo@aspeedtech.com (mailing list archive)
Headers show
Series Update ASPEED WDT bootstatus | expand

Message

Chin-Ting Kuo Oct. 30, 2024, 10:47 a.m. UTC
This patch series inherits the patch submitted by Peter.
https://patchwork.kernel.org/project/linux-watchdog/patch/20240430143114.1323686-2-peteryin.openbmc@gmail.com/
Besides, the boot status modififed in the WDT driver
obeys the rules proposed in the OpenBMC.
https://github.com/openbmc/docs/blob/master/designs/bmc-reboot-cause-update.md#proposed-design
Moreover, WDT SW restart mechanism is supported by HW
since AST2600 platform and is also included in this
patch series.

Changes in v2:
  - Support SW restart on AST2600 by default without
    adding any dts property.

Changes in v3:
  - Get watchdog controller index by dividing register
    base offset by register size.

Chin-Ting Kuo (2):
  watchdog: aspeed: Update bootstatus handling
  watchdog: aspeed: Add support for SW restart

 drivers/watchdog/aspeed_wdt.c | 154 ++++++++++++++++++++++++++++++++--
 1 file changed, 146 insertions(+), 8 deletions(-)