Re: [PATCH v5 3/3] x86/cpu: Required feature bits sanity check

From: H. Peter Anvin

Date: Fri Feb 13 2026 - 15:19:47 EST


On 2026-02-12 07:35, Maciej Wieczor-Retman wrote:
> From: Maciej Wieczor-Retman <maciej.wieczor-retman@xxxxxxxxx>
>
> After cpu identification concludes, do a sanity check by comparing the
> final x86_capability bitmask with the pre-defined required feature bits.
>
> Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@xxxxxxxxx>

For as much as it matters (since I originally requested Maciej implemented this):

Acked-by: H. Peter Anvin (Intel) <hpa@xxxxxxxxx>

We really, really need this. We have this check in the BIOS boot stub, but
none of the modern stubs have included the equivalent code.

-hpa