[PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met

Geert Uytterhoeven geert at linux-m68k.org
Fri Sep 1 04:44:01 PDT 2023


Hi Prabhakar,

On Fri, Sep 1, 2023 at 1:10 PM Prabhakar <prabhakar.csengg at gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
>
> To prevent randconfig build issues when enabling the RZ/Five SoC, consider
> selecting specific configurations only when their dependencies are
> satisfied.

Thanks for your patch!

> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>

Fixes: ed1a8872ff839de0 ("soc: renesas: Kconfig: Select the required
configs for RZ/Five SoC")

> --- a/drivers/soc/renesas/Kconfig
> +++ b/drivers/soc/renesas/Kconfig
> @@ -334,10 +334,11 @@ if RISCV
>  config ARCH_R9A07G043
>         bool "RISC-V Platform support for RZ/Five"
>         select ARCH_RZG2L
> -       select AX45MP_L2_CACHE
> +       select AX45MP_L2_CACHE if RISCV_DMA_NONCOHERENT
>         select DMA_GLOBAL_POOL
> -       select ERRATA_ANDES
> -       select ERRATA_ANDES_CMO
> +       select ERRATA_ANDES if RISCV_SBI
> +       select ERRATA_ANDES_CMO if ERRATA_ANDES
> +
>         help
>           This enables support for the Renesas RZ/Five SoC.

Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>

As the offending commit won't be in my tree until v6.6-rc1, I cannot
take it now, and risc/for-next sounds like the best target.
Acked-by: Geert Uytterhoeven <geert+renesas at glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

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



More information about the linux-riscv mailing list