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

From: Guenter Roeck

Date: Wed Nov 04 2026 - 20:33:52 EST


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@xxxxxxxxxxxx>

Applied.

Thanks,
Guenter