summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-09-13 14:51:26 +0800
committerGuenter Roeck <linux@roeck-us.net>2026-09-16 17:41:17 -0700
commit22737cfced627ffcb4b5c36d63bb3d4476f63213 (patch)
tree8224a1d91e304a4ce93fda3ba7e8bd0d728d1d87 /tools/perf/scripts/python
parent1d9763f34a85680db1e8233d654fdb85e5f897cc (diff)
downloadlinux-next-22737cfced627ffcb4b5c36d63bb3d4476f63213.tar.gz
linux-next-22737cfced627ffcb4b5c36d63bb3d4476f63213.zip
watchdog: msc313e: Fix premature reset during timeout update
Updating the 32-bit hardware timeout requires writing to two 16-bit registers sequentially. If the watchdog is actively running, this non-atomic update might trigger a premature system reset. Clear the watchdog counter before updating the registers to prevent the timer from timing out prematurely against an intermediate threshold. Fixes: e9800b799464 ("watchdog: Add Mstar MSC313e WDT driver") Cc: stable@vger.kernel.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260913065126.8350-1-tzungbi@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions