IBM s390 Is The Latest Architecture Seeing Rust Linux Kernel Support

IBM s390 Is The Latest Architecture Seeing Rust Linux Kernel Support

By @michaellarabel
Publication Date: 2026-05-12 20:55:00

An IBM engineer posted the first set of patches enabling the Rust programming language support for the Linux kernel to be built on the s390 architecture.

Following x86_64, ARM, ARM64, LoongArch and RISC-V, IBM s390 is slated to be the next CPU architecture seeing Rust support within the Linux kernel.

IBM engineer Jan Polensky explained with the patch series:

“Rust support on s390 requires a small set of architecture-specific pieces before the generic Rust kernel infrastructure can be used.

The series wires up s390 as a Rust-capable 64-bit architecture, adds the missing assembly interfaces needed by Rust for WARN/BUG reporting and for static branches, and adjusts bindgen parameters to avoid repr layout conflicts caused by packed and aligned s390 structures.

s390 currently requires a nightly rustc due to -Zpacked-stack, and the minimum tool version gating is adjusted accordingly.”

This patch series just affecting a few dozen lines of code across four patches is all that’s needed…