RE: [PATCH v2 06/10] x86/mce: Convert multiple if () statements into a switch() statement
From: Luck, Tony
Date: Mon Oct 21 2024 - 14:40:23 EST
>> Intel model number allocation policies aren't necessarily sequential.
>
> Model numbers are assumed to be sequential at least within family 6.
Assumption can only be applied retroactively to simpler times. Looking
at the timelines and model numbers for pure-Atom, pure-Core, Hybrid,
and Xeon, they are somewhat jumbled.
> For example, does the following change from Qiuxu, unintentionally
> become applicable to Quark CPUs with family -> 5?
Qiuxu starts the function with:
+ /* Older CPUs don't need quirks. */
+ if (c->x86 < 6)
+ return;
So Quark leaves the function early.
-Tony