Re: [RFC PATCH 1/5] arm64: Move instruction encoder/decoder under lib/

2021-02-03 Thread Julien Thierry
On 2/3/21 12:12 PM, Mark Rutland wrote: On Wed, Feb 03, 2021 at 09:26:45AM +0100, Julien Thierry wrote: On 2/2/21 11:17 AM, Mark Rutland wrote: 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 featu

Re: [RFC PATCH 1/5] arm64: Move instruction encoder/decoder under lib/

2021-02-03 Thread Mark Rutland
On Wed, Feb 03, 2021 at 09:26:45AM +0100, Julien Thierry wrote: > On 2/2/21 11:17 AM, Mark Rutland wrote: > > 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 ker

Re: [RFC PATCH 1/5] arm64: Move instruction encoder/decoder under lib/

2021-02-03 Thread Julien Thierry
Hi Mark, On 2/2/21 11:17 AM, Mark Rutland wrote: 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

Re: [RFC PATCH 1/5] arm64: Move instruction encoder/decoder under lib/

2021-02-02 Thread Mark Rutland
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, >

[RFC PATCH 1/5] arm64: Move instruction encoder/decoder under lib/

2021-01-20 Thread Julien Thierry
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. C