]> git.baikalelectronics.ru Git - kernel.git/commit
perf/tests: Add CET instructions to the new instructions test
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 4 Feb 2020 17:14:25 +0000 (09:14 -0800)
committerBorislav Petkov <bp@suse.de>
Thu, 26 Mar 2020 11:31:36 +0000 (12:31 +0100)
commit1dc557ce7604137f956c1ee26755f44838003ce2
tree774fc4f84d1aeee267541f1d7ef63e377d9ee795
parent6a727b32d0b728c4855b7c096963509ff5fd3582
perf/tests: Add CET instructions to the new instructions test

Add to the "x86 instruction decoder - new instructions" test the following
instructions:

  incsspd
  incsspq
  rdsspd
  rdsspq
  saveprevssp
  rstorssp
  wrssd
  wrssq
  wrussd
  wrussq
  setssbsy
  clrssbsy
  endbr32
  endbr64

And the notrack prefix for indirect calls and jumps.

For information about the instructions, refer Intel Control-flow
Enforcement Technology Specification May 2019 (334525-003).

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Yu-cheng Yu <yu-cheng.yu@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lkml.kernel.org/r/20200204171425.28073-3-yu-cheng.yu@intel.com
tools/perf/arch/x86/tests/insn-x86-dat-32.c
tools/perf/arch/x86/tests/insn-x86-dat-64.c
tools/perf/arch/x86/tests/insn-x86-dat-src.c