Re: [PATCH 4/6] x86/cpu: Add platform ID to CPU info structure

From: Borislav Petkov

Date: Thu Feb 12 2026 - 10:22:46 EST


On Wed, Feb 11, 2026 at 10:40:21AM -0800, Dave Hansen wrote:
> I'm racking my brain but having a hard time coming up with a good name
> that would work for unknown future AMD things. ;)
>
> Any suggestions? I'm not married to the name in any way.
> I could prefix it with 'intel_' to make it more clear that someone _can_
> do a union in the future, like we do with "Hardware defined CPU-type".
>
> Or we could do:
>
> union {
> u8 intel_platform_id;
> u8 amd_unused;
> };
>
> to make it utterly clear that it's free for use on AMD if someone goes
> looking for AMD-usable space.

That last one LGTM.

And if we need to change it later, we always can - the thing is there to
remind that we have a u8 ready to use.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette