Re: [PATCH v8 12/30] powerpc: Use a function for reading instructions

2020-05-19 Thread Michael Ellerman
Christophe Leroy writes: > Le 19/05/2020 à 06:05, Michael Ellerman a écrit : >> Jordan Niethe writes: >>> On Sun, May 17, 2020 at 4:39 AM Christophe Leroy >>> wrote: Le 06/05/2020 à 05:40, Jordan Niethe a écrit : > Prefixed instructions will mean there are instructions of different

Re: [PATCH v8 12/30] powerpc: Use a function for reading instructions

2020-05-18 Thread Christophe Leroy
Le 19/05/2020 à 06:05, Michael Ellerman a écrit : Jordan Niethe writes: On Sun, May 17, 2020 at 4:39 AM Christophe Leroy wrote: Le 06/05/2020 à 05:40, Jordan Niethe a écrit : Prefixed instructions will mean there are instructions of different length. As a result dereferencing a pointer t

Re: [PATCH v8 12/30] powerpc: Use a function for reading instructions

2020-05-18 Thread Michael Ellerman
Jordan Niethe writes: > On Sun, May 17, 2020 at 4:39 AM Christophe Leroy > wrote: >> >> Le 06/05/2020 à 05:40, Jordan Niethe a écrit : >> > Prefixed instructions will mean there are instructions of different >> > length. As a result dereferencing a pointer to an instruction will not >> > necessar

Re: [PATCH v8 12/30] powerpc: Use a function for reading instructions

2020-05-17 Thread Jordan Niethe
On Sun, May 17, 2020 at 4:39 AM Christophe Leroy wrote: > > > > Le 06/05/2020 à 05:40, Jordan Niethe a écrit : > > Prefixed instructions will mean there are instructions of different > > length. As a result dereferencing a pointer to an instruction will not > > necessarily give the desired result.

Re: [PATCH v8 12/30] powerpc: Use a function for reading instructions

2020-05-16 Thread Christophe Leroy
Le 06/05/2020 à 05:40, Jordan Niethe a écrit : Prefixed instructions will mean there are instructions of different length. As a result dereferencing a pointer to an instruction will not necessarily give the desired result. Introduce a function for reading instructions from memory into the inst

[PATCH v8 12/30] powerpc: Use a function for reading instructions

2020-05-05 Thread Jordan Niethe
Prefixed instructions will mean there are instructions of different length. As a result dereferencing a pointer to an instruction will not necessarily give the desired result. Introduce a function for reading instructions from memory into the instruction data type. Reviewed-by: Alistair Popple Si