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)
commit1032f32645f8a650edb0134d52fa085642d0a492
tree774fc4f84d1aeee267541f1d7ef63e377d9ee795
parent5790921bc18b1eb5c0c61371e31114fd4c4b0154
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