riscv: Fix missing select CACHEMAINT_FOR_DMA
Subsystems (2)
cover riscv: Fix missing select CACHEMAINT_FOR_DMA
The drivers/cache/Kconfig menu was changed to a menuconfig so as to be able to hide the menu for non RISCV. The select of drivers under the original menu were broken as the menuconfig itself could be disabled. Fix this by adding SELECT CACHEMAINT_FOR_DMA alongside the driver specific symbol selects.
Jonathan Cameron (2):
riscv: ERRATA_STARFIVE_JH7100: Fix missing dependency on new
CONFIG_CACHEMAINT_FOR_DMA
soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
arch/riscv/Kconfig.errata | 1 + drivers/soc/renesas/Kconfig | 1 + 2 files changed, 2 insertions(+)
Signature · 1 line
2.48.1
PATCH 1/2 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.
--- arch/riscv/Kconfig.errata | 1 + 1 file changed, 1 insertion(+)
arch/riscv/Kconfig.errata +1 -0
@@ -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
Signature · 1 line
2.48.1
Paul Walmsley
maintainerRe: [PATCH 1/2] riscv: ERRATA_STARFIVE_JH7100: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
Quoted 9 lines · Jonathan Cameron
The
Kconfigmenu 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 otherKconfigsymbols and so an extra selectCACHEMAINT_FOR_DMAis needed.Fixes 4d1608d0ab33 ("cache: Make top level Kconfig menu a boolean dependent on RISCV")Reported-by kernel test robot <[email protected]>Signed-off-by Jonathan Cameron <[email protected]>
Thanks, queued for v6.19-rc.
- Paul
PATCH 2/2 soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
In reply to Jonathan CameronThe 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.
--- drivers/soc/renesas/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/soc/renesas/Kconfig +1 -0
@@ -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
Signature · 1 line
2.48.1
Re: [PATCH 2/2] soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
Hi Jonathan,
Quoted 9 lines · Jonathan Cameron
The
Kconfigmenu 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 otherKconfigsymbols and so an extra selectCACHEMAINT_FOR_DMAis needed.Fixes 4d1608d0ab33 ("cache: Make top level Kconfig menu a boolean dependent on RISCV")Reported-by kernel test robot <[email protected]>Signed-off-by Jonathan Cameron <[email protected]>
I assume Conor will take the two patches in this series?
If not, please let me know, and I will queue it in renesas-fixes. Thanks!
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Paul Walmsley
maintainerRe: [PATCH 2/2] soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
In reply to Jonathan CameronQuoted 9 lines · Jonathan Cameron
The
Kconfigmenu 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 otherKconfigsymbols and so an extra selectCACHEMAINT_FOR_DMAis needed.Fixes 4d1608d0ab33 ("cache: Make top level Kconfig menu a boolean dependent on RISCV")Reported-by kernel test robot <[email protected]>Signed-off-by Jonathan Cameron <[email protected]>
Thanks, queued for v6.19-rc.
- Paul
This series was applied to riscv/linux.git (fixes) by Paul Walmsley <[email protected]>:
Hello:
This series was applied to riscv/linux.git (fixes) by Paul Walmsley <[email protected]>:
Quoted 6 lines · On Wed, 10 Dec 2025 16:00:45 +0000 you wrote:
The
drivers/cache/Kconfigmenu was changed to a menuconfig so as to be able to hide the menu for non RISCV. The select of drivers under the original menu were broken as the menuconfig itself could be disabled. Fix this by adding SELECTCACHEMAINT_FOR_DMAalongside the driver specific symbol selects.
Quoted 6 lines
Jonathan Cameron (2):
riscv:ERRATA_STARFIVE_JH7100: Fix missing dependency on new
CONFIG_CACHEMAINT_FOR_DMA
soc: renesas: Fix missing dependency on newCONFIG_CACHEMAINT_FOR_DMA[...]
Here is the summary with links:
- [1/2] riscv: ERRATA_STARFIVE_JH7100: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA
https://git.kernel.org/riscv/c/521cadb4b69e - [2/2] soc: renesas: Fix missing dependency on new CONFIG_CACHEMAINT_FOR_DMA https://git.kernel.org/riscv/c/8fdc61faa730
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html