]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clocksource/drivers/timer-tegra186: Fix watchdog self-pinging
authorPohsun Su <pohsuns@nvidia.com>
Wed, 7 May 2025 04:43:10 +0000 (12:43 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 16 May 2025 09:10:32 +0000 (11:10 +0200)
commitb42d781e0350c969ef8155b800e33400f5f8b8a6
treeff5e8293437323f8fe8aa96eb457c50f617b8070
parent28c842c8b0f5d1c2da823b11326e63cdfdbc3def
clocksource/drivers/timer-tegra186: Fix watchdog self-pinging

This change removes watchdog self-pinging behavior.

The timer irq handler is triggered due to the 1st expiration,
the handler disables and enables watchdog but also implicitly
clears the expiration count so the count can only be 0 or 1.

Since this watchdog supports opened, configured, or pinged by
systemd, We remove this behavior or the watchdog may not bark
when systemd crashes since the 5th expiration never comes.

Signed-off-by: Pohsun Su <pohsuns@nvidia.com>
Signed-off-by: Robert Lin <robelin@nvidia.com>
Link: https://lore.kernel.org/r/20250507044311.3751033-3-robelin@nvidia.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/timer-tegra186.c