[ISSUE]: iTCO_wdt driver's timeleft seem will not decrease when the watchdog is started.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux