Skip to content

x86: AMX enabling example with new constants

Chang S. Bae linux-doc linux-man lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 2 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/arch_prctl: Add AMX feature numbers as ABI constantsarch/x86/include/uapi/asm/prctl.h+3 -00 replies
2/2Documentation/x86: Add the AMX enabling exampleDocumentation/x86/xstate.rst+55 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchThiago Macieira
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] x86: AMX enabling example with new constants

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/[email protected]/
[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

Signature · 1 line
2.17.1