Re: [PATCH] x86/cpu/intel: Drop stray FAM6 check with new Intel CPU model defines

From: Andrew Cooper
Date: Wed May 29 2024 - 15:02:18 EST


On 29/05/2024 7:59 pm, Luck, Tony wrote:
>>> The outer if () should have been dropped when switching to c->x86_vfm.
>> FWIW, we are going to need to do a pass over all of arch/x86 looking for
>> these. I suspect many of the 'if (c->x86 == ...) ' checks can go away
>> like this one.
>>
>> Thanks for finding this one, though!
> Yup.
>
> Acked-by: Tony Luck <tony.luck@xxxxxxxxx>

Thanks.  FWIW, none of the other uses of c->x86 I looked at seem trivial
to convert.

This one I only happened to notice because it stood out in context.

~Andrew