[PATCH 0/4] arm64: insn: cleanups
Joey Gouly
joey.gouly at arm.com
Tue Nov 15 03:09:28 PST 2022
Hi,
On Mon, Nov 14, 2022 at 01:59:24PM +0000, Mark Rutland wrote:
> 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(-)
>
For the series:
Reviewed-by: Joey Gouly <joey.gouly at arm.com>
Thanks,
Joey
More information about the linux-arm-kernel
mailing list