Re: [PATCH] arm64: configs: defconfig: Convert TISCI to modules

From: Wadim Egorov

Date: Fri Nov 20 2026 - 09:42:17 EST




On 9/10/26 4:44 PM, Nishanth Menon wrote:
> Now that all relevant drivers have are ready, convert the
> TISCI drivers to modules. This impacts all K3 platforms for
> boot, recommendation (based on empirical evidence) is to use
> deferred_probe_timeout=60 in kernel command line to allow for driver
> probes to complete successfully based on the initrd used.
>
> NET Savings: (Ubuntu Clang 23.0.0)
> ./scripts/bloat-o-meter vmlinux_previous vmlinux
> add/remove: 4/380 grow/shrink: 0/5 up/down: 32/-143248 (-143216)
>
> Signed-off-by: Nishanth Menon <nm@xxxxxx>
> ---
>
> NOTE:
> a) This patch is based off v7.3-rc1 and will create a merge conflict
> in linux-next (next-20260909), but the resolution is trivial (vs
> bd94bea7165be450903c6d64bbcb4862e36798f9).
> b) Emperical experiments that Siddharth Vadapalli did,
> it seems like some driver probes might be taking much
> longer than the default deferred_probe_timeout of 10
> seconds that is used when CONFIG_MODULES=y. Testing log[1]
> a deferred_probe_timeout=60 seems to have worked fine.
> c) Full bloatometer report is available in [1] as well.
> d) related lore discussions[2]
>
> [1] https://gist.github.com/nmenon/5f1587b373e6ca27170593010188d968
> [2] https://lore.kernel.org/all/20260429-defconfig-v2-5-e4ed4186028b@xxxxxxxxxxxxxxxx/
> See headsup I gave on #linux-ti irc channel https://libera.catirclogs.org/linux-ti/2026-05-20
> https://lore.kernel.org/linux-arm-kernel/20240821110054.35u5ubgaogzjv6c4@rover/
> (original thread that triggered various changes)

I can't boot our boards anymore using the default defconfig. Is this forcing us to switch to an initramfs?


>
> Cc: Siddharth Vadapalli <s-vadapalli@xxxxxx>
> Cc: Vignesh Raghavendra <vigneshr@xxxxxx>
> Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Bjorn Andersson <andersson@xxxxxxxxxx>
> Cc: alexander.sverdlin@xxxxxxxxxxx
> Cc: jan.kiszka@xxxxxxxxxxx
> Cc: ayush@xxxxxxxxxxxxxxx
> Cc: robertcnelson@xxxxxxxxx
> Cc: upstream@xxxxxxxxxxxxxxx
> Cc: francesco.dolcini@xxxxxxxxxxx
> Cc: leonardo.costa@xxxxxxxxxxx
> Cc: matthias.schiffer@xxxxxxxxxxxxxxx
> Cc: stefano.r@xxxxxxxxxxxxx
> Cc: eblanc@xxxxxxxxxxxx
> Cc: msp@xxxxxxxxxxxx
> Cc: thomas.richard@xxxxxxxxxxx
> Cc: miquel.raynal@xxxxxxxxxxx
> Cc: mwalle@xxxxxxxxxx
>
> arch/arm64/configs/defconfig | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 6ec8d3a69c98..ed5aebf96080 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -267,6 +267,7 @@ CONFIG_RASPBERRYPI_FIRMWARE=y
> CONFIG_INTEL_STRATIX10_SERVICE=y
> CONFIG_INTEL_STRATIX10_RSU=m
> CONFIG_MTK_ADSP_IPC=m
> +CONFIG_TI_SCI_PROTOCOL=m
> CONFIG_GOOGLE_FIRMWARE=y
> CONFIG_GOOGLE_CBMEM=m
> CONFIG_GOOGLE_COREBOOT_TABLE=m
> @@ -1403,8 +1404,8 @@ CONFIG_DW_EDMA=m
> CONFIG_RCAR_DMAC=y
> CONFIG_RENESAS_USB_DMAC=m
> CONFIG_RZ_DMAC=y
> -CONFIG_TI_K3_UDMA=y
> -CONFIG_TI_K3_UDMA_GLUE_LAYER=y
> +CONFIG_TI_K3_UDMA=m
> +CONFIG_TI_K3_UDMA_GLUE_LAYER=m
> CONFIG_STM32_DMA3=m
> CONFIG_DMABUF_HEAPS=y
> CONFIG_DMABUF_HEAPS_SYSTEM=m
> @@ -1456,7 +1457,7 @@ CONFIG_CLK_IMX8QXP=y
> CONFIG_CLK_IMX8ULP=y
> CONFIG_CLK_IMX93=y
> CONFIG_CLK_IMX95_BLK_CTL=y
> -CONFIG_TI_SCI_CLK=y
> +CONFIG_TI_SCI_CLK=m
> CONFIG_COMMON_CLK_MT8192_AUDSYS=y
> CONFIG_COMMON_CLK_MT8192_CAMSYS=y
> CONFIG_COMMON_CLK_MT8192_IMGSYS=y
> @@ -1678,7 +1679,7 @@ CONFIG_QCOM_CPR=y
> CONFIG_QCOM_RPMHPD=y
> CONFIG_QCOM_RPMPD=y
> CONFIG_ROCKCHIP_PM_DOMAINS=y
> -CONFIG_TI_SCI_PM_DOMAINS=y
> +CONFIG_TI_SCI_PM_DOMAINS=m
> CONFIG_ARM_IMX_BUS_DEVFREQ=y
> CONFIG_ARM_IMX8M_DDRC_DEVFREQ=m
> CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m
> @@ -1745,15 +1746,15 @@ CONFIG_SL28CPLD_INTC=y
> CONFIG_XILINX_INTC=y
> CONFIG_QCOM_PDC=y
> CONFIG_QCOM_MPM=y
> -CONFIG_TI_SCI_INTR_IRQCHIP=y
> -CONFIG_TI_SCI_INTA_IRQCHIP=y
> +CONFIG_TI_SCI_INTR_IRQCHIP=m
> +CONFIG_TI_SCI_INTA_IRQCHIP=m
> CONFIG_RESET_GPIO=m
> CONFIG_RESET_IMX7=y
> CONFIG_RESET_QCOM_AOSS=y
> CONFIG_RESET_QCOM_PDC=m
> CONFIG_RESET_RZG2L_USBPHY_CTRL=y
> CONFIG_RESET_RZV2H_USB2PHY=m
> -CONFIG_RESET_TI_SCI=y
> +CONFIG_RESET_TI_SCI=m
> CONFIG_PHY_CAN_TRANSCEIVER=m
> CONFIG_PHY_NXP_PTN3222=m
> CONFIG_PHY_SNPS_EUSB2=m