Re: [PATCH] x86/cpu: Validate CPUID leaf 0x2 EDX output

2025-04-10 Thread Andrew Cooper
On 19/03/2025 11:24 am, Jan Beulich wrote: > From: Ahmed S. Darwish > > CPUID leaf 0x2 emits one-byte descriptors in its four output registers > EAX, EBX, ECX, and EDX. For these descriptors to be valid, the most > significant bit (MSB) of each register must be clear. > > Leaf 0x2 parsing at inte

[PATCH] x86/cpu: Validate CPUID leaf 0x2 EDX output

2025-03-19 Thread Jan Beulich
From: Ahmed S. Darwish CPUID leaf 0x2 emits one-byte descriptors in its four output registers EAX, EBX, ECX, and EDX. For these descriptors to be valid, the most significant bit (MSB) of each register must be clear. Leaf 0x2 parsing at intel.c only validated the MSBs of EAX, EBX, and ECX, but l