Re: [PATCH 0/6] consolidate PowerPC instruction encoding macros
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2020-06-10 11:35:06
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2020-06-10 11:35:06
Balamuruhan S [off-list ref] writes:
ppc-opcode.h have base instruction encoding wrapped with stringify_in_c() for raw encoding to have compatibility. But there are redundant macros for base instruction encodings in bpf, instruction emulation test infrastructure and powerpc selftests. Currently PPC_INST_* macros are used for encoding instruction opcode and PPC_* for raw instuction encoding, this rfc patchset introduces PPC_RAW_* macros for base instruction encoding and reuse it from elsewhere. With this change we can avoid redundant macro definitions in multiple files and start adding new instructions in ppc-opcode.h in future.
Sorry this series collided with the prefixed instruction support and I didn't have time to resolve the conflicts. Can you please rebase on top of current mainline and resend. cheers