linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ISSUE]: iTCO_wdt driver's timeleft seem will not decrease when the watchdog is started.
@ 2023-03-22  2:19 Kean Ren
  0 siblings, 0 replies; only message in thread
From: Kean Ren @ 2023-03-22  2:19 UTC (permalink / raw)
  To: linux-watchdog

Hello everyone,

I encountered a problem while using Linux-watchdog and would like some
help. The specific issue is as follows:

[OS]
Fedora37 6.1.14

[DESCRIPTION]
My testing motherboard is ThinkPad x1 g10 with CPU 11th Gen Intel(R)
core(TM) i7-1185G7 @3.00GHz, when I start the watchdog, found the
timeleft no change, and I do the following steps:
1)cat /sys/class/watchdog/watchdog0/identity
> iTCO_wdt
2)check linus' tree patches, and compare them with the current kernel
version seems not much different.
drivers/i2c/busses/i2c-i801.c
051d769f0a36 ("i2c: i801: Add support for Intel Tiger Lake")
b84398d6d7f9 ("i2c: i801: Use iTCO version 6 in Cannon Lake PCH and beyond")
04bbb97d1b73 ("i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device")
f46efbcad97b ("i2c: i801: Add support for Intel Tiger Lake PCH-H")

For drivers/watchdog/iTCO_wdt.c:
da23b6faa8bf ("watchdog: iTCO: Add support for Cannon Lake PCH iTCO")
e42b0c24389d ("watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional")
3) Check all the SMBus setting parameters and Inter 500 Series Chipset
Family PCH datasheet seems all registers set the right value.
4) What more, I found ICH_RES_IO_SMI resource is not useful for this type of CPU

[STEPS]:
1) Download the source code and compile the
tools/testing/selftests/watchdog/watchdog-test.c
2) Run watchdog-test with parameters -t 30 -p 20 -e
3) Run watch wdctl
4) We can find the 'Timeleft' value keeps at 30, not decrease. <----
that's the issue.

Has anyone encountered a similar problem? Do you know how I can solve
this problem?

Thank you!
Kean

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-22  2:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-22  2:19 [ISSUE]: iTCO_wdt driver's timeleft seem will not decrease when the watchdog is started Kean Ren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).