hwmon: (peci/dimmtemp) Bump timeout
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Thu, 30 Nov 2023 09:04:21 +0000 (10:04 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 11 Dec 2023 14:21:01 +0000 (06:21 -0800)
commit24921dbd2969869e5a34cc6d44a8526342a74e40
tree62f5c13f86d895eb7f1d75b67c1784571c022b8c
parent4265eb062a7303e537ab3792ade31f424c3c5189
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 <patrick.rudolph@9elements.com>
Link: https://lore.kernel.org/r/20231130090422.2535542-1-patrick.rudolph@9elements.com
[groeck: List affected driver in patch subject]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/peci/dimmtemp.c