Re: [PATCH] arm64: configs: defconfig: Convert TISCI to modules
From: Nishanth Menon
Date: Mon Nov 23 2026 - 07:56:51 EST
On 16:28-20261120, Krzysztof Kozlowski wrote:
> On 20/11/2026 15:42, Wadim Egorov wrote:
> >
> >
> > 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?
>
> arm64 targets long time ago were supposed to use initramfs. It's pretty
> easy to switch, honestly, yocto can give you a very small initramfs
> which will you can also extend to copy the modules to rootfs, if needed.
As mentioned, we are struggling to keep the Image size in control to be
able to add new SoCs and architectures. But yes, initramfs is the way to
go.
If you are looking for something that might help pick the modules
needed, i found [1] (basic busybox) useful and I use this for daily
testing for all TI K3 EVMs. kernelci goes the other direction (vs
picking just the modules needed for a specific boot mode on a board)
of having all the modules in initramfs. Both directions have been
working for a few months now.
[1] https://github.com/nmenon/boardrd
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource