Skip to content

Introduce Control-flow Enforcement opcodes

Yu-cheng Yu lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/misc branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2x86/insn: Add Control-flow Enforcement (CET) instructions to the opcode maparch/x86/lib/x86-opcode-map.txt tools/arch/x86/lib/x86-opcode-map.txt+22 -120 replies
2/2x86/insn: perf tools: Add CET instructions to the new instructions testtools/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+544 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAdrian HunterTony LuckMasami Hiramatsu
SeriesA-b
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] Introduce Control-flow Enforcement opcodes

Control-flow Enforcement (CET) introduces 10 new instructions [1]. Add them to the opcode map. This series has been separated from the CET patches [2] for ease of review.

[1] Detailed information on CET can be found in "Intel 64 and IA-32

    Architectures Software Developer's Manual":

    https://software.intel.com/en-us/download/intel-64-and-ia-32-
    architectures-sdm-combined-volumes-1-2a-2b-2c-2d-3a-3b-3c-3d-and-4

[2] CET patches:

    https://lkml.kernel.org/r/[email protected]/
    https://lkml.kernel.org/r/[email protected]/

Adrian Hunter (1):
x86/insn: perf tools: Add CET instructions to the new instructions
test

Yu-cheng Yu (1):
x86/insn: Add Control-flow Enforcement (CET) instructions to the
opcode map

 arch/x86/lib/x86-opcode-map.txt              |  17 +-
 tools/arch/x86/lib/x86-opcode-map.txt        |  17 +-
 tools/perf/arch/x86/tests/insn-x86-dat-32.c  | 112 +++++++++
 tools/perf/arch/x86/tests/insn-x86-dat-64.c  | 196 +++++++++++++++
 tools/perf/arch/x86/tests/insn-x86-dat-src.c | 236 +++++++++++++++++++
 5 files changed, 566 insertions(+), 12 deletions(-)
Signature · 1 line
2.21.0