[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a6aaa2ab-e0f4-42f2-b08c-d9bc9cf6830d@intel.com>
Date: Mon, 23 Dec 2024 11:52:09 -0800
From: Sohil Mehta <sohil.mehta@...el.com>
To: Borislav Petkov <bp@...en8.de>
CC: <x86@...nel.org>, Dave Hansen <dave.hansen@...ux.intel.com>, Tony Luck
<tony.luck@...el.com>, Peter Zijlstra <peterz@...radead.org>, Ingo Molnar
<mingo@...hat.com>, Arnaldo Carvalho de Melo <acme@...nel.org>, Namhyung Kim
<namhyung@...nel.org>, Mark Rutland <mark.rutland@....com>, "Alexander
Shishkin" <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
"Kan Liang" <kan.liang@...ux.intel.com>, Thomas Gleixner
<tglx@...utronix.de>, "H . Peter Anvin" <hpa@...or.com>, "Rafael J . Wysocki"
<rafael@...nel.org>, "Len Brown" <lenb@...nel.org>, Andy Lutomirski
<luto@...nel.org>, Viresh Kumar <viresh.kumar@...aro.org>, Fenghua Yu
<fenghua.yu@...el.com>, Jean Delvare <jdelvare@...e.com>, Guenter Roeck
<linux@...ck-us.net>, Zhang Rui <rui.zhang@...el.com>,
<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-acpi@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<linux-hwmon@...r.kernel.org>
Subject: Re: [RFC PATCH 06/15] x86/microcode: Update the Intel processor flag
scan check
On 12/21/2024 1:11 AM, Borislav Petkov wrote:
>>
>> - if (x86_model(sig->sig) >= 5 || x86_family(sig->sig) > 6) {
>> + /* TODO: Simplify this using a VFM check? */
>
> No TODOs. Take your time and do it right from the get-go please.
>
Sorry, this sneaked through. I was supposed to modify the comment before
sending it out. For this RFC, I was looking for suggestions since there
didn't seem a straight forward way to convert sig to VFM.
But as Dave mentioned in the other thread, maybe we don't need to redo
CPUID in the first place and this code can reuse cpu_data(). I'll
explore that path first.
Sohil
Powered by blists - more mailing lists