riscv: errata: Add Andes alternative ports
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 18 Aug 2023 13:57:19 +0000 (14:57 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 1 Sep 2023 16:08:56 +0000 (09:08 -0700)
commite021ae7f5145d46ab64cb058cbffda31059f37e5
treeb10ab64313351d1f20264f317f64c585574470cc
parentd6ca3a56f4f3e1d408397f1e309f7c57a6d01c38
riscv: errata: Add Andes alternative ports

Add required ports of the Alternative scheme for Andes CPU cores.

I/O Coherence Port (IOCP) provides an AXI interface for connecting external
non-caching masters, such as DMA controllers. IOCP is a specification
option and is disabled on the Renesas RZ/Five SoC due to this reason cache
management needs a software workaround.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com> # tyre-kicking on a d1
Link: https://lore.kernel.org/r/20230818135723.80612-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig.errata
arch/riscv/errata/Makefile
arch/riscv/errata/andes/Makefile [new file with mode: 0644]
arch/riscv/errata/andes/errata.c [new file with mode: 0644]
arch/riscv/include/asm/alternative.h
arch/riscv/include/asm/errata_list.h
arch/riscv/kernel/alternative.c