mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: "Alan J. Wylie" <alan@wylie.me.uk>
Cc: Josh Poimboeuf <jpoimboe@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	linux-kernel@vger.kernel.org, regressions@lists.linux.dev,
	stable@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86: XOP prefix instructions decoder support
Date: Wed, 20 Aug 2025 10:02:24 +0900	[thread overview]
Message-ID: <20250820100224.ece0bc4483521b309991133a@kernel.org> (raw)
In-Reply-To: <20250817114734.42e17904@frodo.int.wylie.me.uk>

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

> On Sun, 17 Aug 2025 09:32:40 +0900
> Masami Hiramatsu (Google) <mhiramat@kernel.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@wylie.me.uk>

Thank you for testing!



> 
> Thanks
> 
> Alan.
> 
> > 
> > On Wed, 30 Jul 2025 16:46:52 +0900
> > "Masami Hiramatsu (Google)" <mhiramat@kernel.org> wrote:
> > 
> > > From: Masami Hiramatsu (Google) <mhiramat@kernel.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@wylie.me.uk>
> > > Closes: https://lore.kernel.org/all/871pq06728.fsf@wylie.me.uk/
> > > Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.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@wylie.me.uk>
> 
> Dance like no-one's watching. / Encrypt like everyone is.
> Security is inversely proportional to convenience


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

  reply	other threads:[~2025-08-20  1:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-30  7:46 Masami Hiramatsu (Google)
2025-08-17  0:32 ` Masami Hiramatsu
2025-08-17  1:36   ` H. Peter Anvin
2025-08-20  1:00     ` Masami Hiramatsu
2025-08-20 15:04       ` H. Peter Anvin
2025-08-17 10:47   ` Alan J. Wylie
2025-08-20  1:02     ` Masami Hiramatsu [this message]
2025-08-18 15:25 ` [tip: x86/misc] x86/insn: Add " tip-bot2 for Masami Hiramatsu (Google)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250820100224.ece0bc4483521b309991133a@kernel.org \
    --to=mhiramat@kernel.org \
    --cc=alan@wylie.me.uk \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jpoimboe@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=regressions@lists.linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®