Re: [PATCH v8 11/30] powerpc: Use a datatype for instructions

2020-05-17 Thread Jordan Niethe
mpe, this is to go with the fixup I posted for mmu_patch_addis() in [PATCH v8 12/30] powerpc: Use a function for reading instructions. Thanks to Christophe pointing it out. diff --git a/arch/powerpc/mm/nohash/8xx.c b/arch/powerpc/mm/nohash/8xx.c --- a/arch/powerpc/mm/nohash/8xx.c +++ b/arch/powerp

Re: [PATCH v8 11/30] powerpc: Use a datatype for instructions

2020-05-10 Thread Jordan Niethe
On Fri, May 8, 2020 at 5:17 PM Christophe Leroy wrote: > > > > Le 08/05/2020 à 03:51, Jordan Niethe a écrit : > > On Wed, May 6, 2020 at 1:45 PM Jordan Niethe wrote: > >> > >> Currently unsigned ints are used to represent instructions on powerpc. > >> This has worked well as instructions have alw

Re: [PATCH v8 11/30] powerpc: Use a datatype for instructions

2020-05-08 Thread Christophe Leroy
Le 08/05/2020 à 03:51, Jordan Niethe a écrit : On Wed, May 6, 2020 at 1:45 PM Jordan Niethe wrote: Currently unsigned ints are used to represent instructions on powerpc. This has worked well as instructions have always been 4 byte words. However, a future ISA version will introduce some cha

Re: [PATCH v8 11/30] powerpc: Use a datatype for instructions

2020-05-07 Thread Jordan Niethe
Hi mpe, On Wed, May 6, 2020 at 1:45 PM Jordan Niethe wrote: > > Currently unsigned ints are used to represent instructions on powerpc. > This has worked well as instructions have always been 4 byte words. > However, a future ISA version will introduce some changes to s/a future ISA version will i

Re: [PATCH v8 11/30] powerpc: Use a datatype for instructions

2020-05-07 Thread Jordan Niethe
On Wed, May 6, 2020 at 1:45 PM Jordan Niethe wrote: > > Currently unsigned ints are used to represent instructions on powerpc. > This has worked well as instructions have always been 4 byte words. > However, a future ISA version will introduce some changes to > instructions that mean this scheme w

[PATCH v8 11/30] powerpc: Use a datatype for instructions

2020-05-05 Thread Jordan Niethe
Currently unsigned ints are used to represent instructions on powerpc. This has worked well as instructions have always been 4 byte words. However, a future ISA version will introduce some changes to instructions that mean this scheme will no longer work as well. This change is Prefixed Instruction