Skip to content

clocksource: fix Tegra234 SoC Watchdog Timer.

Robert Lin linux-tegra linux-watchdog lkml 7 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 4 repliesApplied
  2. v73 patches 10 repliesSuperseded
  3. v63 patches 1 replySuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v53 patches7 repliesSuperseded
v4 posting 2/23 patches5 repliesSuperseded
v4 posting 1/23 patches2 repliesSuperseded
v33 patches4 repliesSuperseded

Changes in v8 from the cover letter

- 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

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/3clocksource/drivers/timer-tegra186: add WDIOC_GETTIMELEFT supportdrivers/clocksource/timer-tegra186.c+63 -13 replies
2/3clocksource/drivers/timer-tegra186: fix watchdog self-pingingdrivers/clocksource/timer-tegra186.c+0 -270 replies
3/3clocksource/drivers/timer-tegra186: Remove unused bitsdrivers/clocksource/timer-tegra186.c+0 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH v8 0/3] clocksource: fix Tegra234 SoC Watchdog Timer.

From: robelin <[email protected]>

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(-)
Signature · 1 line
2.34.1