[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250817114734.42e17904@frodo.int.wylie.me.uk>
Date: Sun, 17 Aug 2025 11:47:34 +0100
From: "Alan J. Wylie" <alan@...ie.me.uk>
To: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
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 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>
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
Powered by blists - more mailing lists