The kernel announcements introduce the first release candidate, i.e. Linux Kernel 5.18 RC1, for testing by Linus Torvalds. We wrap up the major features of this kernel in this post.
Following the Linux Kernel 5.17 release last month, Linus Torvalds announced the first release candidate availability of Linux Kernel 5.18. With this announcement, the official merge window of Linux Kernel 5.18 is now closed, which means no new features are to be accepted unless it’s critical.
Looking at the features of Linux Kernel 5.18 looks like regular updates to support newer processors, GPUs, and SoCs from major manufacturers. Also, we can see some performance improvements and obsolete code removal for drivers.
But why does the kernel needs patches for Tesla’s chip? Well, let’s dig in to find out. One exciting addition is the support for Tesla’s Full-scale Driving SoC in the mainline kernel, whose work is done mainly by Samsung and others.
Without further introduction, let’s take a look at the new features.
Table of Contents
Linux Kernel 5.18 RC1 – New Features
Processors (CPU, CPU and SoC)
Most of the work on Intel’s Alder Lake N SoCs lands in this Kernel version. The upcoming low-power and lower-end devices [such as Chromebooks] featuring Alder Lake N SoC should work efficiently.
A good bunch of RISC-V architecture support (open-source implementation of ARM] lands. Significant changes include:
- Improved PolarFire SoC support, optimized MEMMOVE code, support for Restartable Sequences.
- CPU Idle support using the newer SBI (Supervisor Binary Interface) extension [contributed by Western Digital]
- Support for the CURRENT_STACK_POINTER kernel option for extra stack debugging around the hardened user-copy code.
- RISC-V’s default configuration files now opt for “CONFIG_PROFILING” enabled by default.
Other media work for this new kernel includes the Atmel microchip csi2dc driver, new sensor drivers, Mediatek MT8192 support in the MTK-VCodec driver, and other changes.
NVIDIA Tegra Video Decode Driver (Tegra-VDE) is now available in kernel 5.18.
AMD added some sound driver code for its upcoming series of platforms, such as Acp 3.0 (Audio Co-Processor), ACP PCI/PDM and Renoir.
One interesting change is the support for Tesla’s full self-driving SoC (FSD) in this kernel. But you might ask why? Why does the Linux kernel need to maintain Tesla’s chip support? Because Tesla and Samsung both have some benchmark of development environment consisting of Linux, they might need to do testing and work for their chip. And hence this patch also reduces maintainability from their standpoint as it always remains build-able. It opens sources of some of their patches, which is good for the community as a whole.
Storage and Virtualizations
The KVM for Linux on 64-bit architecture adds improvements of Microsoft Hyper-V, Intel IPI (initial support), and AMD AVIC supports. With this change, AMD can now support up to 511 virtual CPUs in the Linux systems.
Another interesting change on exFAT introduces support for paths with trailing dots. It was stripped out earlier by exFAT in Linux.
Linux 5.18 no longer clears VolumeDirty in writeback, and essential change to avoid shortening the life of the storage device.
Several improvements to the random/RNG code for the kernel are introduced.
Moreover, this kernel release adds the initial Apple NVMe open-source driver for Linux systems, a new driver altogether. The reason is Apple’s design of NVMe in its M1 Macs, which is not connected to PCIe bus for data transfer, and also it runs a proprietary RTOS.
EXT4 file-system sees bug fixes and improvements on ordered data mode improving commit latency.
EROFS Read-Only Linux sees some slight improvement on the meta buffer operations.
This kernel release exposes the PECI interface between the CPU and baseboard management controllers (BMCs) and other platform management devices on Intel server platforms.
Also, the ReiserFS file system is deprecated from now on, starting with this kernel release. The decision is taken on the consideration of no-one is using it anymore.
Input/Output improvements and Other updates
Alibaba requested SM3 (part of the Chinese Commercial Cryptography Suite) hash algorithm finally merged in this version. And it expects a 38% increase in performance with this AVX code on a Skylake system using this algorithm.
The MT6779 keypad found in Mediatek T6779 and other SoCs has a new driver in this kernel release.
And finally, the Imagis touchscreen driver adds catering to the IST3038C touchscreen chips.
Linux Kernel 5.18 Download
If you want to test and try this release candidate, download the release tarball here. Or refer below for a direct link to tar and diffs.
There will be multiple kernel iterations until the final release, expected around May 2022.