aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorAaron Plattner <[email protected]>2025-07-21 23:06:39 +0000
committerWim Van Sebroeck <[email protected]>2025-07-28 10:07:08 +0000
commit48defdf6b083f74a44e1f742db284960d3444aec (patch)
treeae4d0be1ef6635cca3dee0bd9e76e4c29c3208b3 /drivers/fpga/microchip-spi.c
parentwatchdog: dw_wdt: Fix default timeout (diff)
downloadkernel-48defdf6b083f74a44e1f742db284960d3444aec.tar.gz
kernel-48defdf6b083f74a44e1f742db284960d3444aec.zip
watchdog: sbsa: Adjust keepalive timeout to avoid MediaTek WS0 race condition
The MediaTek implementation of the sbsa_gwdt watchdog has a race condition where a write to SBSA_GWDT_WRR is ignored if it occurs while the hardware is processing a timeout refresh that asserts WS0. Detect this based on the hardware implementer and adjust wdd->min_hw_heartbeat_ms to avoid the race by forcing the keepalive ping to be one second later. Signed-off-by: Aaron Plattner <[email protected]> Acked-by: Timur Tabi <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions