[PATCH v5 RESEND 0/4] Documentation/x86: Improve the AMX documentation

From: Chang S. Bae
Date: Fri Jan 20 2023 - 19:31:22 EST


Hi,

This is a resend of the previous posting [1]. They are rebased on the
current tip master.

Looks like the below changes are still helpful for users as I had to
reference the pending series to some folks:

(1) The AMX-enabling code example is expected to clarify the steps.
(2) Along with that, a couple of ABI constants may be useful for users.
(3) Also, describing the motivation will provide the context of this.
(4) Lastly, the description of new guest options is added as missing.

If they are acceptable, I will follow up on the arch_prctl(2) documentation
[2] to update based on this.

These patches can be also found in this repository:
git://github.com/intel/amx-linux.git amx-doc

And the compiled preview is available here:
https://htmlpreview.github.io/?https://github.com/intel/amx-linux/doc-web/x86/xstate.html

Thanks,
Chang

[1] https://lore.kernel.org/lkml/20220922195810.23248-1-chang.seok.bae@xxxxxxxxx/
[2] arch_prctl(2): https://man7.org/linux/man-pages/man2/arch_prctl.2.html

Chang S. Bae (4):
Documentation/x86: Explain the purpose for dynamic features
x86/arch_prctl: Add AMX feature numbers as ABI constants
Documentation/x86: Add the AMX enabling example
Documentation/x86: Explain the state component permission for guests

Documentation/x86/xstate.rst | 100 ++++++++++++++++++++++++++++++
arch/x86/include/uapi/asm/prctl.h | 3 +
2 files changed, 103 insertions(+)


base-commit: 1642cea9d9ab82b596857eea14bf6e04806a6c5a
--
2.17.1