RISC-V: replace cbom instructions with an insn-def
authorConor Dooley <conor.dooley@microchip.com>
Sun, 8 Jan 2023 16:33:55 +0000 (16:33 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 15 Feb 2023 05:29:52 +0000 (21:29 -0800)
commitdd23e9535889c8b8d7ea7d6064ad16be903f4270
tree9f63feebd79d0e0cdbae022142d91b0d9e1f9748
parent6067c3aae52f14b025d0a4de5d4d1eb16eb8fe51
RISC-V: replace cbom instructions with an insn-def

Using the cbom instructions directly in ALT_CMO_OP, requires toolchain
support for the instructions. Using an insn-def will allow for removal
of toolchain version checks in the build system & simplification of the
proposed [1] function-based CMO scheme.

Link: https://lore.kernel.org/linux-riscv/fb3b34ae-e35e-4dc2-a8f4-19984a2f58a8@app.fastmail.com/
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230108163356.3063839-3-conor@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/errata_list.h
arch/riscv/include/asm/insn-def.h