Skip to content

hwmon: Fix 32-bit jiffies wraparound in sensor cache timestamps

Guenter Roeck linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest102 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/102hwmon: (abituguru) Use 64-bit jiffies for update timestampdrivers/hwmon/abituguru.c+4 -40 replies
2/102hwmon: (abituguru3) Use 64-bit jiffies for update timestampdrivers/hwmon/abituguru3.c+4 -30 replies
3/102hwmon: (acpi_power_meter) Use ktime for sensor sampling intervaldrivers/hwmon/acpi_power_meter.c+7 -80 replies
4/102hwmon: (ad7414) Use 64-bit jiffies for update deadlinedrivers/hwmon/ad7414.c+3 -30 replies
5/102hwmon: (ad7418) Use 64-bit jiffies for update timestampdrivers/hwmon/ad7418.c+4 -40 replies
6/102hwmon: (adc128d818) Use 64-bit jiffies for update timestampdrivers/hwmon/adc128d818.c+4 -30 replies
7/102hwmon: (adm1025) Use 64-bit jiffies for update timestampdrivers/hwmon/adm1025.c+4 -30 replies
8/102hwmon: (adm1026) Use 64-bit jiffies for update timestampsdrivers/hwmon/adm1026.c+9 -80 replies
9/102hwmon: (adm1029) Use 64-bit jiffies for update timestampdrivers/hwmon/adm1029.c+4 -30 replies
10/102hwmon: (adm1031) Use ktime for sensor update intervaldrivers/hwmon/adm1031.c+7 -70 replies
11/102hwmon: (adt7411) Use 64-bit jiffies for vref update deadlinedrivers/hwmon/adt7411.c+5 -50 replies
12/102hwmon: (adt7462) Use 64-bit jiffies for update timestampsdrivers/hwmon/adt7462.c+10 -90 replies
13/102hwmon: (adt7470) Use 64-bit jiffies for update timestampsdrivers/hwmon/adt7470.c+32 -160 replies
14/102hwmon: (adt7475) Use 64-bit jiffies for measurement timestampdrivers/hwmon/adt7475.c+3 -30 replies
15/102hwmon: (aquacomputer_d5next) Use ktime for status update timestampdrivers/hwmon/aquacomputer_d5next.c+20 -70 replies
16/102hwmon: (asb100) Use 64-bit jiffies for update timestampdrivers/hwmon/asb100.c+4 -40 replies
17/102hwmon: (asc7621) Use 64-bit jiffies for update timestampsdrivers/hwmon/asc7621.c+8 -60 replies
18/102hwmon: (asus_atk0110) Use 64-bit jiffies for sensor cache timestampdrivers/hwmon/asus_atk0110.c+5 -40 replies
19/102hwmon: (asus_rog_ryujin) Use ktime for status validity timestampdrivers/hwmon/asus_rog_ryujin.c+6 -40 replies
20/102hwmon: (asus_wmi_sensors) Use 64-bit jiffies for source cache timestampsdrivers/hwmon/asus_wmi_sensors.c+4 -30 replies
21/102hwmon: (atxp1) Use 64-bit jiffies and record update timestampdrivers/hwmon/atxp1.c+4 -20 replies
22/102hwmon: (dme1737) Use 64-bit jiffies for update timestampsdrivers/hwmon/dme1737.c+8 -60 replies
23/102hwmon: (ds1621) Use ktime for update timestampdrivers/hwmon/ds1621.c+6 -40 replies
24/102hwmon: (ds620) Use 64-bit jiffies for update timestampdrivers/hwmon/ds620.c+3 -30 replies
25/102hwmon: (emc2103) Use 64-bit jiffies for update timestampdrivers/hwmon/emc2103.c+3 -30 replies
26/102hwmon: (emc6w201) Use 64-bit jiffies for update timestampdrivers/hwmon/emc6w201.c+4 -30 replies
27/102hwmon: (f71805f) Use 64-bit jiffies for update timestampsdrivers/hwmon/f71805f.c+6 -60 replies
28/102hwmon: (f71882fg) Use 64-bit jiffies for update timestampsdrivers/hwmon/f71882fg.c+8 -70 replies
29/102hwmon: (f75375s) Use 64-bit jiffies for update timestampsdrivers/hwmon/f75375s.c+6 -60 replies
30/102hwmon: (fschmd) Use 64-bit jiffies for update timestampdrivers/hwmon/fschmd.c+4 -30 replies
31/102hwmon: (ftsteutates) Use 64-bit jiffies for update timestampdrivers/hwmon/ftsteutates.c+4 -30 replies
32/102hwmon: (g760a) Use 64-bit jiffies for update timestampdrivers/hwmon/g760a.c+4 -30 replies
33/102hwmon: (g762) Use 64-bit jiffies for update timestampdrivers/hwmon/g762.c+4 -30 replies
34/102hwmon: (gigabyte_waterforce) Use ktime for status validity timestampdrivers/hwmon/gigabyte_waterforce.c+6 -50 replies
35/102hwmon: (gl518sm) Use 64-bit jiffies for update timestampdrivers/hwmon/gl518sm.c+3 -30 replies
36/102hwmon: (gl520sm) Use 64-bit jiffies for update timestampdrivers/hwmon/gl520sm.c+4 -30 replies
37/102hwmon: (hih6130) Use 64-bit jiffies for update timestampdrivers/hwmon/hih6130.c+4 -30 replies
38/102hwmon: (hp-wmi-sensors) Use 64-bit jiffies for sensor cache timestampsdrivers/hwmon/hp-wmi-sensors.c+6 -61 reply
39/102hwmon: (ibmaem) Use 64-bit jiffies and record update timestampsdrivers/hwmon/ibmaem.c+35 -180 replies
40/102hwmon: (ibmpex) Use 64-bit jiffies for update timestampdrivers/hwmon/ibmpex.c+4 -30 replies
41/102hwmon: (ina209) Use ktime for update timestampdrivers/hwmon/ina209.c+11 -30 replies
42/102hwmon: (it87) Use 64-bit jiffies for update timestampdrivers/hwmon/it87.c+4 -40 replies
43/102hwmon: (kbatt) Use 64-bit jiffies for update deadlinedrivers/hwmon/kbatt.c+5 -30 replies
44/102hwmon: (lineage-pem) Use 64-bit jiffies for update timestampdrivers/hwmon/lineage-pem.c+4 -30 replies
45/102hwmon: (lm63) Use ktime for update timestampsdrivers/hwmon/lm63.c+10 -100 replies
46/102hwmon: (lm77) Use 64-bit jiffies for update timestampdrivers/hwmon/lm77.c+3 -30 replies
47/102hwmon: (lm78) Use 64-bit jiffies for update timestampdrivers/hwmon/lm78.c+3 -30 replies
48/102hwmon: (lm80) Use 64-bit jiffies for update timestampdrivers/hwmon/lm80.c+4 -30 replies
49/102hwmon: (lm85) Use 64-bit jiffies for update timestampsdrivers/hwmon/lm85.c+8 -60 replies
50/102hwmon: (lm87) Use 64-bit jiffies for update timestampdrivers/hwmon/lm87.c+4 -30 replies
51/102hwmon: (lm90) Use ktime for update timestampsdrivers/hwmon/lm90.c+11 -90 replies
52/102hwmon: (lm93) Use 64-bit jiffies for update timestampdrivers/hwmon/lm93.c+4 -50 replies
53/102hwmon: (lm95241) Use ktime for update timestampdrivers/hwmon/lm95241.c+5 -50 replies
54/102hwmon: (ltc4151) Use ktime for update timestampdrivers/hwmon/ltc4151.c+6 -40 replies
55/102hwmon: (ltc4215) Use ktime for update timestampdrivers/hwmon/ltc4215.c+5 -40 replies
56/102hwmon: (ltc4245) Use 64-bit jiffies for update timestampdrivers/hwmon/ltc4245.c+5 -40 replies
57/102hwmon: (ltc4261) Use ktime for update timestampdrivers/hwmon/ltc4261.c+5 -40 replies
58/102hwmon: (max16065) Use 64-bit jiffies for update timestampdrivers/hwmon/max16065.c+4 -30 replies
59/102hwmon: (max31790) Use 64-bit jiffies for update timestampdrivers/hwmon/max31790.c+4 -30 replies
60/102hwmon: (max6620) Use 64-bit jiffies for update timestampdrivers/hwmon/max6620.c+4 -30 replies
61/102hwmon: (max6650) Use 64-bit jiffies for update timestampdrivers/hwmon/max6650.c+4 -30 replies
62/102hwmon: (menf21bmc_hwmon) Use 64-bit jiffies for update timestampdrivers/hwmon/menf21bmc_hwmon.c+9 -100 replies
63/102hwmon: (nct6683) Use 64-bit jiffies for update timestampdrivers/hwmon/nct6683.c+4 -30 replies
64/102hwmon: (nct6775) Use 64-bit jiffies for update timestampdrivers/hwmon/nct6775-core.c drivers/hwmon/nct6775.h+4 -40 replies
65/102hwmon: (nsa320-hwmon) Use 64-bit jiffies for update timestampdrivers/hwmon/nsa320-hwmon.c+4 -30 replies
66/102hwmon: (nzxt-kraken2) Use ktime for status report validity timestampdrivers/hwmon/nzxt-kraken2.c+27 -100 replies
67/102hwmon: (nzxt-kraken3) Use ktime for status report validity timestampdrivers/hwmon/nzxt-kraken3.c+19 -80 replies
68/102hwmon: (occ) Use 64-bit jiffies for poll and safe-state timestampsdrivers/hwmon/occ/common.c drivers/hwmon/occ/common.h+8 -80 replies
69/102hwmon: (pc87360) Use 64-bit jiffies for update timestampdrivers/hwmon/pc87360.c+4 -30 replies
70/102hwmon: (pc87427) Use 64-bit jiffies for update timestampdrivers/hwmon/pc87427.c+4 -40 replies
71/102hwmon: (peci) Use 64-bit jiffies for sensor update timestampsdrivers/hwmon/peci/common.h+7 -51 reply
72/102hwmon: (powr1220) Use 64-bit jiffies for ADC update timestampsdrivers/hwmon/powr1220.c+3 -30 replies
73/102hwmon: (sch5627) Use 64-bit jiffies for update timestampsdrivers/hwmon/sch5627.c+13 -130 replies
74/102hwmon: (sch5636) Use 64-bit jiffies for update timestampdrivers/hwmon/sch5636.c+4 -30 replies
75/102hwmon: (sht15) Use 64-bit jiffies for status and measurement timestampsdrivers/hwmon/sht15.c+8 -80 replies
76/102hwmon: (sht21) Use ktime for measurement update timestampdrivers/hwmon/sht21.c+6 -50 replies
77/102hwmon: (sht3x) Use ktime for periodic mode update timestampdrivers/hwmon/sht3x.c+7 -60 replies
78/102hwmon: (sht4x) Use 64-bit jiffies for poll timestampdrivers/hwmon/sht4x.c+4 -40 replies
79/102hwmon: (shtc1) Use ktime for measurement update timestampdrivers/hwmon/shtc1.c+5 -30 replies
80/102hwmon: (sis5595) Use 64-bit jiffies for update timestampdrivers/hwmon/sis5595.c+3 -30 replies
81/102hwmon: (smsc47b397) Use 64-bit jiffies for update timestampdrivers/hwmon/smsc47b397.c+4 -30 replies
82/102hwmon: (smsc47m1) Use 64-bit jiffies for update timestampdrivers/hwmon/smsc47m1.c+4 -30 replies
83/102hwmon: (smsc47m192) Use 64-bit jiffies for update timestampdrivers/hwmon/smsc47m192.c+4 -40 replies
84/102hwmon: (stts751) Use ktime for temperature and alert cache timestampsdrivers/hwmon/stts751.c+13 -110 replies
85/102hwmon: (tc654) Use 64-bit jiffies for update timestampdrivers/hwmon/tc654.c+4 -30 replies
86/102hwmon: (tc74) Use ktime for temperature cache timestampdrivers/hwmon/tc74.c+4 -40 replies
87/102hwmon: (thmc50) Use ktime for register cache timestampdrivers/hwmon/thmc50.c+7 -60 replies
88/102hwmon: (tmp421) Use ktime for temperature cache timestampdrivers/hwmon/tmp421.c+5 -50 replies
89/102hwmon: (tmp464) Use ktime for fault register cache timestampdrivers/hwmon/tmp464.c+7 -40 replies
90/102hwmon: (via686a) Use 64-bit jiffies for update timestampdrivers/hwmon/via686a.c+3 -30 replies
91/102hwmon: (vt1211) Use 64-bit jiffies for update timestampdrivers/hwmon/vt1211.c+4 -30 replies
92/102hwmon: (vt8231) Use 64-bit jiffies for update timestampdrivers/hwmon/vt8231.c+4 -40 replies
93/102hwmon: (w83627ehf) Use 64-bit jiffies for update timestampdrivers/hwmon/w83627ehf.c+5 -50 replies
94/102hwmon: (w83627hf) Use 64-bit jiffies for update timestampdrivers/hwmon/w83627hf.c+4 -40 replies
95/102hwmon: (w83781d) Use 64-bit jiffies for update timestampdrivers/hwmon/w83781d.c+4 -40 replies
96/102hwmon: (w83791d) Use 64-bit jiffies for update timestampdrivers/hwmon/w83791d.c+4 -40 replies
97/102hwmon: (w83792d) Use 64-bit jiffies for update timestampdrivers/hwmon/w83792d.c+4 -50 replies
98/102hwmon: (w83793) Use 64-bit jiffies for update timestampsdrivers/hwmon/w83793.c+9 -80 replies
99/102hwmon: (w83795) Use 64-bit jiffies for update timestampdrivers/hwmon/w83795.c+4 -40 replies
100/102hwmon: (w83l785ts) Use 64-bit jiffies for update timestampdrivers/hwmon/w83l785ts.c+4 -30 replies
101/102hwmon: (w83l786ng) Use 64-bit jiffies for update timestampdrivers/hwmon/w83l786ng.c+4 -40 replies
102/102hwmon: (asus_rog_ryujin) Use ktime for pump source change timestampdrivers/hwmon/asus_rog_ryujin.c+10 -100 replies

Reviews trailers per patch

2 of 102 patches have a Reviewed-by or Acked-by.

PatchJames SeoIwona Winiarska
1/102
2/102
3/102
4/102
5/102
6/102
7/102
8/102
9/102
10/102
11/102
12/102
13/102
14/102
15/102
16/102
17/102
18/102
19/102
20/102
21/102
22/102
23/102
24/102
25/102
26/102
27/102
28/102
29/102
30/102
31/102
32/102
33/102
34/102
35/102
36/102
37/102
38/102A-b
39/102
40/102
41/102
42/102
43/102
44/102
45/102
46/102
47/102
48/102
49/102
50/102
51/102
52/102
53/102
54/102
55/102
56/102
57/102
58/102
59/102
60/102
61/102
62/102
63/102
64/102
65/102
66/102
67/102
68/102
69/102
70/102
71/102R-b
72/102
73/102
74/102
75/102
76/102
77/102
78/102
79/102
80/102
81/102
82/102
83/102
84/102
85/102
86/102
87/102
88/102
89/102
90/102
91/102
92/102
93/102
94/102
95/102
96/102
97/102
98/102
99/102
100/102
101/102
102/102

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 000/102] hwmon: Fix 32-bit jiffies wraparound in sensor cache timestamps

Many hwmon drivers cache hardware register values and use 32-bit jiffies comparisons (time_after(), time_before(), time_after_eq(), time_before_eq(), or unsigned jiffies deltas) to determine when cached readings or rate-limit intervals have expired. On 32-bit architectures, unsigned long jiffies is 32 bits wide and signed delta comparisons wrap around after MAX_JIFFY_OFFSET ticks (about 24.85 days at HZ=1000). If a sensor is not polled for longer than that window, time_after() evaluates to false (or time_before() to true) for another ~24.85 days and stale cached values are returned instead of reading fresh values from the hardware.

Sashiko finds more and more instances of this problem in drivers, and I started seeing patches fixing individual drivers. So, instead of going slow, I decided to handle all of them in one series.

This series audits drivers/hwmon and fixes all 101 remaining affected drivers across 102 patches (two patches for asus_rog_ryujin), choosing between 64-bit jiffies and ktime on a per-driver basis:

- 64-bit jiffies (78 drivers): Used where refresh intervals are expressed directly in HZ ticks (e.g., HZ, HZ + HZ / 2, 2 * HZ, 60 * HZ) or where helper logic already operates in jiffies. These drivers are converted to u64 (or atomic64_t in adt7470 to preserve its lockless sysfs read fast-path), get_jiffies_64(), and the corresponding time_*64() helpers.

- ktime (23 drivers, 24 patches): Used where intervals are naturally expressed in milliseconds or microseconds (configurable millisecond conversion tables, sub-second intervals, or asynchronous USB HID status and control timeouts). These drivers are converted to ktime_t with ktime_get(), ktime_add_ms() / ktime_add_us(), ktime_ms_delta(), and ktime_after() / ktime_before(), avoiding both 32-bit jiffies wraparound and coarse msecs_to_jiffies() rounding on low-HZ kernels.

Because 64-bit timestamp loads and stores are non-atomic on 32-bit architectures, all timestamp read/write paths were also checked for serialization:

- Drivers registered via [devm_]hwmon_device_register_with_info() without unlocked custom paths are already serialized by hwdev->lock in the hwmon core.
- Where additional synchronization was required, locks were added or
extended: hwmon_lock in asus_atk0110 and menf21bmc_hwmon, atomic64_t with acquire/release ordering on validity flags in adt7470, spinlocks synchronizing HID .raw_event and .read callbacks in aquacomputer_d5next, nzxt-kraken2, and nzxt-kraken3, and acquiring state->lock before checking last_updated in hp-wmi-sensors.

Auditing the timestamp logic also uncovered a few existing driver bugs that are fixed in their respective patches:

- atxp1, ibmaem: Updated last_updated (and valid in ibmaem when all IPMI reads succeed), which were previously never written despite being checked.
- ds1621, ina209: Fixed millisecond update_interval values previously added directly to jiffies without unit conversion (enforcing a 1 ms minimum cache window in ina209 when single-sample conversion time truncates update_interval to 0 ms).
- f71805f: Fixed the limit cache expiration check comparing against data->last_updated instead of data->last_limits.
- w83792d: Fixed time_after() being passed a relative jiffies delta rather than absolute jiffies timestamps.

Note on tooling and testing:
This series was generated with an AI coding assistant (Jetski / Gemini) prompted to audit drivers/hwmon for 32-bit jiffies wraparound issues and convert affected drivers to 64-bit jiffies or ktime as appropriate, followed by automated review (Sashiko) and manual inspection of flagged drivers. All 102 patches were build-tested on arm, arm64, and x86_64 across all modified object files with zero warnings and verified with scripts/checkpatch.pl --strict; they were not tested on physical sensor hardware.

I plan to apply the series to hwmon-next. Some of the patches will find their way into the 'hwmon' branch and be sent upstream, especially those fixing other bugs or if the problem is reported by Sashiko in some other context.

Cc Aleksa Savic <[email protected]>
Cc Alistair John Strachan <[email protected]>
Cc Corentin Labbe <[email protected]>
Cc Denis Pauk <[email protected]>
Cc Ed Brindley <[email protected]>
Cc George Joseph <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Iwona Winiarska <[email protected]>
Cc Jack Doan <[email protected]>
Cc James Seo <[email protected]>
Cc Jean Delvare <[email protected]>
Cc Jim Cromie <[email protected]>
Cc Jonas Malaco <[email protected]>
Cc Juerg Haefliger <[email protected]>
Cc Luca Tettamanti <[email protected]>
Cc Marc Hulsman <[email protected]>
Cc Riku Voipio <[email protected]>
Cc Roger Lucas <[email protected]>
Cc Rudolf Marek <[email protected]>
Cc Steve Glendinning <[email protected]>

---
Guenter Roeck (102):
hwmon: (abituguru) Use 64-bit jiffies for update timestamp
hwmon: (abituguru3) Use 64-bit jiffies for update timestamp
hwmon: (acpi_power_meter) Use ktime for sensor sampling interval
hwmon: (ad7414) Use 64-bit jiffies for update deadline
hwmon: (ad7418) Use 64-bit jiffies for update timestamp
hwmon: (adc128d818) Use 64-bit jiffies for update timestamp
hwmon: (adm1025) Use 64-bit jiffies for update timestamp
hwmon: (adm1026) Use 64-bit jiffies for update timestamps
hwmon: (adm1029) Use 64-bit jiffies for update timestamp
hwmon: (adm1031) Use ktime for sensor update interval
hwmon: (adt7411) Use 64-bit jiffies for vref update deadline
hwmon: (adt7462) Use 64-bit jiffies for update timestamps
hwmon: (adt7470) Use 64-bit jiffies for update timestamps
hwmon: (adt7475) Use 64-bit jiffies for measurement timestamp
hwmon: (aquacomputer_d5next) Use ktime for status update timestamp
hwmon: (asb100) Use 64-bit jiffies for update timestamp
hwmon: (asc7621) Use 64-bit jiffies for update timestamps
hwmon: (asus_atk0110) Use 64-bit jiffies for sensor cache timestamp
hwmon: (asus_rog_ryujin) Use ktime for status validity timestamp
hwmon: (asus_wmi_sensors) Use 64-bit jiffies for source cache
timestamps
hwmon: (atxp1) Use 64-bit jiffies and record update timestamp
hwmon: (dme1737) Use 64-bit jiffies for update timestamps
hwmon: (ds1621) Use ktime for update timestamp
hwmon: (ds620) Use 64-bit jiffies for update timestamp
hwmon: (emc2103) Use 64-bit jiffies for update timestamp
hwmon: (emc6w201) Use 64-bit jiffies for update timestamp
hwmon: (f71805f) Use 64-bit jiffies for update timestamps
hwmon: (f71882fg) Use 64-bit jiffies for update timestamps
hwmon: (f75375s) Use 64-bit jiffies for update timestamps
hwmon: (fschmd) Use 64-bit jiffies for update timestamp
hwmon: (ftsteutates) Use 64-bit jiffies for update timestamp
hwmon: (g760a) Use 64-bit jiffies for update timestamp
hwmon: (g762) Use 64-bit jiffies for update timestamp
hwmon: (gigabyte_waterforce) Use ktime for status validity timestamp
hwmon: (gl518sm) Use 64-bit jiffies for update timestamp
hwmon: (gl520sm) Use 64-bit jiffies for update timestamp
hwmon: (hih6130) Use 64-bit jiffies for update timestamp
hwmon: (hp-wmi-sensors) Use 64-bit jiffies for sensor cache timestamps
hwmon: (ibmaem) Use 64-bit jiffies and record update timestamps
hwmon: (ibmpex) Use 64-bit jiffies for update timestamp
hwmon: (ina209) Use ktime for update timestamp
hwmon: (it87) Use 64-bit jiffies for update timestamp
hwmon: (kbatt) Use 64-bit jiffies for update deadline
hwmon: (lineage-pem) Use 64-bit jiffies for update timestamp
hwmon: (lm63) Use ktime for update timestamps
hwmon: (lm77) Use 64-bit jiffies for update timestamp
hwmon: (lm78) Use 64-bit jiffies for update timestamp
hwmon: (lm80) Use 64-bit jiffies for update timestamp
hwmon: (lm85) Use 64-bit jiffies for update timestamps
hwmon: (lm87) Use 64-bit jiffies for update timestamp
hwmon: (lm90) Use ktime for update timestamps
hwmon: (lm93) Use 64-bit jiffies for update timestamp
hwmon: (lm95241) Use ktime for update timestamp
hwmon: (ltc4151) Use ktime for update timestamp
hwmon: (ltc4215) Use ktime for update timestamp
hwmon: (ltc4245) Use 64-bit jiffies for update timestamp
hwmon: (ltc4261) Use ktime for update timestamp
hwmon: (max16065) Use 64-bit jiffies for update timestamp
hwmon: (max31790) Use 64-bit jiffies for update timestamp
hwmon: (max6620) Use 64-bit jiffies for update timestamp
hwmon: (max6650) Use 64-bit jiffies for update timestamp
hwmon: (menf21bmc_hwmon) Use 64-bit jiffies for update timestamp
hwmon: (nct6683) Use 64-bit jiffies for update timestamp
hwmon: (nct6775) Use 64-bit jiffies for update timestamp
hwmon: (nsa320-hwmon) Use 64-bit jiffies for update timestamp
hwmon: (nzxt-kraken2) Use ktime for status report validity timestamp
hwmon: (nzxt-kraken3) Use ktime for status report validity timestamp
hwmon: (occ) Use 64-bit jiffies for poll and safe-state timestamps
hwmon: (pc87360) Use 64-bit jiffies for update timestamp
hwmon: (pc87427) Use 64-bit jiffies for update timestamp
hwmon: (peci) Use 64-bit jiffies for sensor update timestamps
hwmon: (powr1220) Use 64-bit jiffies for ADC update timestamps
hwmon: (sch5627) Use 64-bit jiffies for update timestamps
hwmon: (sch5636) Use 64-bit jiffies for update timestamp
hwmon: (sht15) Use 64-bit jiffies for status and measurement
timestamps
hwmon: (sht21) Use ktime for measurement update timestamp
hwmon: (sht3x) Use ktime for periodic mode update timestamp
hwmon: (sht4x) Use 64-bit jiffies for poll timestamp
hwmon: (shtc1) Use ktime for measurement update timestamp
hwmon: (sis5595) Use 64-bit jiffies for update timestamp
hwmon: (smsc47b397) Use 64-bit jiffies for update timestamp
hwmon: (smsc47m1) Use 64-bit jiffies for update timestamp
hwmon: (smsc47m192) Use 64-bit jiffies for update timestamp
hwmon: (stts751) Use ktime for temperature and alert cache timestamps
hwmon: (tc654) Use 64-bit jiffies for update timestamp
hwmon: (tc74) Use ktime for temperature cache timestamp
hwmon: (thmc50) Use ktime for register cache timestamp
hwmon: (tmp421) Use ktime for temperature cache timestamp
hwmon: (tmp464) Use ktime for fault register cache timestamp
hwmon: (via686a) Use 64-bit jiffies for update timestamp
hwmon: (vt1211) Use 64-bit jiffies for update timestamp
hwmon: (vt8231) Use 64-bit jiffies for update timestamp
hwmon: (w83627ehf) Use 64-bit jiffies for update timestamp
hwmon: (w83627hf) Use 64-bit jiffies for update timestamp
hwmon: (w83781d) Use 64-bit jiffies for update timestamp
hwmon: (w83791d) Use 64-bit jiffies for update timestamp
hwmon: (w83792d) Use 64-bit jiffies for update timestamp
hwmon: (w83793) Use 64-bit jiffies for update timestamps
hwmon: (w83795) Use 64-bit jiffies for update timestamp
hwmon: (w83l785ts) Use 64-bit jiffies for update timestamp
hwmon: (w83l786ng) Use 64-bit jiffies for update timestamp
hwmon: (asus_rog_ryujin) Use ktime for pump source change timestamp

 drivers/hwmon/abituguru.c           |  8 ++---
 drivers/hwmon/abituguru3.c          |  7 ++--
 drivers/hwmon/acpi_power_meter.c    | 15 ++++----
 drivers/hwmon/ad7414.c              |  6 ++--
 drivers/hwmon/ad7418.c              |  8 ++---
 drivers/hwmon/adc128d818.c          |  7 ++--
 drivers/hwmon/adm1025.c             |  7 ++--
 drivers/hwmon/adm1026.c             | 17 ++++-----
 drivers/hwmon/adm1029.c             |  7 ++--
 drivers/hwmon/adm1031.c             | 14 ++++----
 drivers/hwmon/adt7411.c             | 10 +++---
 drivers/hwmon/adt7462.c             | 19 ++++++-----
 drivers/hwmon/adt7470.c             | 48 +++++++++++++++++---------
 drivers/hwmon/adt7475.c             |  6 ++--
 drivers/hwmon/aquacomputer_d5next.c | 27 +++++++++++----
 drivers/hwmon/asb100.c              |  8 ++---
 drivers/hwmon/asc7621.c             | 14 ++++----
 drivers/hwmon/asus_atk0110.c        |  9 ++---
 drivers/hwmon/asus_rog_ryujin.c     | 30 ++++++++--------
 drivers/hwmon/asus_wmi_sensors.c    |  7 ++--
 drivers/hwmon/atxp1.c               |  6 ++--
 drivers/hwmon/dme1737.c             | 14 ++++----
 drivers/hwmon/ds1621.c              | 10 +++---
 drivers/hwmon/ds620.c               |  6 ++--
 drivers/hwmon/emc2103.c             |  6 ++--
 drivers/hwmon/emc6w201.c            |  7 ++--
 drivers/hwmon/f71805f.c             | 12 +++----
 drivers/hwmon/f71882fg.c            | 13 +++----
 drivers/hwmon/f75375s.c             | 12 +++----
 drivers/hwmon/fschmd.c              |  7 ++--
 drivers/hwmon/ftsteutates.c         |  7 ++--
 drivers/hwmon/g760a.c               |  7 ++--
 drivers/hwmon/g762.c                |  7 ++--
 drivers/hwmon/gigabyte_waterforce.c | 11 +++---
 drivers/hwmon/gl518sm.c             |  6 ++--
 drivers/hwmon/gl520sm.c             |  7 ++--
 drivers/hwmon/hih6130.c             |  7 ++--
 drivers/hwmon/hp-wmi-sensors.c      | 12 +++----
 drivers/hwmon/ibmaem.c              | 53 +++++++++++++++++++----------
 drivers/hwmon/ibmpex.c              |  7 ++--
 drivers/hwmon/ina209.c              | 14 ++++++--
 drivers/hwmon/it87.c                |  6 ++--
 drivers/hwmon/kbatt.c               |  8 +++--
 drivers/hwmon/lineage-pem.c         |  7 ++--
 drivers/hwmon/lm63.c                | 20 +++++------
 drivers/hwmon/lm77.c                |  6 ++--
 drivers/hwmon/lm78.c                |  6 ++--
 drivers/hwmon/lm80.c                |  7 ++--
 drivers/hwmon/lm85.c                | 14 ++++----
 drivers/hwmon/lm87.c                |  7 ++--
 drivers/hwmon/lm90.c                | 20 ++++++-----
 drivers/hwmon/lm93.c                |  6 ++--
 drivers/hwmon/lm95241.c             | 10 +++---
 drivers/hwmon/ltc4151.c             | 10 +++---
 drivers/hwmon/ltc4215.c             |  9 ++---
 drivers/hwmon/ltc4245.c             |  9 ++---
 drivers/hwmon/ltc4261.c             |  9 ++---
 drivers/hwmon/max16065.c            |  7 ++--
 drivers/hwmon/max31790.c            |  7 ++--
 drivers/hwmon/max6620.c             |  7 ++--
 drivers/hwmon/max6650.c             |  7 ++--
 drivers/hwmon/menf21bmc_hwmon.c     | 19 +++++------
 drivers/hwmon/nct6683.c             |  7 ++--
 drivers/hwmon/nct6775-core.c        |  6 ++--
 drivers/hwmon/nct6775.h             |  2 +-
 drivers/hwmon/nsa320-hwmon.c        |  7 ++--
 drivers/hwmon/nzxt-kraken2.c        | 37 ++++++++++++++------
 drivers/hwmon/nzxt-kraken3.c        | 27 ++++++++++-----
 drivers/hwmon/occ/common.c          | 12 +++----
 drivers/hwmon/occ/common.h          |  4 +--
 drivers/hwmon/pc87360.c             |  7 ++--
 drivers/hwmon/pc87427.c             |  8 ++---
 drivers/hwmon/peci/common.h         | 12 ++++---
 drivers/hwmon/powr1220.c            |  6 ++--
 drivers/hwmon/sch5627.c             | 26 +++++++-------
 drivers/hwmon/sch5636.c             |  7 ++--
 drivers/hwmon/sht15.c               | 16 ++++-----
 drivers/hwmon/sht21.c               | 11 +++---
 drivers/hwmon/sht3x.c               | 13 +++----
 drivers/hwmon/sht4x.c               |  8 ++---
 drivers/hwmon/shtc1.c               |  8 +++--
 drivers/hwmon/sis5595.c             |  6 ++--
 drivers/hwmon/smsc47b397.c          |  7 ++--
 drivers/hwmon/smsc47m1.c            |  7 ++--
 drivers/hwmon/smsc47m192.c          |  8 ++---
 drivers/hwmon/stts751.c             | 24 +++++++------
 drivers/hwmon/tc654.c               |  7 ++--
 drivers/hwmon/tc74.c                |  8 ++---
 drivers/hwmon/thmc50.c              | 13 +++----
 drivers/hwmon/tmp421.c              | 10 +++---
 drivers/hwmon/tmp464.c              | 11 +++---
 drivers/hwmon/via686a.c             |  6 ++--
 drivers/hwmon/vt1211.c              |  7 ++--
 drivers/hwmon/vt8231.c              |  8 ++---
 drivers/hwmon/w83627ehf.c           | 10 +++---
 drivers/hwmon/w83627hf.c            |  8 ++---
 drivers/hwmon/w83781d.c             |  8 ++---
 drivers/hwmon/w83791d.c             |  8 ++---
 drivers/hwmon/w83792d.c             |  9 +++--
 drivers/hwmon/w83793.c              | 17 ++++-----
 drivers/hwmon/w83795.c              |  8 ++---
 drivers/hwmon/w83l785ts.c           |  7 ++--
 drivers/hwmon/w83l786ng.c           |  8 ++---
 103 files changed, 641 insertions(+), 494 deletions(-)
Signature · 1 line
2.56.0