Re: [PATCH 5/6] x86/cpu: Add platform ID to CPU matching structure
From: Dave Hansen
Date: Tue Jan 20 2026 - 10:09:03 EST
On 1/20/26 00:30, Andy Shevchenko wrote:
...
>> #define X86_STEPPING_ANY 0
>> #define X86_STEP_MIN 0
>> #define X86_STEP_MAX 0xf
>> +#define X86_PLATFORM_ANY 0x0
>> #define X86_FEATURE_ANY 0 /* Same as FPU, you can't test for that */
> Wouldn't it be slightly better to locate the new one here to follow the order
> in x86_cpu_id above?
I stuck it there because ->platform_mask acts functionally like the
stepping mask does.