[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250507044311.3751033-1-robelin@nvidia.com>
Date: Wed, 7 May 2025 12:43:08 +0800
From: Robert Lin <robelin@...dia.com>
To: <thierry.reding@...il.com>, <daniel.lezcano@...aro.org>,
<jonathanh@...dia.com>, <tglx@...utronix.de>, <pohsuns@...dia.com>
CC: <linux-kernel@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<sumitg@...dia.com>, <linux-watchdog@...r.kernel.org>,
<wim@...ux-watchdog.org>, <linux@...ck-us.net>, robelin <robelin@...dia.com>
Subject: [PATCH v8 0/3] clocksource: fix Tegra234 SoC Watchdog Timer.
From: robelin <robelin@...dia.com>
This set of patches includes a fix for watchdog for it may not bark
due to self-pinging and adds WDIOC_GETTIMELEFT support.
--
V8:
- Change WARN_ON() to WARN_ON_ONCE() to not spew too many message
- Use pre-exist DIV_ROUND_CLOSEST_ULL for the same math operation
V7:
- Fix formatting
- Consider overflow and warn if happens
V6:
- Fix timeleft value addition using unmatched time unit
- Use u64 type to maintain the microseconds value in case of overflow
V5:
- Print warning message if get unexpected value from the register
V4:
- Improve the precision of timeleft value
- Fix the unused variable warning
V3:
- Improve comment description
- Refactor to fit codeline within 80 columns
- Remove unused if(0) blocks
V2:
- Fix a compilation error, a warning and updates copyright
--
Pohsun Su (2):
clocksource/drivers/timer-tegra186: add WDIOC_GETTIMELEFT support
clocksource/drivers/timer-tegra186: fix watchdog self-pinging
robelin (1):
clocksource/drivers/timer-tegra186: Remove unused bits
drivers/clocksource/timer-tegra186.c | 100 +++++++++++++++++----------
1 file changed, 63 insertions(+), 37 deletions(-)
--
2.34.1
Powered by blists - more mailing lists