[PATCH] powerpc: fix building after binutils changes. - but the 'lwsync' question

2022-02-07 Thread Mike
We are seeing errors like ' Error: unrecognized opcode: `ptesync'' 'dssall' and 'stbcix' as a result of binutils changes Unless 'stbcix' and friends aren't as exclusively PPC6 as I've gathered from binutils/opcode/ppc-opc.c there shouldn't be much of a problem, but i suspect a lot more needs to be

Re: [PATCH] powerpc: fix building after binutils changes.

2022-01-23 Thread Mike
Now I remembered reading something from 2013 on 'lwsync', https://gcc.gnu.org/legacy-ml/gcc-patches/2006-11/msg01238.html https://gcc.gnu.org/legacy-ml/gcc-patches/2012-07/msg01062.html so that would end up something like ---

Re: [PATCH] powerpc: fix building after binutils changes.

2022-01-23 Thread Mike
Maybe cite the correct parts of the patch where my questions arose for context. --- diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index a94b0cd0bdc5ca..4ffd6791b03ec0 100644 --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c @@ -1465,7 +1465,7 @@ int

[PATCH] powerpc: fix building after binutils changes.

2022-01-23 Thread Mike
As some have probably noticed, we are seeing errors like ' Error: unrecognized opcode: `ptesync'' 'dssall' and 'stbcix' as a result of binutils changes, making compiling all that more fun again. The only question on my mind still is this: diff --git a/arch/powerpc/include/asm/io.h