Skip to content

Commit 521cadb

Browse files
jic23Paul Walmsley
authored andcommitted
riscv: ERRATA_STARFIVE_JH7100: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
The Kconfig menu entry was converted to a menuconfig to allow it to be hidden for !CONFIG_RISCV. The drivers under this new option were selected by some other Kconfig symbols and so an extra select CACHEMAINT_FOR_DMA is needed. Fixes: 4d1608d ("cache: Make top level Kconfig menu a boolean dependent on RISCV") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Jonathan Cameron <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paul Walmsley <[email protected]>
1 parent 344c528 commit 521cadb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/riscv/Kconfig.errata

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ config ERRATA_STARFIVE_JH7100
8484
select DMA_GLOBAL_POOL
8585
select RISCV_DMA_NONCOHERENT
8686
select RISCV_NONSTANDARD_CACHE_OPS
87+
select CACHEMAINT_FOR_DMA
8788
select SIFIVE_CCACHE
8889
default n
8990
help

0 commit comments

Comments
 (0)