[Bug 269228] coretemp: incorrect tjmax for desktop and server Core 2 Duo/Xeon 51xx 2 cores 65nm (Conroe, Woodcrest, possible Allen dale): 85°C, but must be 100°C

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 Jan 2023 17:03:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269228

--- Comment #1 from VVD <vvd@unislabs.com> ---
Oh, look here:
        if (usemsr_ee) {
                err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx);
                if (err) {
                        dev_warn(dev,
                                 "Unable to access MSR 0xEE, for Tjmax, left"
                                 " at default\n");
                } else if (eax & 0x40000000) {
                        tjmax = tjmax_ee;
                }
        } else if (tjmax == 100000) {
                /*
                 * If we don't use msr EE it means we are desktop CPU
                 * (with exeception of Atom)
                 */
                dev_warn(dev, "Using relative temperature scale!\n");
        }

So on desktop CPU not need to use MSR 0xEE (MSR_IA32_EXT_CONFIG) at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.