arm64: Kconfig.platforms: remove useless select for ARCH_K3
PATCH v2 1/1 arm64: Kconfig.platforms: remove useless select for ARCH_K3
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on ARCH_K3 are not needed anymore.
Select MAILBOX by default is not needed anymore[3], PM_GENERIC_DOMAIN if PM was enabled by default so not needed.
Remove it and give possibility to enable this driver in modules.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/20250507135213.g6li6ufp3cosxoys@stinging/
---
Changes in v2:
- Remove some other config after comment from Nishanth.
- Link to v1: https://lore.kernel.org/r/[email protected]
--- arch/arm64/Kconfig.platforms | 4 ---- 1 file changed, 4 deletions(-)
arch/arm64/Kconfig.platforms +0 -4
@@ -135,11 +135,7 @@ config ARCH_SPARX5 config ARCH_K3 bool "Texas Instruments Inc. K3 multicore SoC architecture" - select PM_GENERIC_DOMAINS if PM - select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC
---
base-commit: e8ab83e34bdc458b5cd77f201e4ed04807978fb1
change-id: 20250504-kconfig-68f139fbf337
Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>
Vignesh Raghavendra
AppliedHi Guillaume La Roque,
Quoted 8 lines · Guillaume La Roque
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.Remove it and give possibility to enable this driver in modules.
[...]
I have applied the following to branch ti-k3-config-next on [1]. Thank you!
[1/1] arm64: Kconfig.platforms: remove useless select for ARCH_K3
commit: 631ce8f743a5c85bd7f0a5e7dcca70566d88f43f
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
Quoted 5 lines · Guillaume La Roque
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.
Hi,
what selects PM_GENERIC_DOMAIN in your configuration? linux-next fails to boot on our AM62x-based TQMa62xx if I don't (partially) revert this patch - I have not found a way to enable PM_GENERIC_DOMAIN and TI_SCI_PM_DOMAINS without enabling other unneeded features to pull it in.
Best,
Matthias
Quoted 38 lines
Remove it and give possibility to enable this driver in modules.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/20250507135213.g6li6ufp3cosxoys@stinging/Signed-off-by Guillaume La Roque <[email protected]>---
Changes in v2:
- Remove some other config after comment from Nishanth.
- Link to v1: https://lore.kernel.org/r/[email protected]--- arch/arm64/Kconfig.platforms | 4 ---- 1 file changed, 4 deletions(-)arch/arm64/Kconfig.platforms +0
-5@@ -135,11 +135,7 @@ config ARCH_SPARX5 config ARCH_K3 bool "Texas Instruments Inc. K3 multicore SoC architecture" - select PM_GENERIC_DOMAINS if PM - select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC ---base-commit:
e8ab83e34bdc458b5cd77f201e4ed04807978fb1
change-id: 20250504-kconfig-68f139fbf337Best regards,
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider https://www.tq-group.com/
Le 01/07/2025 à 16:36, Matthias Schiffer a écrit :
Quoted 8 lines · Guillaume La Roque
Quoted 5 lines
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.Hi,
Hi,
Quoted 6 lines
what selects
PM_GENERIC_DOMAINin your configuration? linux-next fails to boot on our AM62x-based TQMa62xx if I don't (partially) revert this patch - I have not found a way to enablePM_GENERIC_DOMAINandTI_SCI_PM_DOMAINSwithout enabling other unneeded features to pull it in.
With master branch if i apply this patch and i do make ARCH=arm64 defconfig and check in .config both TI_SCI_PM_DOMAINS and PM_GENERIC_DOMAINS are enabled. with linux-next it's same. i don't really understand link with PM part in this patch and boot issue on your SOM.
I probably misunderstand something.
what is your problem exactly ?
if you can share log or link to jobs
Regards
Guillaume
Quoted 43 lines
Best,
MatthiasQuoted 38 lines
Remove it and give possibility to enable this driver in modules.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/20250507135213.g6li6ufp3cosxoys@stinging/Signed-off-by Guillaume La Roque <[email protected]>---
Changes in v2:
- Remove some other config after comment from Nishanth.
- Link to v1: https://lore.kernel.org/r/[email protected]--- arch/arm64/Kconfig.platforms | 4 ---- 1 file changed, 4 deletions(-)arch/arm64/Kconfig.platforms +0
-5@@ -135,11 +135,7 @@ config ARCH_SPARX5 config ARCH_K3 bool "Texas Instruments Inc. K3 multicore SoC architecture" - select PM_GENERIC_DOMAINS if PM - select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC ---base-commit:
e8ab83e34bdc458b5cd77f201e4ed04807978fb1
change-id: 20250504-kconfig-68f139fbf337Best regards,
Quoted 25 lines · Guillaume La Roque
Le 01/07/2025 à 16:36, Matthias Schiffer a écrit :
Quoted 8 lines · Guillaume La Roque
Quoted 5 lines
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.Hi,
Hi,
Quoted 6 lines
what selects
PM_GENERIC_DOMAINin your configuration? linux-next fails to boot on our AM62x-based TQMa62xx if I don't (partially) revert this patch - I have not found a way to enablePM_GENERIC_DOMAINandTI_SCI_PM_DOMAINSwithout enabling other unneeded features to pull it in.With master branch if i apply this patch and i do make ARCH=arm64 defconfig and check in .config both
TI_SCI_PM_DOMAINSandPM_GENERIC_DOMAINSare enabled.
with linux-next it's same. i don't really understand link with PM part in this patch and boot issue on your SOM.
Quoted 6 lines
I probably misunderstand something.
what is your problem exactly ?
if you can share log or link to jobs
Hi Guillaume,
with arm64_defconfig, this problem doesn't occur, as other CONFIG_ARCH_* symbols also have "select PM_GENERIC_DOMAINS" (with or without "if PM").
We are using a smaller config specific to our K3-based SOMs however. I have attached a defconfig that shows the problem - if you use this as the base for .config on linux-next, there is no way to enable TI_SCI_PM_DOMAINS, as nothing selects PM_GENERIC_DOMAINS.
So unless I'm missing some other configuration that would actually be useful on the K3 platform and that would pull in PM_GENERIC_DOMAINS, I think that part needs to be reverted. I can send a patch to that effect later.
Best,
Matthias
Quoted 48 lines
Regards
GuillaumeQuoted 43 lines
Best,
MatthiasQuoted 38 lines
Remove it and give possibility to enable this driver in modules.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/20250507135213.g6li6ufp3cosxoys@stinging/Signed-off-by Guillaume La Roque <[email protected]>---
Changes in v2:
- Remove some other config after comment from Nishanth.
- Link to v1: https://lore.kernel.org/r/[email protected]--- arch/arm64/Kconfig.platforms | 4 ---- 1 file changed, 4 deletions(-)arch/arm64/Kconfig.platforms +0
-5@@ -135,11 +135,7 @@ config ARCH_SPARX5 config ARCH_K3 bool "Texas Instruments Inc. K3 multicore SoC architecture" - select PM_GENERIC_DOMAINS if PM - select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC ---base-commit:
e8ab83e34bdc458b5cd77f201e4ed04807978fb1
change-id: 20250504-kconfig-68f139fbf337Best regards,
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider https://www.tq-group.com/
# CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=yCONFIG_POSIX_MQUEUE=yCONFIG_NO_HZ_IDLE=yCONFIG_HIGH_RES_TIMERS=yCONFIG_BPF_SYSCALL=yCONFIG_BPF_JIT=yCONFIG_BPF_JIT_ALWAYS_ON=y
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set CONFIG_PREEMPT=yCONFIG_IRQ_TIME_ACCOUNTING=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=yCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_MEMCG=yCONFIG_BLK_CGROUP=yCONFIG_CFS_BANDWIDTH=yCONFIG_CGROUP_PIDS=yCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_HUGETLB=yCONFIG_CPUSETS=yCONFIG_CGROUP_DEVICE=yCONFIG_CGROUP_CPUACCT=yCONFIG_CGROUP_PERF=yCONFIG_CGROUP_BPF=yCONFIG_NAMESPACES=yCONFIG_USER_NS=yCONFIG_CHECKPOINT_RESTORE=y CONFIG_SCHED_AUTOGROUP=yCONFIG_BLK_DEV_INITRD=yCONFIG_SYSFS_SYSCALL=yCONFIG_EXPERT=yCONFIG_KALLSYMS_ALL=yCONFIG_PERF_EVENTS=yCONFIG_KEXEC=yCONFIG_KEXEC_FILE=y
# CONFIG_CRASH_DUMP is not setCONFIG_ARCH_K3=yCONFIG_ARM64_ERRATUM_2441007=y CONFIG_ARM64_ERRATUM_1286807=y CONFIG_ARM64_ERRATUM_1542419=y CONFIG_ARM64_ERRATUM_2441009=y
# CONFIG_CAVIUM_ERRATUM_22375 is not set
# CONFIG_CAVIUM_ERRATUM_23154 is not set
# CONFIG_CAVIUM_ERRATUM_27456 is not set
# CONFIG_CAVIUM_ERRATUM_30115 is not set
# CONFIG_HISILICON_ERRATUM_161600802 is not set
# CONFIG_QCOM_FALKOR_ERRATUM_1003 is not set
# CONFIG_QCOM_FALKOR_ERRATUM_1009 is not set
# CONFIG_QCOM_QDF2400_ERRATUM_0065 is not set
# CONFIG_QCOM_FALKOR_ERRATUM_E1041 is not set CONFIG_ARM64_VA_BITS_48=yCONFIG_SCHED_MC=yCONFIG_SCHED_SMT=yCONFIG_NR_CPUS=256CONFIG_COMPAT=yCONFIG_RANDOMIZE_BASE=y
# CONFIG_EFI is not setCONFIG_HIBERNATION=y CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y CONFIG_ENERGY_MODEL=yCONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y CONFIG_CPUFREQ_DT=yCONFIG_VIRTUALIZATION=yCONFIG_JUMP_LABEL=yCONFIG_MODULES=yCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_BLK_DEV_BSGLIB=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_COMPAT_BRK is not setCONFIG_KSM=yCONFIG_MEMORY_FAILURE=y CONFIG_TRANSPARENT_HUGEPAGE=yCONFIG_CMA=yCONFIG_CMA_AREAS=7CONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_XFRM_USER=mCONFIG_NET_KEY=mCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_INET_AH=mCONFIG_INET_ESP=mCONFIG_INET_IPCOMP=mCONFIG_INET6_AH=mCONFIG_INET6_IPCOMP=mCONFIG_IPV6_SIT=mCONFIG_IPV6_TUNNEL=mCONFIG_NETFILTER=yCONFIG_NF_CONNTRACK=m CONFIG_NF_CONNTRACK_EVENTS=y CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m CONFIG_NETFILTER_XT_TARGET_LOG=m CONFIG_NETFILTER_XT_TARGET_MARK=m CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m CONFIG_NETFILTER_XT_MATCH_COMMENT=m CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_NETFILTER_XT_MATCH_CPU=m CONFIG_NETFILTER_XT_MATCH_IPRANGE=m CONFIG_NETFILTER_XT_MATCH_LENGTH=m CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m CONFIG_NETFILTER_XT_MATCH_MARK=m CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m CONFIG_NETFILTER_XT_MATCH_POLICY=m CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m CONFIG_NF_LOG_IPV4=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_FILTER=m CONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_NAT=m CONFIG_IP_NF_TARGET_MASQUERADE=m CONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_ARPFILTER=m CONFIG_IP_NF_ARP_MANGLE=m CONFIG_IP6_NF_IPTABLES=mCONFIG_IP6_NF_FILTER=m CONFIG_IP6_NF_TARGET_REJECT=m CONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_NAT=m CONFIG_IP6_NF_TARGET_MASQUERADE=m CONFIG_BRIDGE_NF_EBTABLES=m CONFIG_BRIDGE_EBT_BROUTE=m CONFIG_BRIDGE_EBT_T_FILTER=m CONFIG_BRIDGE_EBT_T_NAT=m CONFIG_BRIDGE_EBT_802_3=m CONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=m CONFIG_BRIDGE_EBT_MARK=m CONFIG_BRIDGE_EBT_PKTTYPE=m CONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=m CONFIG_BRIDGE_EBT_ARPREPLY=m CONFIG_BRIDGE_EBT_DNAT=m CONFIG_BRIDGE_EBT_MARK_T=m CONFIG_BRIDGE_EBT_REDIRECT=m CONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_IP_SCTP=mCONFIG_BRIDGE=mCONFIG_BRIDGE_VLAN_FILTERING=y CONFIG_VLAN_8021Q=yCONFIG_VLAN_8021Q_GVRP=yCONFIG_VLAN_8021Q_MVRP=yCONFIG_NET_SCHED=yCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_HFSC=mCONFIG_NET_SCH_PRIO=mCONFIG_NET_SCH_MULTIQ=mCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFB=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TEQL=mCONFIG_NET_SCH_TBF=mCONFIG_NET_SCH_CBS=mCONFIG_NET_SCH_ETF=mCONFIG_NET_SCH_TAPRIO=mCONFIG_NET_SCH_GRED=mCONFIG_NET_SCH_NETEM=mCONFIG_NET_SCH_DRR=mCONFIG_NET_SCH_MQPRIO=mCONFIG_NET_SCH_CHOKE=mCONFIG_NET_SCH_QFQ=mCONFIG_NET_SCH_CODEL=mCONFIG_NET_SCH_FQ_CODEL=y CONFIG_NET_SCH_INGRESS=mCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_ROUTE4=mCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_MARK=yCONFIG_NET_CLS_FLOW=mCONFIG_NET_CLS_FLOWER=mCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_CMP=mCONFIG_NET_EMATCH_NBYTE=mCONFIG_NET_EMATCH_U32=mCONFIG_NET_EMATCH_META=mCONFIG_NET_EMATCH_TEXT=mCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=mCONFIG_NET_ACT_GACT=mCONFIG_GACT_PROB=yCONFIG_NET_ACT_MIRRED=mCONFIG_NET_ACT_NAT=mCONFIG_NET_ACT_PEDIT=mCONFIG_NET_ACT_SIMP=mCONFIG_NET_ACT_SKBEDIT=mCONFIG_NET_ACT_CSUM=mCONFIG_NET_ACT_GATE=mCONFIG_HSR=yCONFIG_NET_SWITCHDEV=yCONFIG_CAN=yCONFIG_BT=yCONFIG_BT_HIDP=mCONFIG_BT_LEDS=yCONFIG_BT_HCIBTUSB=mCONFIG_BT_HCIUART=mCONFIG_BT_HCIUART_MRVL=yCONFIG_BT_MRVL=mCONFIG_BT_MRVL_SDIO=mCONFIG_CFG80211=mCONFIG_NL80211_TESTMODE=yCONFIG_MAC80211=mCONFIG_MAC80211_MESH=yCONFIG_RFKILL=yCONFIG_PCI=yCONFIG_PCIEPORTBUS=yCONFIG_PCI_IOV=yCONFIG_PCI_PASID=yCONFIG_HOTPLUG_PCI=yCONFIG_PCIE_ALTERA=yCONFIG_PCIE_ALTERA_MSI=y CONFIG_PCI_HOST_THUNDER_PEM=y CONFIG_PCI_HOST_THUNDER_ECAM=y CONFIG_PCI_HOST_GENERIC=yCONFIG_PCI_J721E_HOST=yCONFIG_PCI_J721E_EP=yCONFIG_PCI_KEYSTONE_HOST=y CONFIG_PCI_KEYSTONE_EP=yCONFIG_PCI_ENDPOINT=y CONFIG_PCI_ENDPOINT_CONFIGFS=y CONFIG_PCI_EPF_TEST=yCONFIG_PCI_EPF_NTB=yCONFIG_DEVTMPFS=yCONFIG_DEVTMPFS_MOUNT=yCONFIG_MTD=yCONFIG_MTD_CMDLINE_PARTS=yCONFIG_MTD_BLOCK=yCONFIG_MTD_SPI_NOR=y
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set CONFIG_MTD_UBI=yCONFIG_OF_OVERLAY=yCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_NBD=mCONFIG_BLK_DEV_RAM=yCONFIG_VIRTIO_BLK=yCONFIG_BLK_DEV_NVME=mCONFIG_SRAM=yCONFIG_EEPROM_AT24=yCONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set CONFIG_BLK_DEV_SD=y
# CONFIG_SCSI_LOWLEVEL is not setCONFIG_MD=yCONFIG_BLK_DEV_MD=mCONFIG_BLK_DEV_DM=mCONFIG_DM_MIRROR=mCONFIG_DM_ZERO=mCONFIG_NETDEVICES=yCONFIG_MACVLAN=mCONFIG_MACVTAP=mCONFIG_TUN=yCONFIG_VETH=mCONFIG_VIRTIO_NET=yCONFIG_E1000=mCONFIG_E1000E=mCONFIG_IGBVF=yCONFIG_TI_K3_AM65_CPSW_NUSS=y CONFIG_TI_K3_AM65_CPSW_SWITCHDEV=y CONFIG_TI_K3_AM65_CPTS=yCONFIG_TI_ICSSG_PRUETH=mCONFIG_AQUANTIA_PHY=yCONFIG_MARVELL_PHY=yCONFIG_MARVELL_10G_PHY=mCONFIG_MICREL_PHY=yCONFIG_MICROSEMI_PHY=yCONFIG_AT803X_PHY=yCONFIG_REALTEK_PHY=mCONFIG_ROCKCHIP_PHY=yCONFIG_DP83848_PHY=yCONFIG_DP83867_PHY=yCONFIG_DP83869_PHY=yCONFIG_DP83TG720_PHY=yCONFIG_VITESSE_PHY=yCONFIG_CAN_M_CAN=yCONFIG_CAN_M_CAN_PLATFORM=y CONFIG_MDIO_BUS_MUX_MULTIPLEXER=y CONFIG_MDIO_BUS_MUX_MMIOREG=y CONFIG_USB_NET_DRIVERS=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_RTL8152=mCONFIG_USB_LAN78XX=mCONFIG_USB_USBNET=mCONFIG_USB_NET_CDC_EEM=mCONFIG_USB_NET_DM9601=mCONFIG_USB_NET_SR9800=mCONFIG_USB_NET_SMSC75XX=m CONFIG_USB_NET_SMSC95XX=mCONFIG_USB_NET_PLUSB=mCONFIG_USB_NET_MCS7830=mCONFIG_ATH10K=mCONFIG_MWIFIEX=mCONFIG_MWIFIEX_SDIO=mCONFIG_INPUT_EVDEV=yCONFIG_KEYBOARD_ADC=mCONFIG_KEYBOARD_GPIO=yCONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ATMEL_MXT=m CONFIG_TOUCHSCREEN_GOODIX=m CONFIG_TOUCHSCREEN_EDT_FT5X06=m CONFIG_TOUCHSCREEN_TI_AM335X_TSC=m CONFIG_TOUCHSCREEN_PIXCIR=mCONFIG_INPUT_MISC=yCONFIG_INPUT_GPIO_DECODER=m CONFIG_INPUT_TPS65219_PWRBUTTON=y
# CONFIG_SERIO_SERPORT is not set CONFIG_SERIO_AMBAKMI=yCONFIG_LEGACY_PTY_COUNT=16CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_NR_UARTS=10 CONFIG_SERIAL_8250_RUNTIME_UARTS=10 CONFIG_SERIAL_8250_EXTENDED=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_OMAP=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_DEV_BUS=yCONFIG_VIRTIO_CONSOLE=yCONFIG_IPMI_HANDLER=m CONFIG_IPMI_DEVICE_INTERFACE=mCONFIG_IPMI_SI=mCONFIG_HW_RANDOM_CN10K=yCONFIG_TCG_TPM=yCONFIG_TCG_TIS_I2C_INFINEON=y CONFIG_I2C_CHARDEV=yCONFIG_I2C_OMAP=yCONFIG_SPI=yCONFIG_SPI_CADENCE_QUADSPI=y CONFIG_SPI_OMAP24XX=yCONFIG_SPI_SPIDEV=yCONFIG_SPMI=yCONFIG_PINCTRL=yCONFIG_PINCTRL_SINGLE=yCONFIG_GPIO_SYSFS=yCONFIG_GPIO_DAVINCI=yCONFIG_GPIO_PCA953X=yCONFIG_GPIO_PCA953X_IRQ=y CONFIG_POWER_SEQUENCING=yCONFIG_SENSORS_JC42=yCONFIG_SENSORS_LM75=yCONFIG_SENSORS_PWM_FAN=yCONFIG_THERMAL=y CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=yCONFIG_THERMAL_EMULATION=yCONFIG_K3_THERMAL=yCONFIG_WATCHDOG=yCONFIG_K3_RTI_WATCHDOG=y CONFIG_ARM_SMC_WATCHDOG=y CONFIG_MFD_TI_AM335X_TSCADC=y CONFIG_MFD_TPS65219=yCONFIG_MFD_TPS6594_I2C=yCONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_GPIO=y CONFIG_REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY=y CONFIG_REGULATOR_TPS65219=y CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_SUPPORT_FILTER=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_PLATFORM_SUPPORT=y CONFIG_VIDEO_CADENCE_CSI2RX=y CONFIG_VIDEO_TI_J721E_CSI2RX=y CONFIG_VIDEO_IMX219=yCONFIG_VIDEO_IMX290=yCONFIG_VIDEO_OV9282=yCONFIG_DRM=yCONFIG_DRM_PANEL_LVDS=yCONFIG_DRM_PANEL_EDP=yCONFIG_DRM_PANEL_SIMPLE=y CONFIG_DRM_DISPLAY_CONNECTOR=y CONFIG_DRM_TOSHIBA_TC358762=y CONFIG_DRM_TOSHIBA_TC358767=y CONFIG_DRM_TI_SN65DSI86=yCONFIG_DRM_CDNS_DSI=yCONFIG_DRM_TIDSS=yCONFIG_FB=yCONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_PWM=yCONFIG_LOGO=yCONFIG_SOUND=yCONFIG_SND=yCONFIG_SND_HRTIMER=yCONFIG_SND_DYNAMIC_MINORS=yCONFIG_SND_SOC=yCONFIG_SND_SIMPLE_CARD=y CONFIG_SND_SOC_DAVINCI_MCASP=y CONFIG_SND_SOC_TLV320AIC32X4_I2C=y CONFIG_HID_MULTITOUCH=yCONFIG_USB_HID=mCONFIG_USB_CONN_GPIO=yCONFIG_USB=y
# CONFIG_USB_PCI is not set CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_OTG=yCONFIG_USB_OTG_FSM=yCONFIG_USB_XHCI_HCD=yCONFIG_USB_ACM=mCONFIG_USB_STORAGE=yCONFIG_USB_UAS=yCONFIG_USB_CDNS_SUPPORT=yCONFIG_USB_CDNS3=yCONFIG_USB_CDNS3_GADGET=yCONFIG_USB_CDNS3_HOST=yCONFIG_USB_DWC3=yCONFIG_USB_SERIAL=mCONFIG_USB_SERIAL_CP210X=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_OPTION=mCONFIG_USB_TEST=mCONFIG_USB_ONBOARD_DEV=yCONFIG_NOP_USB_XCEIV=mCONFIG_USB_GADGET=y CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=32 CONFIG_USB_CONFIGFS=m CONFIG_USB_CONFIGFS_SERIAL=y CONFIG_USB_CONFIGFS_ACM=y CONFIG_USB_CONFIGFS_OBEX=y CONFIG_USB_CONFIGFS_NCM=y CONFIG_USB_CONFIGFS_ECM=y CONFIG_USB_CONFIGFS_ECM_SUBSET=y CONFIG_USB_CONFIGFS_RNDIS=y CONFIG_USB_CONFIGFS_EEM=y CONFIG_USB_CONFIGFS_MASS_STORAGE=y CONFIG_USB_CONFIGFS_F_LB_SS=y CONFIG_USB_CONFIGFS_F_FS=y CONFIG_USB_CONFIGFS_F_HID=y CONFIG_USB_CONFIGFS_F_PRINTER=yCONFIG_USB_ZERO=mCONFIG_USB_ETH=mCONFIG_USB_G_NCM=mCONFIG_USB_GADGETFS=mCONFIG_USB_FUNCTIONFS=m CONFIG_USB_FUNCTIONFS_ETH=y CONFIG_USB_FUNCTIONFS_RNDIS=y CONFIG_USB_FUNCTIONFS_GENERIC=y CONFIG_USB_MASS_STORAGE=mCONFIG_USB_G_SERIAL=mCONFIG_USB_G_PRINTER=mCONFIG_USB_CDC_COMPOSITE=mCONFIG_USB_G_ACM_MS=mCONFIG_USB_G_MULTI=mCONFIG_USB_G_MULTI_CDC=yCONFIG_USB_G_HID=mCONFIG_USB_G_DBGP=mCONFIG_MMC=yCONFIG_MMC_BLOCK_MINORS=32CONFIG_MMC_SDHCI=yCONFIG_MMC_SDHCI_PLTFM=yCONFIG_MMC_SDHCI_AM654=yCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=yCONFIG_LEDS_GPIO=yCONFIG_LEDS_TRIGGER_TIMER=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_LEDS_TRIGGER_PANIC=yCONFIG_EDAC=y
# CONFIG_EDAC_LEGACY_SYSFS is not set CONFIG_RTC_CLASS=yCONFIG_RTC_DRV_PCF85063=yCONFIG_RTC_DRV_TI_K3=yCONFIG_DMADEVICES=yCONFIG_TI_K3_UDMA=y CONFIG_TI_K3_UDMA_GLUE_LAYER=y CONFIG_DMABUF_HEAPS=y CONFIG_DMABUF_HEAPS_SYSTEM=y CONFIG_DMABUF_HEAPS_CMA=yCONFIG_UIO=yCONFIG_VFIO=yCONFIG_VFIO_PCI=yCONFIG_VIRTIO_PCI=yCONFIG_VIRTIO_BALLOON=yCONFIG_VIRTIO_MMIO=y CONFIG_COMMON_CLK_CS2000_CP=y CONFIG_COMMON_CLK_VC5=yCONFIG_TI_SCI_CLK=yCONFIG_HWSPINLOCK=yCONFIG_HWSPINLOCK_OMAP=yCONFIG_MAILBOX=yCONFIG_OMAP2PLUS_MBOX=yCONFIG_ARM_SMMU=yCONFIG_ARM_SMMU_V3=yCONFIG_REMOTEPROC=yCONFIG_TI_K3_DSP_REMOTEPROC=m CONFIG_TI_K3_M4_REMOTEPROC=m CONFIG_TI_K3_R5_REMOTEPROC=mCONFIG_RPMSG_CHAR=mCONFIG_RPMSG_VIRTIO=mCONFIG_TI_PRUSS=yCONFIG_MEMORY=yCONFIG_IIO=yCONFIG_TI_AM335X_ADC=yCONFIG_PWM=yCONFIG_PWM_TIEHRPWM=y CONFIG_TI_SCI_INTR_IRQCHIP=y CONFIG_TI_SCI_INTA_IRQCHIP=y CONFIG_RESET_CONTROLLER=yCONFIG_RESET_TI_SCI=y CONFIG_PHY_CADENCE_TORRENT=y CONFIG_PHY_CADENCE_DPHY=y CONFIG_PHY_CADENCE_DPHY_RX=y CONFIG_PHY_J721E_WIZ=yCONFIG_TEE=yCONFIG_OPTEE=yCONFIG_INTERCONNECT=yCONFIG_EXT4_FS=yCONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=yCONFIG_BTRFS_FS=mCONFIG_BTRFS_FS_POSIX_ACL=yCONFIG_FANOTIFY=y CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y CONFIG_QUOTA=yCONFIG_AUTOFS_FS=yCONFIG_FUSE_FS=yCONFIG_CUSE=mCONFIG_OVERLAY_FS=mCONFIG_VFAT_FS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_HUGETLBFS=yCONFIG_UBIFS_FS=yCONFIG_SQUASHFS=yCONFIG_NFS_FS=yCONFIG_NFS_V2=yCONFIG_NFS_V4=yCONFIG_NFS_V4_1=yCONFIG_NFS_V4_2=yCONFIG_ROOT_NFS=yCONFIG_CIFS=m
# CONFIG_CIFS_STATS2 is not set CONFIG_CIFS_XATTR=yCONFIG_CIFS_POSIX=yCONFIG_NLS_CODEPAGE_437=yCONFIG_NLS_ISO8859_1=yCONFIG_SECURITY=y CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity,bpf" CONFIG_INIT_STACK_NONE=yCONFIG_CRYPTO_NULL=yCONFIG_CRYPTO_CRYPTD=yCONFIG_CRYPTO_XTS=mCONFIG_CRYPTO_CCM=yCONFIG_CRYPTO_GCM=yCONFIG_CRYPTO_ECHAINIV=yCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_ANSI_CPRNG=y CONFIG_CRYPTO_USER_API_RNG=m CONFIG_CRYPTO_GHASH_ARM64_CE=y CONFIG_CRYPTO_SHA1_ARM64_CE=y CONFIG_CRYPTO_SHA3_ARM64=m CONFIG_CRYPTO_SM3_ARM64_CE=m CONFIG_CRYPTO_AES_ARM64=y CONFIG_CRYPTO_AES_ARM64_BS=m CONFIG_CRYPTO_AES_ARM64_CE_CCM=y CONFIG_CRYPTO_DEV_SA2UL=yCONFIG_DMA_CMA=yCONFIG_CMA_SIZE_MBYTES=24CONFIG_PRINTK_TIME=yCONFIG_DYNAMIC_DEBUG=y CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_DEBUG_INFO_SPLIT=yCONFIG_GDB_SCRIPTS=yCONFIG_DEBUG_FS=yCONFIG_KGDB=yCONFIG_KGDB_KDB=y
# CONFIG_SLUB_DEBUG is not set CONFIG_RCU_CPU_STALL_TIMEOUT=300 CONFIG_FUNCTION_TRACER=yCONFIG_SAMPLES=yCONFIG_SAMPLE_RPMSG_CLIENT=mCONFIG_MEMTEST=y
Hi,
+ Vignesh who was lost in email list , sorry for that
Le 02/07/2025 à 09:25, Matthias Schiffer a écrit :
Quoted 39 lines · Guillaume La Roque
Quoted 25 lines
Le 01/07/2025 à 16:36, Matthias Schiffer a écrit :
Quoted 8 lines · Guillaume La Roque
Quoted 5 lines
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.Hi,
Hi,
Quoted 6 lines
what selects
PM_GENERIC_DOMAINin your configuration? linux-next fails to boot on our AM62x-based TQMa62xx if I don't (partially) revert this patch - I have not found a way to enablePM_GENERIC_DOMAINandTI_SCI_PM_DOMAINSwithout enabling other unneeded features to pull it in.With master branch if i apply this patch and i do make ARCH=arm64 defconfig and check in .config both
TI_SCI_PM_DOMAINSandPM_GENERIC_DOMAINSare enabled.
with linux-next it's same. i don't really understand link with PM part in this patch and boot issue on your SOM.Quoted 6 lines
I probably misunderstand something.
what is your problem exactly ?
if you can share log or link to jobs
Hi Guillaume,
with
arm64_defconfig, this problem doesn't occur, as other CONFIG_ARCH_* symbols also have "selectPM_GENERIC_DOMAINS" (with or without "if PM").
Quoted 9 lines
We are using a smaller config specific to our K3-based SOMs however. I have attached a defconfig that shows the problem - if you use this as the base for .config on linux-next, there is no way to enable
TI_SCI_PM_DOMAINS, as nothing selectsPM_GENERIC_DOMAINS.So unless I'm missing some other configuration that would actually be useful on the K3 platform and that would pull in
PM_GENERIC_DOMAINS, I think that part needs to be reverted. I can send a patch to that effect later.
not sure good patch was to enable PM_GENERIC_DOMAINS on ARCH_K3 but it's a deps on TI_SCI_PM_DOMAINS so perhaps do a select in PM_GENERIC_DOMAINS Kconfig instead of a depends on should be a better solution .
Nishanth and vignesh what do you prefer for this issue ?
thanks
Guillaume
Quoted 53 lines
Best,
MatthiasQuoted 48 lines
Regards
GuillaumeQuoted 43 lines
Best,
MatthiasQuoted 38 lines
Remove it and give possibility to enable this driver in modules.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/20250507135213.g6li6ufp3cosxoys@stinging/Signed-off-by Guillaume La Roque <[email protected]>---
Changes in v2:
- Remove some other config after comment from Nishanth.
- Link to v1: https://lore.kernel.org/r/[email protected]--- arch/arm64/Kconfig.platforms | 4 ---- 1 file changed, 4 deletions(-)arch/arm64/Kconfig.platforms +0
-5@@ -135,11 +135,7 @@ config ARCH_SPARX5 config ARCH_K3 bool "Texas Instruments Inc. K3 multicore SoC architecture" - select PM_GENERIC_DOMAINS if PM - select MAILBOX select SOC_TI - select TI_MESSAGE_MANAGER - select TI_SCI_PROTOCOL select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC ---base-commit:
e8ab83e34bdc458b5cd77f201e4ed04807978fb1
change-id: 20250504-kconfig-68f139fbf337Best regards,
Quoted 39 lines · Matthias Schiffer
Quoted 25 lines · Guillaume La Roque
Le 01/07/2025 à 16:36, Matthias Schiffer a écrit :
Quoted 8 lines · Guillaume La Roque
Quoted 5 lines
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.Hi,
Hi,
Quoted 6 lines
what selects
PM_GENERIC_DOMAINin your configuration? linux-next fails to boot on our AM62x-based TQMa62xx if I don't (partially) revert this patch - I have not found a way to enablePM_GENERIC_DOMAINandTI_SCI_PM_DOMAINSwithout enabling other unneeded features to pull it in.With master branch if i apply this patch and i do make ARCH=arm64 defconfig and check in .config both
TI_SCI_PM_DOMAINSandPM_GENERIC_DOMAINSare enabled.
with linux-next it's same. i don't really understand link with PM part in this patch and boot issue on your SOM.Quoted 6 lines
I probably misunderstand something.
what is your problem exactly ?
if you can share log or link to jobs
Hi Guillaume,
with
arm64_defconfig, this problem doesn't occur, as other CONFIG_ARCH_* symbols also have "selectPM_GENERIC_DOMAINS" (with or without "if PM").
Quoted 8 lines
We are using a smaller config specific to our K3-based SOMs however. I have attached a defconfig that shows the problem - if you use this as the base for .config on linux-next, there is no way to enable
TI_SCI_PM_DOMAINS, as nothing selectsPM_GENERIC_DOMAINS.So unless I'm missing some other configuration that would actually be useful on the K3 platform and that would pull in
PM_GENERIC_DOMAINS, I think that part needs to be reverted. I can send a patch to that effect later.
Is a better approach to select PM_GENERIC_DOMAINS in drivers/pmdomain/ti/Kconfig instead of depends (similar to what drivers/pmdomain/qcom/Kconfig or drivers/pmdomain/arm/Kconfig does since TI_SCI_PM_DOMAINS requires PM_GENERIC_DOMAINS?
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Hi,
Le 03/07/2025 à 14:28, Nishanth Menon a écrit :
Quoted 45 lines · Matthias Schiffer
Quoted 44 lines · Guillaume La Roque
Quoted 25 lines
Le 01/07/2025 à 16:36, Matthias Schiffer a écrit :
Quoted 8 lines · Guillaume La Roque
Quoted 5 lines
After patch done on TI_MESSAGE_MANAGER[1] and TI_SCI_PROTOCOL[2] driver select on
ARCH_K3are not needed anymore.
Select MAILBOX by default is not needed anymore[3],PM_GENERIC_DOMAINif PM was enabled by default so not needed.Hi,
Hi,
Quoted 6 lines
what selects
PM_GENERIC_DOMAINin your configuration? linux-next fails to boot on our AM62x-based TQMa62xx if I don't (partially) revert this patch - I have not found a way to enablePM_GENERIC_DOMAINandTI_SCI_PM_DOMAINSwithout enabling other unneeded features to pull it in.With master branch if i apply this patch and i do make ARCH=arm64 defconfig and check in .config both
TI_SCI_PM_DOMAINSandPM_GENERIC_DOMAINSare enabled.
with linux-next it's same. i don't really understand link with PM part in this patch and boot issue on your SOM.Quoted 6 lines
I probably misunderstand something.
what is your problem exactly ?
if you can share log or link to jobs
Hi Guillaume,
with
arm64_defconfig, this problem doesn't occur, as other CONFIG_ARCH_* symbols also have "selectPM_GENERIC_DOMAINS" (with or without "if PM").We are using a smaller config specific to our K3-based SOMs however. I have attached a defconfig that shows the problem - if you use this as the base for .config on linux-next, there is no way to enable
TI_SCI_PM_DOMAINS, as nothing selectsPM_GENERIC_DOMAINS.
Quoted 9 lines
Quoted 3 lines
So unless I'm missing some other configuration that would actually be useful on the K3 platform and that would pull in
PM_GENERIC_DOMAINS, I think that part needs to be reverted. I can send a patch to that effect later.Is a better approach to select
PM_GENERIC_DOMAINSindrivers/pmdomain/ti/Kconfiginstead of depends (similar to whatdrivers/pmdomain/qcom/Kconfigordrivers/pmdomain/arm/Kconfigdoes sinceTI_SCI_PM_DOMAINSrequiresPM_GENERIC_DOMAINS?
I send patch to do this :
https://lore.kernel.org/all/[email protected]/
Regards
Guillaume