lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211223153808.cddab56b114e5ddf755bd2d0@kernel.org>
Date:   Thu, 23 Dec 2021 15:38:08 +0900
From:   Masami Hiramatsu <mhiramat@...nel.org>
To:     Adrian Hunter <adrian.hunter@...el.com>
Cc:     Arnaldo Carvalho de Melo <acme@...nel.org>,
        Jiri Olsa <jolsa@...hat.com>, linux-kernel@...r.kernel.org,
        Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
        Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
        H Peter Anvin <hpa@...or.com>, chang.seok.bae@...el.com
Subject: Re: [PATCH 0/6] x86/insn: Add instructions to instruction decoder

Hi,

Sorry, I missed this series.

On Thu,  2 Dec 2021 11:50:23 +0200
Adrian Hunter <adrian.hunter@...el.com> wrote:

> Hi
> 
> Here are patches to bring the kernel and tools x86 instruction decoder
> more up to date.
> 
> x86 instruction decoder is used for both kernel instructions and user space
> instructions (e.g. uprobes, perf tools Intel PT), so it is good to update
> it with new instructions.

Hmm, I thought perf used objdump for that purpose internally.
Anyway, this series looks good to me. I'm a bit surprised that the
insn decoder can actually support those instructions only changing
X86_EVEX_M() macro :-)

Acked-by: Masami Hiramatsu <mhiramat@...nel.org>

Thank you!

> 
> 
> Adrian Hunter (6):
>       perf tests: Add AMX instructions to x86 instruction decoder test
>       x86/insn: Add AMX instructions to x86 instruction decoder
>       perf tests: Add misc instructions to x86 instruction decoder test
>       x86/insn: Add misc instructions to x86 instruction decoder
>       perf tests: Add AVX512-FP16 instructions to x86 instruction decoder test
>       x86/insn: Add AVX512-FP16 instructions to x86 instruction decoder
> 
>  arch/x86/include/asm/insn.h                  |    2 +-
>  arch/x86/lib/x86-opcode-map.txt              |  111 +-
>  tools/arch/x86/include/asm/insn.h            |    2 +-
>  tools/arch/x86/lib/x86-opcode-map.txt        |  111 +-
>  tools/perf/arch/x86/tests/insn-x86-dat-32.c  |  918 +++++++++++++++++
>  tools/perf/arch/x86/tests/insn-x86-dat-64.c  | 1426 ++++++++++++++++++++++++++
>  tools/perf/arch/x86/tests/insn-x86-dat-src.c | 1189 +++++++++++++++++++++
>  7 files changed, 3731 insertions(+), 28 deletions(-)
> 
> 
> Regards
> Adrian


-- 
Masami Hiramatsu <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ