Re: [PATCH] x86/cpufeatures: Move the definition of X86_FEATURE_AMX_* to the word 18

From: Dave Hansen
Date: Tue Jan 18 2022 - 12:11:56 EST


What tree is this against? I see BF16 and INT8 in some old versions of
Chang's patches, but not current kernels. All I see right now in
tip/master is:

> #define X86_FEATURE_AMX_TILE (18*32+24) /* AMX tile ...

It's still in the wrong spot, but the other two features aren't there.

> We have defined the word 18 for Intel-defined CPU features from CPUID level> 0x00000007:0 (EDX). Let's move the definitions of X86_FEATURE_AMX_* to
the> right entry to prevent misinterpretation. No functional change
intended.
Please, no "we's" in changelogs. Don't say, "let's move". Just say:
"Move..."

The subject could probably also be trimmed a bit. Perhaps:

x86/cpu: Move AMX CPU feature defines to correct word location