On Fri, 28 Aug 2026 at 22:33, Yonghao Li <[email protected]> wrote:
>
> LZCNT support is enumerated by CPUID.80000001H:ECX[5]. The current
> definition checks ECX bit 4, which identifies CR8 legacy mode on AMD
> processors and is reserved on Intel processors. As a result,
> RTE_CPUFLAG_LZCNT can be reported incorrectly.
>
> Check ECX bit 5 instead.
>
> Fixes: af75078fece3 ("first public release")
> Cc: [email protected]
> Signed-off-by: Yonghao Li <[email protected]>

This looks correct to me.
Acked-by: David Marchand <[email protected]>

Bruce, can I use a second pair of eyes?


-- 
David Marchand

Reply via email to