From: Wadim Egorov <w.egorov@phytec.de>
To: Nishanth Menon <nm@ti.com>, Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Siddharth Vadapalli <s-vadapalli@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Catalin Marinas <catalin.marinas@arm.com>,
Bjorn Andersson <andersson@kernel.org>,
alexander.sverdlin@siemens.com, jan.kiszka@siemens.com,
ayush@beagleboard.org, robertcnelson@gmail.com,
upstream@lists.phytec.de, francesco.dolcini@toradex.com,
leonardo.costa@toradex.com, matthias.schiffer@ew.tq-group.com,
stefano.r@variscite.com, eblanc@baylibre.com, msp@baylibre.com,
thomas.richard@bootlin.com, miquel.raynal@bootlin.com,
mwalle@kernel.org
Subject: Re: [PATCH] arm64: configs: defconfig: Convert TISCI to modules
Date: Fri, 27 Nov 2026 08:26:49 +0800 [thread overview]
Message-ID: <b8d6e03a-90a5-48bf-a8c2-4493c52a45d0@phytec.de> (raw)
In-Reply-To: <20261123125515.55ozls7bvral2ukz@residue>
On 11/23/26 8:55 PM, Nishanth Menon wrote:
> 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@ti.com>
>>>> ---
>>>>
>>>> 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@oss.qualcomm.com/
>>>> 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.
Thanks, I understand the Image size argument and I know most of the options. My point is more the workflow: testing a mainline defconfig kernel on K3 used to be just Image + dtb. Now we need extra userspace in an initramfs to load the modules, and the modules have to be repacked for every kernel build.
I will probably go via 'make image.fit' + ramdisk. Simons make_fit series had patches to put the built modules into the FIT ramdisk. Something like that would bring back most of the old simplicity.
>
>
> 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
prev parent reply other threads:[~2026-11-27 0:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-10 13:44 Nishanth Menon
2026-09-22 14:24 ` Nishanth Menon
2026-09-24 17:00 ` Thomas Richard
2026-10-13 15:37 ` Mark Brown
2026-11-20 14:42 ` Wadim Egorov
2026-11-20 15:28 ` Krzysztof Kozlowski
2026-11-23 12:55 ` Nishanth Menon
2026-11-27 0:26 ` Wadim Egorov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b8d6e03a-90a5-48bf-a8c2-4493c52a45d0@phytec.de \
--to=w.egorov@phytec.de \
--cc=alexander.sverdlin@siemens.com \
--cc=andersson@kernel.org \
--cc=ayush@beagleboard.org \
--cc=catalin.marinas@arm.com \
--cc=eblanc@baylibre.com \
--cc=francesco.dolcini@toradex.com \
--cc=geert+renesas@glider.be \
--cc=jan.kiszka@siemens.com \
--cc=krzk@kernel.org \
--cc=leonardo.costa@toradex.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthias.schiffer@ew.tq-group.com \
--cc=miquel.raynal@bootlin.com \
--cc=msp@baylibre.com \
--cc=mwalle@kernel.org \
--cc=nm@ti.com \
--cc=robertcnelson@gmail.com \
--cc=s-vadapalli@ti.com \
--cc=stefano.r@variscite.com \
--cc=thomas.richard@bootlin.com \
--cc=upstream@lists.phytec.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®