[PATCH v3 0/2] x86: AMX enabling example with new constants
From: Chang S. Bae
Date: Mon Jul 11 2022 - 13:23:13 EST
Hi all,
Here are the changes from the last version [1]:
* Add AMX feature numbers as ABI constants (Tony Luck).
* Revise sentences in the documentation (Bagas Sanjaya).
* Adjust the code example.
Thank you Tony and Bagas for the feedback.
=== Cover Letter ===
With the AMX support in the mainline, recently I heard some folks had a
hard time understanding the AMX enabling process. A code example is
expected to clarify the steps. Along with that, add a couple of ABI
constants useful for the feature enabling.
The arch_prctl(2) manual page [2] is missing these new options. Perhaps,
the man-page update follows up along with this.
These changes can be found in the repo:
git://github.com/intel/amx-linux.git 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/20220629224235.20589-1-chang.seok.bae@xxxxxxxxx/
[2] arch_prctl(2): https://man7.org/linux/man-pages/man2/arch_prctl.2.html
Chang S. Bae (2):
x86/arch_prctl: Add AMX feature numbers as ABI constants
Documentation/x86: Add the AMX enabling example
Documentation/x86/xstate.rst | 55 +++++++++++++++++++++++++++++++
arch/x86/include/uapi/asm/prctl.h | 3 ++
2 files changed, 58 insertions(+)
base-commit: 32346491ddf24599decca06190ebca03ff9de7f8
--
2.17.1