Skip to content

Commit 24921db

Browse files
PatrickRudolphgroeck
authored andcommitted
hwmon: (peci/dimmtemp) Bump timeout
The PECI CPU sensors are available as soon as the CPU is powered, however the PECI DIMM sensors are available after DRAM has been trained and thresholds have been written by host firmware. The default timeout of 30 seconds isn't enough for modern multisocket platforms utilizing DDR5 memory to bring up the memory and enable PECI sensor data. Bump the default timeout to 10 minutes in case the system starts without cached DDR5 training data. Signed-off-by: Patrick Rudolph <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: List affected driver in patch subject] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 4265eb0 commit 24921db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/peci/dimmtemp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#define GET_TEMP_MAX(x) (((x) & DIMM_TEMP_MAX) >> 8)
4848
#define GET_TEMP_CRIT(x) (((x) & DIMM_TEMP_CRIT) >> 16)
4949

50-
#define NO_DIMM_RETRY_COUNT_MAX 5
50+
#define NO_DIMM_RETRY_COUNT_MAX 120
5151

5252
struct peci_dimmtemp;
5353

0 commit comments

Comments
 (0)