Re: [PATCH v10 3/3] x86/cpu: Do a sanity check on required feature bits
From: Maciej Wieczor-Retman
Date: Thu Mar 19 2026 - 13:58:56 EST
On 2026-03-18 at 17:02:51 -0700, Pawan Gupta wrote:
>On Tue, Mar 17, 2026 at 08:00:22PM +0000, 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>
>> Acked-by: H. Peter Anvin (Intel) <hpa@xxxxxxxxx>
>
>Reviewed-by: Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx>
Thanks for looking at the patches!
>From a bot review that Sohil showed me I realized there is one thing to fix in
this patch, namely possible unaligned access in for_each_set_bit(). So I
probably should clear the tags from this patch for the next version.
--
Kind regards
Maciej Wieczór-Retman