]> git.baikalelectronics.ru Git - kernel.git/commit
tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007
authorTerry Bowman <terry.bowman@amd.com>
Mon, 6 Feb 2023 14:18:30 +0000 (08:18 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:07 +0000 (23:03 +0900)
commit6d772023c96348eb70373f89dd91a37f29148690
tree926389feac548eb95b2c421c6aefb506875b96ee
parent6147f0cb933417ad94882cb13d8a3b6feb83ceb0
tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007

[ Upstream commit 4e347bdf44c1fd4296a7b9657a2c0e1bd900fa50 ]

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: dc9f20b2eaa1 ("tools/x86: Add a kcpuid tool to show raw CPU features")
Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Feng Tang <feng.tang@intel.com>
Link: https://lore.kernel.org/r/20230206141832.4162264-2-terry.bowman@amd.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/arch/x86/kcpuid/cpuid.csv