Skip to content

Commit 9a9e8d8

Browse files
esmilConchuOD
authored andcommitted
riscv: errata: Make ERRATA_STARFIVE_JH7100 depend on !DMA_DIRECT_REMAP
Similar to the Renesas RZ/Five[1] the JH7100 SoC needs the non-portable CONFIG_DMA_GLOBAL_POOL enabled which is incompatible with DMA_DIRECT_REMAP selected by RISCV_ISA_ZICBOM. [1]: commit 31b2dae ("soc: renesas: Make RZ/Five depend on !DMA_DIRECT_REMAP") Link: https://lore.kernel.org/all/24942b4d-d16a-463f-b39a-f9dfcb89d742@infradead.org/ Fixes: 64fc984 ("riscv: errata: Add StarFive JH7100 errata") Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 64fc984 commit 9a9e8d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

arch/riscv/Kconfig.errata

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ config ERRATA_SIFIVE_CIP_1200
5555

5656
config ERRATA_STARFIVE_JH7100
5757
bool "StarFive JH7100 support"
58-
depends on ARCH_STARFIVE && NONPORTABLE
58+
depends on ARCH_STARFIVE
59+
depends on !DMA_DIRECT_REMAP
60+
depends on NONPORTABLE
5961
select DMA_GLOBAL_POOL
6062
select RISCV_DMA_NONCOHERENT
6163
select RISCV_NONSTANDARD_CACHE_OPS

0 commit comments

Comments
 (0)