Date: Sun, 29 Jan 2023 17:03:48 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjkyMjhdIGNvcmV0ZW1wOiBpbmNvcnJlY3QgdGptYXgg?= =?UTF-8?B?Zm9yIGRlc2t0b3AgYW5kIHNlcnZlciBDb3JlIDIgRHVvL1hlb24gNTF4eCAy?= =?UTF-8?B?Y29yZXMgNjVubSAoQ29ucm9lLCBXb29kY3Jlc3QsIHBvc3NpYmxlIEFsbGVu?= =?UTF-8?B?ZGFsZSk6IDg1wrBDLCBidXQgbXVzdCBiZSAxMDDCsEM=?= Message-ID: <bug-269228-227-KbwKvbsDHq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269228-227@https.bugs.freebsd.org/bugzilla/> References: <bug-269228-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269228 --- Comment #1 from VVD <vvd@unislabs.com> --- Oh, look here: if (usemsr_ee) { err =3D rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); if (err) { dev_warn(dev, "Unable to access MSR 0xEE, for Tjmax, lef= t" " at default\n"); } else if (eax & 0x40000000) { tjmax =3D tjmax_ee; } } else if (tjmax =3D=3D 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269228-227-KbwKvbsDHq>