[PATCH v7 0/1] Update ASPEED WDT bootstatus
From: Chin-Ting Kuo
Date: Mon Jan 13 2025 - 04:47:23 EST
This patch series inherits the patch submitted by Peter.
https://patchwork.kernel.org/project/linux-watchdog/patch/20240430143114.1323686-2-peteryin.openbmc@xxxxxxxxx/
Bootstatus mechanism is reconstructed to the latest
architecture and for all existing ASPEED BMC platforms.
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.
Changes in v4:
- Update the commit message for updating bootstatus
handling patch.
- Rename aspeed_wdt_config struct to aspeed_wdt_data.
- Create restart callback function.
Changes in v5:
- Remove SW reset mechanism since there is no consensus
about bootstatus for SW reset currently.
- Correct the method for clearing reset event flag on
AST2400 and AST2500 legacy platforms.
Changes in v6:
- Use resource_size() function to get WDT controller
registers size.
Changes in v7:
- Update commit message. WDIOF_CARDRESET flag is
used to represent all WDT reset events.
Chin-Ting Kuo (1):
watchdog: aspeed: Update bootstatus handling
drivers/watchdog/aspeed_wdt.c | 81 ++++++++++++++++++++++++++++++++++-
1 file changed, 79 insertions(+), 2 deletions(-)
--
2.34.1