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] [day] [month] [year] [list]
Message-Id: <20250820100224.ece0bc4483521b309991133a@kernel.org>
Date: Wed, 20 Aug 2025 10:02:24 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: "Alan J. Wylie" <alan@...ie.me.uk>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>, Thomas Gleixner
 <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov
 <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>,
 linux-kernel@...r.kernel.org, regressions@...ts.linux.dev,
 stable@...r.kernel.org, Linus Torvalds <torvalds@...ux-foundation.org>,
 x86@...nel.org, "H . Peter Anvin" <hpa@...or.com>
Subject: Re: [PATCH] x86: XOP prefix instructions decoder support

On Sun, 17 Aug 2025 11:47:34 +0100
"Alan J. Wylie" <alan@...ie.me.uk> wrote:

> On Sun, 17 Aug 2025 09:32:40 +0900
> Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
> 
> > Hi Alan, 
> > 
> > Can you test this with our cros-compile build?
> > 
> > Thank you,
> 
> Applies cleanly to both 6.16.0 and 6.16.1, builds natively on both on
> my FX-8350 box and boots successfully on both.
> 
> Tested-by: Alan J. Wylie <alan@...ie.me.uk>

Thank you for testing!



> 
> Thanks
> 
> Alan.
> 
> > 
> > On Wed, 30 Jul 2025 16:46:52 +0900
> > "Masami Hiramatsu (Google)" <mhiramat@...nel.org> wrote:
> > 
> > > From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
> > > 
> > > Support decoding AMD's XOP prefix encoded instructions.
> > > 
> > > These instructions are introduced for Bulldozer micro architecture,
> > > and not supported on Intel's processors. But when compiling kernel
> > > with CONFIG_X86_NATIVE_CPU on some AMD processor (e.g. -march=bdver2),
> > > these instructions can be used.
> > > 
> > > Reported-by: Alan J. Wylie <alan@...ie.me.uk>
> > > Closes: https://lore.kernel.org/all/871pq06728.fsf@wylie.me.uk/
> > > Signed-off-by: Masami Hiramatsu (Google) <mhiramat@...nel.org>
> > > ---
> > >  arch/x86/include/asm/inat.h                        |   15 +++
> > >  arch/x86/include/asm/insn.h                        |   51 +++++++++
> > >  arch/x86/lib/inat.c                                |   13 ++
> > >  arch/x86/lib/insn.c                                |   35 +++++-
> > >  arch/x86/lib/x86-opcode-map.txt                    |  111 ++++++++++++++++++++
> > >  arch/x86/tools/gen-insn-attr-x86.awk               |   44 ++++++++
> > >  tools/arch/x86/include/asm/inat.h                  |   15 +++
> > >  tools/arch/x86/include/asm/insn.h                  |   51 +++++++++
> > >  tools/arch/x86/lib/inat.c                          |   13 ++
> > >  tools/arch/x86/lib/insn.c                          |   35 +++++-
> > >  tools/arch/x86/lib/x86-opcode-map.txt              |  111 ++++++++++++++++++++
> > >  tools/arch/x86/tools/gen-insn-attr-x86.awk         |   44 ++++++++
> > >  .../util/intel-pt-decoder/intel-pt-insn-decoder.c  |    2 
> > >  13 files changed, 513 insertions(+), 27 deletions(-)
> 
> 
> 
> -- 
> Alan J. Wylie     https://www.wylie.me.uk/     mailto:<alan@...ie.me.uk>
> 
> Dance like no-one's watching. / Encrypt like everyone is.
> Security is inversely proportional to convenience


-- 
Masami Hiramatsu (Google) <mhiramat@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ