[Midnightbsd-cvs] [MidnightBSD/src] 20ba93: coretemp: Only log critical temperature events
Lucas Holt
noreply at github.com
Thu Mar 13 02:12:25 EDT 2025
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 20ba93707cf1565cf1ea64fd7f0ac313ae8604d6
https://github.com/MidnightBSD/src/commit/20ba93707cf1565cf1ea64fd7f0ac313ae8604d6
Author: Lucas Holt <luke at foolishgames.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M sys/dev/coretemp/coretemp.c
Log Message:
-----------
coretemp: Only log critical temperature events
According to the Intel manual
https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-vol-3b-part-2-manual.pdf
the Thermal Status (0) and Thermal Status Log (1) bits report only a
high temperature on the CPU, not a critical temperature as suggested in
the coretemp driver. Check the Critical Temperature Log (5) instead.
The critical temperature waives guarantees of correct function,
therefore the CPU could have for example written some wrong values into
memory at that point and the OS should be stopped ASAP as the state is
no longer reliable.
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list