All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] arm64: insn: cleanups
@ 2022-11-14 13:59 Mark Rutland
  2022-11-14 13:59 ` [PATCH 1/4] arm64: insn: remove aarch64_insn_gen_prefetch() Mark Rutland
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Mark Rutland @ 2022-11-14 13:59 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: catalin.marinas, joey.gouly, mark.rutland, will

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-15 18:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-14 13:59 [PATCH 0/4] arm64: insn: cleanups Mark Rutland
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

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.