Documentation/x86: Add documentation for /proc/cpuinfo feature flags
authorKyung Min Park <kyung.min.park@intel.com>
Mon, 31 Aug 2020 18:35:00 +0000 (11:35 -0700)
committerBorislav Petkov <bp@suse.de>
Tue, 1 Sep 2020 09:07:15 +0000 (11:07 +0200)
commitea4e3bef4c94d5b5d8e790f37b48b7641172bcf5
tree87cd31b2b565d9741b6e44a6bdbc6f08160c4d46
parentc31feed8461fb8648075ba9b53d9e527d530972f
Documentation/x86: Add documentation for /proc/cpuinfo feature flags

/proc/cpuinfo shows features which the kernel supports. Some of these
flags are derived from CPUID, and others are derived from other sources,
including some that are entirely software-based. Currently, there is
not any documentation in the kernel about how /proc/cpuinfo flags are
generated and what it means when they are missing.

Add documentation for /proc/cpuinfo feature flags enumeration.
Document how and when x86 feature flags are used. Also discuss what
their presence or absence mean for the kernel and users.

Suggested-by: Dave Hansen <dave.hansen@intel.com>
Co-developed-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Kyung Min Park <kyung.min.park@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20200831183500.15481-1-kyung.min.park@intel.com
Documentation/x86/cpuinfo.rst [new file with mode: 0644]
Documentation/x86/index.rst