RE: [PATCH v6 00/49] New Intel CPUID families
From: Luck, Tony
Date: Tue May 21 2024 - 11:21:20 EST
>> - Please consider patches 0001 & 0002 as urgent to fix a regression.
>>
>> 1 and 2?
>
> Only 2 I think...
Patch 2 fixes the existing regression. But if you apply just that patch it
will create a new regression. Patch 1 fixes the place where someone
isn't using the X86_MATCH macros. Just open coding:
{ .vendor = X86_VENDOR_INTEL, .family = 6, .model = INTEL_FAM6_SKYLAKE_X },
so they don't set .flags Patch 2 changes x86_match_cpu() to just use flags as the
end marker for the array:
for (m = match; m->flags & X86_CPU_ID_FLAG_ENTRY_VALID; m++) {
-Tony