Thread (28 messages) 28 messages, 4 authors, 1d ago

Re: [PATCH 17/19] Documentation: ioctl: add CMH ioctl documentation and register 'J'

From: Randy Dunlap <hidden>
Date: 2026-06-25 18:29:19
Also in: linux-crypto, linux-devicetree, linux-doc, linux-kselftest, linux-riscv, lkml


On 6/25/26 10:33 AM, Saravanakrishnan Krishnamoorthy wrote:
From: Alex Ousherovitch <redacted>

Add Documentation/userspace-api/ioctl/cmh_mgmt.rst documenting the
ioctl commands on the /dev/cmh_mgmt misc device for the CRI
CryptoManager Hub (CMH) hardware crypto accelerator driver.  Covers
key management, KIC key derivation, PKE (RSA, ECDSA, ECDH, EdDSA),
PQC (ML-KEM, ML-DSA, SLH-DSA), SM2, EAC, and DRBG.

Register ioctl magic number 'J' (0x4A) in ioctl-number.rst.  The
driver uses ioctls 0x01-0x40.

Co-developed-by: Saravanakrishnan Krishnamoorthy <redacted>
Signed-off-by: Saravanakrishnan Krishnamoorthy <redacted>
Signed-off-by: Alex Ousherovitch <redacted>
Reviewed-by: Joel Wittenauer <redacted>
Reviewed-by: Thi Nguyen <redacted>
---
 .../userspace-api/ioctl/cmh_mgmt.rst          | 941 ++++++++++++++++++
 .../userspace-api/ioctl/ioctl-number.rst      |   1 +
 2 files changed, 942 insertions(+)
 create mode 100644 Documentation/userspace-api/ioctl/cmh_mgmt.rst
One docs build warning:

Documentation/userspace-api/ioctl/cmh_mgmt.rst: WARNING: document isn't included in any toctree [toc.not_included]


-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help