arm64: arch_k3: Replace select with imply for TI mailbox and TI SCI
PATCH v4 1/1 arm64: arch_k3: Replace select with imply for TI mailbox and TI SCI
In order to build TI mailbox and TI SCI as modules, replace select with imply.
---
Changes in v4:
- rebase on master branch
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- rebase with master
Changes in v2:
- Use imply instead of removing select altogether and dropped patches 2/3 and 3/3 from previous series as using imply makes them redundant
--- arch/arm64/Kconfig.platforms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/Kconfig.platforms +2 -2
@@ -133,8 +133,8 @@ config ARCH_K3 select PM_GENERIC_DOMAINS if PM select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL + imply TI_MESSAGE_MANAGER + imply TI_SCI_PROTOCOL select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC
---
base-commit: 21266b8df5224c4f677acf9f353eecc9094731f0
change-id: 20241016-timodulemailboxsci-412e2a6458fc
Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>
Quoted 26 lines · Guillaume La Roque
In order to build TI mailbox and TI SCI as modules, replace select with imply.
Signed-off-by Nicolas Frayer <[email protected]>Signed-off-by Guillaume La Roque <[email protected]>---
Changes in v4:
- rebase on master branch
- Link to v3: https://lore.kernel.org/r/[email protected]Changes in v3:
- rebase with masterChanges in v2:
- Use imply instead of removing select altogether and dropped patches 2/3 and 3/3 from previous series as using imply makes them redundant--- arch/arm64/Kconfig.platforms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/Kconfig.platforms +0
-0
arch/arm64/Kconfig.platforms config ARCH_K3 · line 137
Quoted 7 lines
arch/arm64/Kconfig.platforms +2
-2@@ -133,8 +133,8 @@ config ARCH_K3 select PM_GENERIC_DOMAINS if PM select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL + imply TI_MESSAGE_MANAGER + imply TI_SCI_PROTOCOL
I really don't like "imply" in general, and this will be the only instance of it now in the whole file..
Your v1 of this series was the right way to do this IMHO. The only issue was patches 2/3 and 3/3 should have been first in the series to prevent bisect issues. And they had to go to two different maintainers so it shouldn't have been a single series in the first place.
Andrew
Quoted 9 lines
arch/arm64/Kconfig.platforms +0
-1select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC ---base-commit:
21266b8df5224c4f677acf9f353eecc9094731f0
change-id: 20241016-timodulemailboxsci-412e2a6458fcBest regards,
Hi Andrew,
thanks for review.
Le 23/01/2025 à 16:29, Andrew Davis a écrit :
Quoted 39 lines · Guillaume La Roque
Quoted 27 lines
In order to build TI mailbox and TI SCI as modules, replace select with imply.
Signed-off-by Nicolas Frayer <[email protected]>Signed-off-by Guillaume La Roque <[email protected]>---
Changes in v4:
- rebase on master branch
- Link to v3:
https://lore.kernel.org/r/[email protected]Changes in v3:
- rebase with masterChanges in v2:
- Use imply instead of removing select altogether and dropped patches 2/3 and 3/3 from previous series as using imply makes them redundant
---
arch/arm64/Kconfig.platforms| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)arch/arm64/Kconfig.platforms +0
-0@@ -133,8 +133,8 @@ config ARCH_K3Quoted 7 lines
select
PM_GENERIC_DOMAINSif PM
select MAILBOX
selectSOC_TI
- selectTI_MESSAGE_MANAGER
- selectTI_SCI_PROTOCOL
+ implyTI_MESSAGE_MANAGER
+ implyTI_SCI_PROTOCOLI really don't like "imply" in general, and this will be the only instance of it now in the whole file..
Quoted 4 lines
Your v1 of this series was the right way to do this IMHO. The only issue was patches 2/3 and 3/3 should have been first in the series to prevent bisect issues. And they had to go to two different maintainers so it shouldn't have been a single series in the first place.
ok for me ,i will reuse v1 , split and resend.
Thanks
Guillaume
Quoted 12 lines
Andrew
Quoted 9 lines
select
TI_K3_SOCINFO
help
This enables support for Texas Instruments' K3 multicore SoC---
base-commit:21266b8df5224c4f677acf9f353eecc9094731f0
change-id: 20241016-timodulemailboxsci-412e2a6458fcBest regards,