]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: ERRATA_STARFIVE_JH7100: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 10 Dec 2025 16:00:46 +0000 (16:00 +0000)
committerPaul Walmsley <pjw@kernel.org>
Fri, 16 Jan 2026 01:13:04 +0000 (18:13 -0700)
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: 4d1608d0ab33 ("cache: Make top level Kconfig menu a boolean dependent on RISCV")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202512100509.g6llkMMr-lkp@intel.com/
Signed-off-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20251210160047.201379-2-Jonathan.Cameron@huawei.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/Kconfig.errata

index aca9b0cfcfecf91d4d1910f294ee109ed15f2d6c..3c945d086c7d0266b685f9506d58b0662af071c4 100644 (file)
@@ -84,6 +84,7 @@ config ERRATA_STARFIVE_JH7100
        select DMA_GLOBAL_POOL
        select RISCV_DMA_NONCOHERENT
        select RISCV_NONSTANDARD_CACHE_OPS
+       select CACHEMAINT_FOR_DMA
        select SIFIVE_CCACHE
        default n
        help