• Guenter Roeck's avatar
    Revert "hwmon: (coretemp) Refine TjMax detection" · c0940e95
    Guenter Roeck authored
    This reverts commit 9fb6c9c7.
    
    Tjmax on some Intel CPUs is below 85 degrees C. One known example is
    L5630 with Tjmax of 71 degrees C. There are other Xeon processors with
    Tjmax of 70 or 80 degrees C. Also, the Intel IA32 System Programming
    document states that the temperature target is in bits 23:16 of MSR 0x1a2
    (MSR_TEMPERATURE_TARGET), which is 8 bits, not 7.
    
    So even if turbostat uses similar checks to validate Tjmax, there is no
    evidence that the checks are actually required. On the contrary, the
    checks are known to cause problems and therefore need to be removed.
    
    This fixes https://bugzilla.kernel.org/show_bug.cgi?id=75071.
    
    Fixes: 9fb6c9c7 hwmon: (coretemp) Refine TjMax detection
    Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
    Cc: stable@vger.kernel.org # 3.14+
    Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
    c0940e95
coretemp.c 22.1 KB