Re: [PATCH v4 1/2] powerpc: add ISA v3.0 / v3.1 wait opcode macro

2022-10-04 Thread Michael Ellerman
On Tue, 20 Sep 2022 22:22:58 +1000, Nicholas Piggin wrote: > The wait instruction encoding changed between ISA v2.07 and ISA v3.0. > In v3.1 the instruction gained a new field. > > Update the PPC_WAIT macro to the current encoding. Rename the older > incompatible one with a _v203 suffix as it was

[PATCH v4 1/2] powerpc: add ISA v3.0 / v3.1 wait opcode macro

2022-09-20 Thread Nicholas Piggin
The wait instruction encoding changed between ISA v2.07 and ISA v3.0. In v3.1 the instruction gained a new field. Update the PPC_WAIT macro to the current encoding. Rename the older incompatible one with a _v203 suffix as it was introduced in v2.03 (the WC field was introduced in v2.07 but the