Re: [PATCH v6 00/90] x86: Introduce a centralized CPUID data model

Borislav Petkov <[email protected]> Thu, 7 May 2026 12:17:32 +0200
Newsgroups dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel
Message-ID <20260507101732.GAafxmvEcQ3W3UHE1j@fat_crate.local>
On Wed, May 06, 2026 at 10:52:01PM +0200, Ahmed S. Darwish wrote:
> For the /current/ scattered feature bits, the array which maps them to
> their hardware backing:
> 
>     static const struct cpuid_bit cpuid_bits[] = {
> 	{ X86_FEATURE_APERFMPERF,	CPUID_ECX,  0, 0x00000006, 0 },
> 	{ X86_FEATURE_EPB,		CPUID_ECX,  3, 0x00000006, 0 },
> 	{ ... },
>     }
> 
> is needed.

My assumption is that at the end of the patchset, scattered.c is gone because
we have *all* hw CPUID functions present.

-- 
Regards/Gruss,
    Boris.

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