2022-11-22 20:30:17

by Nicolas Frayer

[permalink] [raw]
Subject: [PATCH 1/3] arm64: arch_k3: Removed ti mailbox and sci select

In order to build ti mailbox and ti sci as modules,
remove their automatic selection by ARCH_K3

Signed-off-by: Nicolas Frayer <[email protected]>
---
arch/arm64/Kconfig.platforms | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 912529ac58b3..5f16eb498dbf 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -126,8 +126,6 @@ config ARCH_K3
select PM_GENERIC_DOMAINS if PM
select MAILBOX
select SOC_TI
- select TI_MESSAGE_MANAGER
- select TI_SCI_PROTOCOL
select TI_SCI_INTR_IRQCHIP
select TI_SCI_INTA_IRQCHIP
help
--
2.25.1


2022-11-24 15:19:35

by Vignesh Raghavendra

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64: arch_k3: Removed ti mailbox and sci select



On 23/11/22 1:52 am, Nicolas Frayer wrote:
> In order to build ti mailbox and ti sci as modules,
> remove their automatic selection by ARCH_K3
>

$Subject: s/Removed/Remove,
s/ti/TI
s/sci/SCI

> Signed-off-by: Nicolas Frayer <[email protected]>
> ---
> arch/arm64/Kconfig.platforms | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 912529ac58b3..5f16eb498dbf 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -126,8 +126,6 @@ config ARCH_K3
> select PM_GENERIC_DOMAINS if PM
> select MAILBOX
> select SOC_TI
> - select TI_MESSAGE_MANAGER
> - select TI_SCI_PROTOCOL
> select TI_SCI_INTR_IRQCHIP
> select TI_SCI_INTA_IRQCHIP
> help


Why not use "imply" instead of "select". This should allow TI_SCI*
drivers to be built as modules if required. Would make 2/3 and 3/3
redundant.

Also, note that 1/3, 2/3 and 3/3 have to go through 3 different trees,
so not a great idea to post as a single series.

Regards
Vignesh

2022-11-25 11:58:47

by Nicolas Frayer

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64: arch_k3: Removed ti mailbox and sci select

Le jeu. 24 nov. 2022 à 15:29, Vignesh Raghavendra <[email protected]> a écrit :
>
>
>
> On 23/11/22 1:52 am, Nicolas Frayer wrote:
> > In order to build ti mailbox and ti sci as modules,
> > remove their automatic selection by ARCH_K3
> >
>
> $Subject: s/Removed/Remove,
> s/ti/TI
> s/sci/SCI
>
> > Signed-off-by: Nicolas Frayer <[email protected]>
> > ---
> > arch/arm64/Kconfig.platforms | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> > index 912529ac58b3..5f16eb498dbf 100644
> > --- a/arch/arm64/Kconfig.platforms
> > +++ b/arch/arm64/Kconfig.platforms
> > @@ -126,8 +126,6 @@ config ARCH_K3
> > select PM_GENERIC_DOMAINS if PM
> > select MAILBOX
> > select SOC_TI
> > - select TI_MESSAGE_MANAGER
> > - select TI_SCI_PROTOCOL
> > select TI_SCI_INTR_IRQCHIP
> > select TI_SCI_INTA_IRQCHIP
> > help
>
>
> Why not use "imply" instead of "select". This should allow TI_SCI*
> drivers to be built as modules if required. Would make 2/3 and 3/3
> redundant.
>
> Also, note that 1/3, 2/3 and 3/3 have to go through 3 different trees,
> so not a great idea to post as a single series.
>
> Regards
> Vignesh

Thanks Vignesh, I'll send a v2 using imply and drop 2/3 and 3/3