lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <78895061-6f1e-4d3b-9481-95f47f97ab96@intel.com>
Date: Wed, 12 Feb 2025 08:57:12 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: "Zhang, Rui" <rui.zhang@...el.com>, "Mehta, Sohil"
 <sohil.mehta@...el.com>, "Luck, Tony" <tony.luck@...el.com>,
 "x86@...nel.org" <x86@...nel.org>,
 "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>
Cc: "linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
 "viresh.kumar@...aro.org" <viresh.kumar@...aro.org>,
 "andrew.cooper3@...rix.com" <andrew.cooper3@...rix.com>,
 "alexander.shishkin@...ux.intel.com" <alexander.shishkin@...ux.intel.com>,
 "luto@...nel.org" <luto@...nel.org>,
 "david.laight.linux@...il.com" <david.laight.linux@...il.com>,
 "linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
 "linux-perf-users@...r.kernel.org" <linux-perf-users@...r.kernel.org>,
 "Hunter, Adrian" <adrian.hunter@...el.com>,
 "jdelvare@...e.com" <jdelvare@...e.com>,
 "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
 "mingo@...hat.com" <mingo@...hat.com>,
 "irogers@...gle.com" <irogers@...gle.com>,
 "tglx@...utronix.de" <tglx@...utronix.de>,
 "linux@...ck-us.net" <linux@...ck-us.net>, "lenb@...nel.org"
 <lenb@...nel.org>, "kan.liang@...ux.intel.com" <kan.liang@...ux.intel.com>,
 "hpa@...or.com" <hpa@...or.com>, "peterz@...radead.org"
 <peterz@...radead.org>, "mark.rutland@....com" <mark.rutland@....com>,
 "bp@...en8.de" <bp@...en8.de>, "acme@...nel.org" <acme@...nel.org>,
 "rafael@...nel.org" <rafael@...nel.org>, "jolsa@...nel.org"
 <jolsa@...nel.org>, "linux-acpi@...r.kernel.org"
 <linux-acpi@...r.kernel.org>, "namhyung@...nel.org" <namhyung@...nel.org>
Subject: Re: [PATCH v2 07/17] hwmon: Fix Intel Family-model checks to include
 extended Families

On 2/12/25 05:43, Zhang, Rui wrote:
> I agree.
> adjust_tjmax() contains a list of quirks based on PCI-
> ID/x86_vendor_id/x86_model/x86_stepping. The common problem is that all
> the quirks are for Fam6 processors but the family id is not checked. So
> the fix is sufficient. In fact, I think it is better to move the check
> to the very beginning of adjust_tjmax().

Or, heck, just remove the model list. dev_warn_once() if the rdmsr
fails. Who cares about one more line in dmesg?

Why not do the attached patch?
View attachment "coretemp-1.patch" of type "text/x-patch" (1146 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ