diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2022-09-20 22:22:58 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-28 19:22:10 +1000 |
commit | dabeb572adf24bbd7cb21d1cc4d118bdf2c2ab74 (patch) | |
tree | 8c1f893639c1a2accaeaa955f187d04b43acef6d /arch/powerpc/include/asm/vio.h | |
parent | powerpc/time: avoid programming DEC at the start of the timer interrupt (diff) | |
download | linux-dev-dabeb572adf24bbd7cb21d1cc4d118bdf2c2ab74.tar.xz linux-dev-dabeb572adf24bbd7cb21d1cc4d118bdf2c2ab74.zip |
powerpc: add ISA v3.0 / v3.1 wait opcode macro
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 kernel only uses WC=0).
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220920122259.363092-1-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/include/asm/vio.h')
0 files changed, 0 insertions, 0 deletions