[PATCH 0/4] arm64: insn: fix sysreg encodings, simplify dependent code
Will Deacon
will at kernel.org
Fri Nov 27 09:34:42 PST 2026
Hi Ada,
On Fri, Oct 16, 2026 at 05:46:44PM +0100, Ada Couprie Diaz wrote:
> This is a follow-up to [0] which goes further than initially anticipated.
> Indeed, after Vladimir's comment I checked what was going on
> in more details and realized that the system register definitions had some
> mistakes, were quite inconsistent and duplicated the sysreg definitions
> in `arch/arm64/include/sysreg.h`.
>
> Thus this series takes the approach of re-using the encodings we already
> define and depend on, and making easier to re-use if needed.
> That meant I could also clean up unecessary operations and distinctions.
>
> This simplification _could_ be taken further by completely removing the
> insn enum in favour of using the sysreg.h definitions directly,
> but I figured it was useful to keep the enum for typing/argument hints.
>
> I was unsure of how to split this series, so patch 2 and 3 could reasonably
> be squashed into patch 4 if that does not make the commit too unscrutable.
This doesn't apply on top of arm64's for-next/sysregs branch. Please can
you rebase it and post a new version, taking into account Vladimir's
minor comments?
Cheers,
Will
More information about the linux-arm-kernel
mailing list