Re: [PATCH 1/3] x86/cpu: Add a steppings field to struct x86_cpu_id

2020-05-06 Thread mark gross
+1 --mark On Wed, May 06, 2020 at 09:15:14AM +0200, Borislav Petkov wrote: > From: Mark Gross > > Intel uses the same family/model for several CPUs. Sometimes the > stepping must be checked to tell them apart. > > On x86 there can be at most 16 steppings. Add a steppings bitmask to > x86_cpu_i

[PATCH 1/3] x86/cpu: Add a steppings field to struct x86_cpu_id

2020-05-06 Thread Borislav Petkov
From: Mark Gross Intel uses the same family/model for several CPUs. Sometimes the stepping must be checked to tell them apart. On x86 there can be at most 16 steppings. Add a steppings bitmask to x86_cpu_id and a X86_MATCH_VENDOR_FAMILY_MODEL_STEPPING_FEATURE macro and support for matching again