
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:
"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 :
"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.