Re: [PATCH 17/19] Documentation: ioctl: add CMH ioctl documentation and register 'J'
From: Krishnamoorthy, Saravanakrishnan <hidden>
Date: 2026-06-25 21:21:53
Also in:
linux-crypto, linux-devicetree, linux-doc, linux-kselftest, linux-riscv, lkml
Thanks for catching this, Randy. You're right. cmh_mgmt.rst isn't pulled into any toctree. We will fix it in v2 by adding cmh_mgmt to the toctree in Documentation/userspace-api/ioctl/index.rst (alongside cdrom/hdio). Krishnan ________________________________________ From: Randy Dunlap <redacted> Sent: Thursday, June 25, 2026 11:29 AM To: Krishnamoorthy, Saravanakrishnan; Albert Ou; Ousherovitch, Alex; Conor Dooley; David S. Miller; Herbert Xu; Jonathan Corbet; Krzysztof Kozlowski; Palmer Dabbelt; Paul Walmsley; Rob Herring; Shuah Khan Cc: Alexandre Ghiti; devicetree@vger.kernel.org; Wittenauer, Joel; linux-api@vger.kernel.org; linux-crypto@vger.kernel.org; linux-doc@vger.kernel.org; linux-kernel@vger.kernel.org; linux-kselftest@vger.kernel.org; linux-riscv@lists.infradead.org; Shuah Khan; SIPSupport; Nguyen, Thi Subject: Re: [PATCH 17/19] Documentation: ioctl: add CMH ioctl documentation and register 'J' [Some people who received this message don't often get email from rdunlap@infradead.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Caution: < External Email > 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