Re: [RFC PATCH 00/15] Prepare for new Intel family models
From: Andrew Cooper
Date: Fri Dec 20 2024 - 19:29:43 EST
> ---Noteworthy quirks---
> Pentium II Overdrive - A unique family number:
> Wikipedia says[2], In Intel's "Family/Model/Stepping" scheme, the Pentium II
> OverDrive CPU identifies itself as family 6, model 3, though this is
> misleading, as it is not based on the family 6/model 3 Klamath core. As
> mentioned in the Pentium II Processor update documentation from Intel,
> "although this processor has a CPUID of 163xh, it uses a Pentium II processor
> CPUID 065xh processor core."
>
> A dump of the microcode file 06-03-02 shows:
> 001/001: sig 0x00001632, pf_mask 0x00, 1998-06-10, rev 0x0002, size 2048
> An archived CPUID dump [3] also says:
> CPUID 00000001: 00001632-00000000-00000000-0183FBFF
>
> That would translate to a family number of 22 (0x16). This aberration is
> not explicitly handled anywhere in the kernel so the platform might already
> be broken. This series might make it worse for the platform if the latest
> kernel works on it by chance.
Are you sure? Bits 13:12 are the type field, and the 0x1 you've got is
for an OverDrive processor.
x86_family() will consider this to be family 6 as far as I can see.
~Andrew