Re: [PATCH v7 004/120] x86/cpuid: Introduce <asm/cpuid/leaf_types.h>

"Ahmed S. Darwish" <[email protected]> Mon, 1 Jun 2026 23:24:54 +0200
Newsgroups dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel
Message-ID <ah34pi6j5HSMJdrL@lx-t490>
On Mon, 01 Jun 2026, Borislav Petkov wrote:
>
> On Mon, Jun 01, 2026 at 09:53:32PM +0200, Ahmed S. Darwish wrote:
> > I'm doing another iteration of this PQ this week, along with a minor
> > x86-cpuid-db release to fix those couple of fields.
>
> Maciej found it and I'd like to give him the credit for it. So Maciej please
> do a patch ontop of current tip:x86/cpu so that I can pick it up.
>

Maciej should first send a patch to x86-cpuid-db.¹ Then the header
generated by the tool can be submitted on top of tip:x86/cpu.

This is for example how it was done in the merged commits:

  49394b5af45c tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.4
  300ba891418a tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.3
  5e0c3c5e95f0 tools/x86/kcpuid: Update bitfields to x86-cpuid-db v2.2
  ...

One component of this work is that you and the other x86 maintainers will
enforce that "auto generated header" rule; unless something really urgent
pops up and common sense applies.

But a single, yet unused, bitfield spelling mistak is not that urgent to
warrant breaking the rule from the get go.

¹ https://gitlab.com/x86-cpuid.org/x86-cpuid-db/-/blob/tip/CONTRIBUTING.rst

Thanks,
Ahmed