{"id":260174,"date":"2026-05-31T06:29:00","date_gmt":"2026-05-31T10:29:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/05\/31\/linux-7-1-rc6-to-hide-the-documentation-on-clearcpuid-feature\/"},"modified":"2026-05-31T06:45:12","modified_gmt":"2026-05-31T10:45:12","slug":"linux-7-1-rc6-to-hide-the-documentation-on-clearcpuid-feature","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/05\/31\/linux-7-1-rc6-to-hide-the-documentation-on-clearcpuid-feature\/","title":{"rendered":"Linux 7.1-rc6 To Hide The Documentation On &#8220;clearcpuid&#8221; Feature"},"content":{"rendered":"<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-7.1-Hide-Docs-clearcpuid\">Linux 7.1-rc6 To Hide The Documentation On &#8220;clearcpuid&#8221; Feature<\/a><\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-7.1-Hide-Docs-clearcpuid\">https:\/\/www.phoronix.com\/news\/Linux-7.1-Hide-Docs-clearcpuid<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-05-31 06:29:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.phoronix.com\">www.phoronix.com<\/a><\/p>\n<p>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.<\/p>\n<p>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&#8217;s also possible to get the Linux kernel to malfunction if trying to disable some critical CPU features.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=2026&#038;image=clearcpuid\" alt=\"CPUs\"\/><\/p>\n<p>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 \/>\n<br \/>&#8220;DO NOT USE this cmdline option in production &#8211; it is meant to be used only as a quick&#8217;n&#8217;dirty debugging aid to rule out a feature-enabling code is the culprit. If you use it, it&#8217;ll taint the kernel.&#8221;<br \/>\n<br \/>Borislav Petkov of AMD further added in the documentation patch:<br \/>\n<br \/>&#8220;Remove its documentation so that it doesn&#8217;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.&#8221;<br \/>\n<br \/>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&#8217;t find it documented anymore.<br \/>\n<br \/><a href=\"https:\/\/www.phoronix.com\/news\/Linux-7.1-Hide-Docs-clearcpuid\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux 7.1-rc6 To Hide The Documentation On &#8220;clearcpuid&#8221; Feature https:\/\/www.phoronix.com\/news\/Linux-7.1-Hide-Docs-clearcpuid Publish Date: 2026-05-31 06:29:00 Source&#8230;<\/p>\n","protected":false},"author":1,"featured_media":260175,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=2026&image=clearcpuid","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-260174","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/260174"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=260174"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/260174\/revisions"}],"predecessor-version":[{"id":260176,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/260174\/revisions\/260176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/260175"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=260174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=260174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=260174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}