Re: [PATCH v4 1/6] x86: KVM: Advertise CMPccXADD CPUID to user space

From: Borislav Petkov
Date: Mon Nov 21 2022 - 10:38:38 EST


On Mon, Nov 21, 2022 at 10:46:21PM +0800, Jiaxi Chen wrote:
> Features which has been enabled in kernel usually should be added to
> /proc/cpuinfo.

No, pls read this first: Documentation/x86/cpuinfo.rst

If something's not clear, we will extend it so that it is.

/proc/cpuinfo - a user ABI - is not a dumping ground for CPUID bits.

--
Regards/Gruss,
Boris.

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