Hi Julien,
On Wed, Jan 20, 2021 at 06:17:41PM +0100, Julien Thierry wrote:
Aarch64 instruction set encoding and decoding logic can prove useful
for some features/tools both part of the kernel and outside the kernel.
Isolate the function dealing only with encoding/decoding instructions,
with minimal dependency on kernel utilities in order to be able to reuse
that code.
Code was only moved, no code should have been added, removed nor
modifier.
Signed-off-by: Julien Thierry <jthierry@xxxxxxxxxx>
This looks sound, but the diff is a little hard to check.
Would it be possible to split this into two patches, where:
1) Refactoring definitions into insn.h and insn.c, leaving those files
in their current locations.
2) Moving insn.h and insn.c out to arch/arm64/lib/, updating includes
> With that, the second patch might be easier for git to identify as a
rename (if using `git format-patch -M -C`), and it'd be easier to see
that there are no unintended changes.