Skip to content

arm64: insn: cleanups

Mark Rutland linux-arm-kernel 1 version Applied

Status from this message: Applied to arm64 (for-next/insn), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4arm64: insn: remove aarch64_insn_gen_prefetch()arch/arm64/include/asm/insn.h arch/arm64/lib/insn.c+0 -740 replies
2/4arm64: insn: always inline predicatesarch/arm64/include/asm/insn.h arch/arm64/lib/insn.c+80 -770 replies
3/4arm64: insn: simplify insn group identificationarch/arm64/include/asm/insn.h arch/arm64/kernel/probes/decode-insn.c arch/arm64/lib/insn.c+18 -500 replies
4/4arm64: insn: always inline hint generationarch/arm64/include/asm/insn.h arch/arm64/lib/insn.c+12 -120 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJoey Gouly
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] arm64: insn: cleanups

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(-)
Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel