]> 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)
commit6208390636dcd63739a8053209791f23f4129086
tree774fc4f84d1aeee267541f1d7ef63e377d9ee795
parent0247ed8d422229a64f367a135002574c9807af71
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