Linux 7.1-rc6 To Hide The Documentation On "clearcpuid" Feature - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
Linux 7.1-rc6 To Hide The Documentation On "clearcpuid" Feature
Written by Michael Larabel in Linux Kernel on 31 May 2026 at 06:29 AM EDT. 5 Comments
The clearcpuid= kernel parameter can be used to disable specific CPUID features for the kernel by specifying the targeted bit numbers of the feature(s) to disable or their flags from the /proc/cpuinfo output. The clearcpuid parameter, for example, has been useful for carrying out AVX-512 comparison benchmarks for apps that check for the presence of the AVX-512 extensions via /proc/cpuinfo. But moving forward the documentation on clearcpuid is being removed to discourage its use.
The main problem with clearcpuid is that it only disables the CPUID feature for the kernel and that user-space applications calling CPUID directly or attempting to use the feature without any checks can still make use of any CPUID feature cleared by clearcpuid=. It's also possible to get the Linux kernel to malfunction if trying to disable some critical CPU features.
So to avoid situations of users not taking into account these complications with clearcpuid=, the kernel documentation on it is being removed and replaced with:<br>"DO NOT USE this cmdline option in production - it is meant to be used only as a quick'n'dirty debugging aid to rule out a feature-enabling code is the culprit. If you use it, it'll taint the kernel."
Borislav Petkov of AMD further added in the documentation patch:<br>"Remove its documentation so that it doesn't get used in production and people get silly ideas. It is meant strictly for debugging; and if a chicken bit for properly disabling a feature is warranted, then that would need proper enablement."
That documentation removal is slated to happen today in Linux Git with this pull request ahead of the Linux 7.1-rc6 tagging. The clearcpuid= functionality is sticking around, you just won't find it documented anymore.
5 Comments
Tweet
Various USB Quirks Merged Ahead Of Linux 7.1-rc6<br>Linux Developers Looking At Retiring The x32 ABI<br>Linux 7.1-rc5 Released With Fixes Ramping Up From AI Coding Agents<br>Linux 7.1 Merges AMD Dynamic EPP Fixes, Intel Bartlett Lake Scaling Fix<br>The Very Exciting Cache Aware Scheduling Looks Like It Will Land For Linux 7.2<br>Greg KH Calls For More Rust Linux Developers
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.
FreeBSD Foundation Executive Director Tries Daily Driving FreeBSD On Laptop<br>Intel Introducing USB4STREAM Protocol For Linux - Opening Up Some Nifty Uses For USB4<br>AV2 Codec Looks Like It Will Be Officially Released Next Week<br>California's Age Verification Law May End Up Exempting Most Linux Distributions<br>GNOME Commander 2.0 Released Following Rewrite In Rust & GTK4<br>KernelScript: A Programming Language For Kernel Customization & App Optimizations<br>Linux Mint Making Improvements To Its File Manager, Theme & Dialogs<br>Linux Developers Looking At Retiring The x32 ABI
KDE Linux Prunes Its Insecure & Unused Software
Linux 7.1-rc6 To Support The ASUS ROG RAIKIRI II & Nova 2 Lite Controllers
Linux Might Finally Disable The Microsoft RNDIS Protocol Drivers In 2026
Wine-Staging 11.10 Fixes 14 Year Old Bug, Also Fixes Issue Of Some Games Being Too Dark
Servo 0.2 Released With Revamped Android Browser UI
Zrythm 2.0 Alpha Released For Rewriting The Digital Audio Workstation In C++ & Qt/QML
Linux 7.1-rc6 To Hide The Documentation On "clearcpuid" Feature
AV2 v1.0 Specification Released For Next-Gen Video Coding
Various USB Quirks Merged Ahead Of Linux 7.1-rc6
Rust Coreutils 0.9 Released With Additional Security Hardening, Zero-Copy I/O
NixOS 26.05 Released With 20,442 New Packages, Stage 1 Now Based On systemd By Default
G7 Agrees On Shared Language Around Open-Source AI, Open Weights AI
GNOME Circle Takes Stand Against AI Slop, Resources App Makes It Into GNOME Incubator
Plasma 6.6, 6.7 & 6.8 See Plenty Of Bug Fixing This Week
Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.
CachyOS Delivers Lead Over Arch Linux, Pop!_OS & Ubuntu On System76 Thelio Major
Intel Arc Pro B70 BMG-G31 Linux Gaming...