Re: [PATCH 0/2] Introduce Control-flow Enforcement opcodes

From: Masami Hiramatsu
Date: Tue Mar 03 2020 - 05:35:59 EST


Hi,

On Tue, 4 Feb 2020 09:14:23 -0800
Yu-cheng Yu <yu-cheng.yu@xxxxxxxxx> wrote:

> 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/20190813205225.12032-1-yu-cheng.yu@xxxxxxxxx/
> https://lkml.kernel.org/r/20190813205359.12196-1-yu-cheng.yu@xxxxxxxxx/

Sorry, somewhat I've missed this series...

This looks good to me.

Acked-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

for this series.

Thank you,

>
> 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(-)
>
> --
> 2.21.0
>


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>