]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpufeatures: Put the AMX macros in the word 18 block
authorJim Mattson <jmattson@google.com>
Thu, 3 Feb 2022 19:43:07 +0000 (11:43 -0800)
committerBorislav Petkov <bp@suse.de>
Tue, 8 Feb 2022 09:23:35 +0000 (10:23 +0100)
commit7e2a5f6370339fb03e85b3258d5d202c1f73455f
tree4a6b30529f6d292dfc4eebc0fd731f06c97d1888
parentcf193628f191003767f5a29db711b75ba54e070a
x86/cpufeatures: Put the AMX macros in the word 18 block

These macros are for bits in CPUID.(EAX=7,ECX=0):EDX, not for bits in
CPUID(EAX=7,ECX=1):EAX. Put them with their brethren.

  [ bp: Sort word 18 bits properly, as caught by Like Xu
    <like.xu.linux@gmail.com> ]

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20220203194308.2469117-1-jmattson@google.com
arch/x86/include/asm/cpufeatures.h