]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 10 Dec 2025 16:00:47 +0000 (16:00 +0000)
committerPaul Walmsley <pjw@kernel.org>
Fri, 16 Jan 2026 01:13:33 +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/202512100411.WxJU2No9-lkp@intel.com/
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251210160047.201379-3-Jonathan.Cameron@huawei.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
drivers/soc/renesas/Kconfig

index 340a1ff7e92b4ebfea199126e225c68cfe591e8c..2a8ae79a11af34eee9fcfec2df643796f28b5415 100644 (file)
@@ -445,6 +445,7 @@ config ARCH_R9A07G043
        depends on RISCV_SBI
        select ARCH_RZG2L
        select AX45MP_L2_CACHE
+       select CACHEMAINT_FOR_DMA
        select DMA_GLOBAL_POOL
        select ERRATA_ANDES
        select ERRATA_ANDES_CMO