All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: linux-arm-kernel@lists.infradead.org
Cc: catalin.marinas@arm.com, joey.gouly@arm.com,
	mark.rutland@arm.com, will@kernel.org
Subject: [PATCH 0/4] arm64: insn: cleanups
Date: Mon, 14 Nov 2022 13:59:24 +0000	[thread overview]
Message-ID: <20221114135928.3000571-1-mark.rutland@arm.com> (raw)

This series makes some minor cleanups to the insn code. Largely this
changes a number of trivial functions to be __always_inline, making them
safe to use in noinstr code, and permitting the compiler to better
optimize sequences of aarch64_insn_is_*() checks.

I've split this out from a larger set of changes I was planning to send
this cycle (refactoring the bulk of the insn code) as that's not quite
complete and I'm still writing tests for the larger changes those come
with.


The changes in this series are all relatively trivial, and should result
in no functional change, so I'm hoping they're good-to-go as-is.

Thanks,
Mark.

Mark Rutland (4):
  arm64: insn: remove aarch64_insn_gen_prefetch()
  arm64: insn: always inline predicates
  arm64: insn: simplify insn group identification
  arm64: insn: always inline hint generation

 arch/arm64/include/asm/insn.h          | 156 ++++++++++++++++-------
 arch/arm64/kernel/probes/decode-insn.c |   2 +-
 arch/arm64/lib/insn.c                  | 165 -------------------------
 3 files changed, 110 insertions(+), 213 deletions(-)

-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2022-11-14 14:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14 13:59 Mark Rutland [this message]
2022-11-14 13:59 ` [PATCH 1/4] arm64: insn: remove aarch64_insn_gen_prefetch() Mark Rutland
2022-11-14 13:59 ` [PATCH 2/4] arm64: insn: always inline predicates Mark Rutland
2022-11-14 13:59 ` [PATCH 3/4] arm64: insn: simplify insn group identification Mark Rutland
2022-11-14 13:59 ` [PATCH 4/4] arm64: insn: always inline hint generation Mark Rutland
2022-11-15 11:09 ` [PATCH 0/4] arm64: insn: cleanups Joey Gouly
2022-11-15 18:32 ` Will Deacon

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=20221114135928.3000571-1-mark.rutland@arm.com \
    --to=mark.rutland@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=joey.gouly@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=will@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.