Re: [RFC PATCH v2] tools/x86: add kcpuid tool to show raw CPU features

From: Borislav Petkov
Date: Fri Sep 25 2020 - 13:27:42 EST


On Tue, Sep 22, 2020 at 12:38:30PM -0700, Dave Hansen wrote:
> or something. It also needs a "-f" argument to override this default
> location.

Yah, the -f thing is almost mandatory. I can imagine simply downloading
the latest cpuid.leafs or so and then running kcpuid on it. Can't get
any better than this I'd say.

Which reminds me: we probably should aim at not changing that text
file's format too often and design it to contain the required info
from the get-go so that we don't have uglies with old kcpuid not
understanding the new format or the other way around. That would be a
pain.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette