Skip to content
Snippets Groups Projects
Commit 62d21aba authored by Waiman Long's avatar Waiman Long
Browse files

tools headers cpufeatures: Sync with the kernel sources

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2115086

commit 553de6e1
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date:   Thu, 1 Jul 2021 13:39:15 -0300

    tools headers cpufeatures: Sync with the kernel sources

    To pick the changes from:

      28a99e95 ("x86/amd: Use IBPB for firmware calls")

    This only causes these perf files to be rebuilt:

      CC       /tmp/build/perf/bench/mem-memcpy-x86-64-asm.o
      CC       /tmp/build/perf/bench/mem-memset-x86-64-asm.o

    And addresses this perf build warning:

      Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
      diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h

    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org
    Link: https://lore.kernel.org/lkml/Yt6oWce9UDAmBAtX@kernel.org


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>

Signed-off-by: default avatarWaiman Long <longman@redhat.com>
parent 283a0df8
No related branches found
No related tags found
No related merge requests found
......@@ -301,6 +301,7 @@
#define X86_FEATURE_RETPOLINE_LFENCE (11*32+13) /* "" Use LFENCE for Spectre variant 2 */
#define X86_FEATURE_RETHUNK (11*32+14) /* "" Use REturn THUNK */
#define X86_FEATURE_UNRET (11*32+15) /* "" AMD BTB untrain return */
#define X86_FEATURE_USE_IBPB_FW (11*32+16) /* "" Use IBPB during runtime firmware calls */
/* Intel-defined CPU features, CPUID level 0x00000007:1 (EAX), word 12 */
#define X86_FEATURE_AVX_VNNI (12*32+ 4) /* AVX VNNI instructions */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment