RISC-V: capitalise CMO op macros
authorConor Dooley <conor.dooley@microchip.com>
Fri, 15 Sep 2023 15:40:44 +0000 (16:40 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 5 Nov 2023 17:11:23 +0000 (09:11 -0800)
commitd3eabf2f2c81f8b0de0b75c6f41b875c501eb33b
tree0a0392dff3b07a565ed60f3b06e8f42be788e5bc
parentc20d36cc2a2073d4cdcda92bd7a1bb9b3b3b7c79
RISC-V: capitalise CMO op macros

The CMO op macros initially used lower case, as the original iteration
of the ALT_CMO_OP alternative stringified the first parameter to
finalise the assembly for the standard variant.
As a knock-on, the T-Head versions of these CMOs had to use mixed case
defines. Commit dd23e9535889 ("RISC-V: replace cbom instructions with
an insn-def") removed the asm construction with stringify, replacing it
an insn-def macro, rending the lower-case surplus to requirements.
As far as I can tell from a brief check, CBO_zero does not see similar
use and didn't require the mixed case define in the first place.
Replace the lower case characters now for consistency with other
insn-def macros in the standard and T-Head forms, and adjust the
callsites.

Suggested-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230915-aloe-dollar-994937477776@spud
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/errata_list.h
arch/riscv/include/asm/insn-def.h
arch/riscv/lib/clear_page.S
arch/riscv/mm/dma-noncoherent.c
arch/riscv/mm/pmem.c