linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met
@ 2023-09-01 11:09 Prabhakar
  2023-09-01 11:44 ` Geert Uytterhoeven
  2023-09-06  2:50 ` patchwork-bot+linux-riscv
  0 siblings, 2 replies; 4+ messages in thread
From: Prabhakar @ 2023-09-01 11:09 UTC (permalink / raw)
  To: Geert Uytterhoeven, Magnus Damm, Conor Dooley, linux-renesas-soc,
	linux-riscv
  Cc: linux-kernel, Prabhakar, Biju Das, Lad Prabhakar, kernel test robot

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

To prevent randconfig build issues when enabling the RZ/Five SoC, consider
selecting specific configurations only when their dependencies are
satisfied.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/soc/renesas/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 67604f24973e..5a75ab64d1ed 100644
--- 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.
 
-- 
2.34.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met
  2023-09-01 11:09 [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met Prabhakar
@ 2023-09-01 11:44 ` Geert Uytterhoeven
  2023-09-01 11:53   ` Lad, Prabhakar
  2023-09-06  2:50 ` patchwork-bot+linux-riscv
  1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2023-09-01 11:44 UTC (permalink / raw)
  To: Prabhakar
  Cc: Magnus Damm, Conor Dooley, linux-renesas-soc, linux-riscv,
	linux-kernel, Biju Das, Lad Prabhakar, kernel test robot

Hi Prabhakar,

On Fri, Sep 1, 2023 at 1:10 PM Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@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@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met
  2023-09-01 11:44 ` Geert Uytterhoeven
@ 2023-09-01 11:53   ` Lad, Prabhakar
  0 siblings, 0 replies; 4+ messages in thread
From: Lad, Prabhakar @ 2023-09-01 11:53 UTC (permalink / raw)
  To: Geert Uytterhoeven, Palmer Dabbelt
  Cc: Magnus Damm, Conor Dooley, linux-renesas-soc, linux-riscv,
	linux-kernel, Biju Das, Lad Prabhakar, kernel test robot

Hi Geert,

Thank you for the review.

On Fri, Sep 1, 2023 at 12:44 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Fri, Sep 1, 2023 at 1:10 PM Prabhakar <prabhakar.csengg@gmail.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@intel.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@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@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@glider.be>
>
Agreed.

Palmer, can you please pick this patch via riscv tree?

Cheers,
Prabhakar

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met
  2023-09-01 11:09 [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met Prabhakar
  2023-09-01 11:44 ` Geert Uytterhoeven
@ 2023-09-06  2:50 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-09-06  2:50 UTC (permalink / raw)
  To: Prabhakar
  Cc: linux-riscv, geert+renesas, magnus.damm, conor.dooley,
	linux-renesas-soc, linux-kernel, biju.das.jz,
	prabhakar.mahadev-lad.rj, lkp

Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:

On Fri,  1 Sep 2023 12:09:36 +0100 you wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 
> To prevent randconfig build issues when enabling the RZ/Five SoC, consider
> selecting specific configurations only when their dependencies are
> satisfied.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202308311610.ec6bm2G8-lkp@intel.com/
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 
> [...]

Here is the summary with links:
  - soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met
    https://git.kernel.org/riscv/c/9e2864968816

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-06  2:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-01 11:09 [PATCH] soc: renesas: Kconfig: For ARCH_R9A07G043 select the required configs if dependencies are met Prabhakar
2023-09-01 11:44 ` Geert Uytterhoeven
2023-09-01 11:53   ` Lad, Prabhakar
2023-09-06  2:50 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).