RISC-V With Linux 6.0 Improves Svpbmt, More Useful Default Kernel Configuration

Written by Michael Larabel in RISC-V on 7 August 2022 at 05:53 AM EDT. Add A Comment
RISC-V --
Each new kernel cycle there continues to be more maturity to the RISC-V processor architecture code. With Linux 6.0 there are a few new features wired up as well as bug fixes / clean-ups.

The RISC-V code in Linux 6.0 improves its Svpbmt support, which is the RISC-V extension for Page-Based Memory Types. Svpbmt has been worked on for the Linux kernel since earlier in the year with this extension defining behavior around non-cacheable pages, I/O memory pages, etc. Svpbmt was added in Linux 5.19 and now further improved upon for the 6.0 cycle.

The Linux 6.0 RISC-V changes also include a more useful default configuration "defconfig". The Linux 6.0 RISC-V defconfig now enables enough features out-of-the-box that Docker can be run without issues. Additionally, more of the kernel features needed for Ubuntu's Snaps are also present. That earlier article has more details on the particular kernel features now flipped on for the RISC-V defconfig.

Other RISC-V patches for Linux 6.0 include CPU topology bindings for a few more systems, support for systems with 64-bit hart IDs, and other clean-ups and improvements.

All the details on the RISC-V code churn for Linux 6.0 via this pull request that has already landed in master.

Unrelated to RISC-V for the Linux kernel, but in other RISC-V news sitting in my queue, Mold 1.4 released this week. Mold is the high performance linker alternative to GNU Gold and LLVM's LLD while with the new Mold 1.4 has added RISC-V 32-bit support.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week