Skip to content

Commit 64fc984

Browse files
esmilConchuOD
authored andcommitted
riscv: errata: Add StarFive JH7100 errata
This not really an errata, but since the JH7100 was made before the standard Zicbom extension it needs the DMA_GLOBAL_POOL and RISCV_NONSTANDARD_CACHE_OPS enabled to work correctly. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 0d5701d commit 64fc984

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

arch/riscv/Kconfig.errata

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,23 @@ config ERRATA_SIFIVE_CIP_1200
5353

5454
If you don't know what to do here, say "Y".
5555

56+
config ERRATA_STARFIVE_JH7100
57+
bool "StarFive JH7100 support"
58+
depends on ARCH_STARFIVE && NONPORTABLE
59+
select DMA_GLOBAL_POOL
60+
select RISCV_DMA_NONCOHERENT
61+
select RISCV_NONSTANDARD_CACHE_OPS
62+
select SIFIVE_CCACHE
63+
default n
64+
help
65+
The StarFive JH7100 was a test chip for the JH7110 and has
66+
caches that are non-coherent with respect to peripheral DMAs.
67+
It was designed before the Zicbom extension so needs non-standard
68+
cache operations through the SiFive cache controller.
69+
70+
Say "Y" if you want to support the BeagleV Starlight and/or
71+
StarFive VisionFive V1 boards.
72+
5673
config ERRATA_THEAD
5774
bool "T-HEAD errata"
5875
depends on RISCV_ALTERNATIVE

0 commit comments

Comments
 (0)