Re: [PATCH v3 2/2] x86/cpufeature: Add a debug print for unmet dependencies
From: Sohil Mehta
Date: Mon Dec 09 2024 - 14:30:39 EST
On 12/7/2024 1:11 PM, H. Peter Anvin wrote:
>
> Ok, I realize that the x86 maintainers **very legitimately** don't
> want more crap in /proc/cpuinfo, but perhaps we could include the
> strings for printing debug messages in cleartext? Add a bitmap for
> which entries should go into /proc/cpuinfo.
Could the cpuid-db project be helpful at some point in this regard? It
seems to have a name ("id") for each feature and a tracking of whether
each feature is exposed via cpuinfo and with what name.
> <bit20 len="1" id="cet_ibt" desc="CET indirect branch tracking">
> <linux feature="true" proc="true" altid="ibt" />
> </bit20>
Though I am not sure if it only tracks the hardware originating features
represented in cpuid or the linux defined features as well?