Skip to content
Commit 4e347bdf authored by Terry Bowman's avatar Terry Bowman Committed by Borislav Petkov (AMD)
Browse files

tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007



Leaf Fn00000007 contains avx512bw at bit 26 and avx512vl at bit 28. This
is incorrect per the SDM. Correct avx512bw to be bit 30 and avx512lvl to
be bit 31.

Fixes: c6b2f240 ("tools/x86: Add a kcpuid tool to show raw CPU features")
Signed-off-by: default avatarTerry Bowman <terry.bowman@amd.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: default avatarFeng Tang <feng.tang@intel.com>
Link: https://lore.kernel.org/r/20230206141832.4162264-2-terry.bowman@amd.com
parent fe15c26e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment