Removing Old 32-Bit ARM Platforms Could Cut About 247,000 Lines From Linux

Arnd Bergmann's branch drops the drivers left orphaned by ARM platforms deprecated in Linux 7.3. The removals will likely land in Linux 7.5.
Removing Old 32-Bit ARM Platforms Could Cut About 247,000 Lines From Linux
Removing Old 32-Bit ARM Platforms Could Cut About 247,000 Lines From Linux

Arnd Bergmann’s work to remove obsolete 32-bit ARM platforms from Linux could cut roughly a quarter of a million lines from the kernel once the drivers that only those platforms use go too, Phoronix reported.

The platform code itself accounts for about 55,000 lines. Bergmann’s board-remove-7.3 Git branch goes further and clears out the associated drivers: at the time of Phoronix’s report, about 300 patches deleted some 247,000 lines and added about 5,000. For scale, the kernel source tree is close to 41 million lines.

What’s going

The platforms on the list are SA1100, Footbridge, RISCPC, Orion, Dove, MV78xx0, OMAP24xx, i.MX31, i.MX targets without an MMU, LPC18xx, STM32f4/f7/h7 MCUs, Versatile MPS2, AT91 SAMV7, Axxia and legacy PXA board files.

They were marked deprecated in Linux 7.3. In that pull request, Bergmann said the code “does have the tendency of getting in the way of cleanups and new features but has close to zero users.” The deprecations covered 22 of the remaining 28 legacy board files that predate devicetree, mostly for old Intel and Marvell chips; the other six, for TI OMAP1 and Samsung S3C64xx chips, stay because they still have known users. Support for Cortex-M3/M4/M7 and ARM1136r0 cores and the 25 machines built on them was also deprecated, along with be8, be32, OABI and iWMMXt userspace binaries, which Bergmann said are increasingly hard to support with modern toolchains.

Timing

Nothing was removed in 7.3, so remaining users keep the 7.3 LTS kernel for a while. Bergmann has said the removals could land in Linux 7.4 but he leans toward 7.5, to keep dependencies simple, move past this year’s LTS release and give any lingering users more time to make their case, Phoronix reported earlier.

The branch is public for anyone who wants to check which drivers are on the way out.

Subscribe for Updates

DevNews Newsletter

The DevNews Email Newsletter is essential for software developers, web developers, programmers, and tech decision-makers. Perfect for professionals driving innovation and building the future of tech.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us