Re: [PATCH v7 004/120] x86/cpuid: Introduce <asm/cpuid/leaf_types.h>
From: Ahmed S. Darwish
Date: Mon Jun 01 2026 - 15:53:47 EST
On Mon, 01 Jun 2026, Borislav Petkov wrote:
>
> On Mon, Jun 01, 2026 at 04:30:01PM +0200, Maciej Wieczor-Retman wrote:
> > >
> > > +struct leaf_0x4c780002_0 {
> > > + // eax
> > > + u32 f00f : 1, // Intel F00F
> > > + fdiv : 1, // FPU FDIV
> > > + coma : 1, // Cyrix 6x86 coma
> > > + amd_tlb_mmatch : 1, // AMD Erratum 383
> > > + amd_apic_c1e : 1, // AMD Erratum 400
> > > + bug_11ap : 1, // Bad local APIC aka 11AP
> > > + fxsave_leak : 1, // FXSAVE leaks FOP/FIP/FOP
> > > + clflush_monitor : 1, // AAI65, CLFLUSH required before MONITOR
> > > + sysret_ss_attrs : 1, // SYSRET does not fix up SS attributes
> > > + espfix : 1, // IRET to 16-bit SS corrupts ESP/RSP high bits (x86-32)
> > > + null_seg : 1, // Setting a selector to NULL preserves the base
> > > + swapgs_fence : 1, // SWAPGS without input dep on GS
> > > + monitor : 1, // IPI required to wake up remote CPU
> > > + amd_e400 : 1, // CPU is among the affected by Erratum 400
> > > + cpu_meltdown : 1, // CPU affected by meltdown; needs kernel page table isolation
> > > + spectre_v1 : 1, // CPU affected by Spectre variant 1 with conditional branches
> > > + specture_v2 : 1, // CPU affected by Spectre variant 2 with indirect branches
> >
> > (line 1383, 'specture_v2' should be 'spectre_v2'?)
>
> Send a patch ontop please. We better fix this ASAP before it goes to Linus.
>
I'm doing another iteration of this PQ this week, along with a minor
x86-cpuid-db release to fix those couple of fields.
Thanks,
Ahmed