[PATCH] watchdog: sbsa_gwdt: Limit the MediaTek WS0 race workaround to revision 0

Guenter Roeck linux at roeck-us.net
Wed Nov 4 14:07:59 PST 2026


On Wed, Nov 04, 2026 at 04:37:02PM +0800, Zexin Wang wrote:
> The WS0 race workaround is currently enabled for all MediaTek SBSA
> Generic Watchdog revisions in single-stage mode. However, only
> revision 0 is affected by the race condition.
> 
> Read the revision field from W_IIDR and enable the workaround only for
> MediaTek watchdogs with revision 0 in single-stage mode. This avoids
> unnecessarily restricting the minimum timeout and adjusting the
> keepalive interval on unaffected revisions.
> 
> Signed-off-by: Zexin Wang <ot_zexin.wang at mediatek.com>

Applied.

Thanks,
Guenter



More information about the linux-arm-kernel mailing list