{"id":2225976,"url":"http://patchwork.ozlabs.org/api/patches/2225976/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260421231126.597390-2-sjg@chromium.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260421231126.597390-2-sjg@chromium.org>","list_archive_url":null,"date":"2026-04-21T23:11:16","name":"[1/3] binman: Flesh out the p11-kit bintool docstring","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"9eb98a4c7f4ba5a7f5a46b7d6082267f407fcdc7","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/?format=json","name":"Simon Glass","email":"sjg@chromium.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260421231126.597390-2-sjg@chromium.org/mbox/","series":[{"id":500902,"url":"http://patchwork.ozlabs.org/api/series/500902/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500902","date":"2026-04-21T23:11:15","name":"binman: Tidy up some missing bintool docs","version":1,"mbox":"http://patchwork.ozlabs.org/series/500902/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2225976/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2225976/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=IvzfRCvS;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"IvzfRCvS\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org","phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0dQq3CTnz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 09:11:47 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 58C9C83E76;\n\tWed, 22 Apr 2026 01:11:41 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id F0A7983AC5; Wed, 22 Apr 2026 01:11:39 +0200 (CEST)","from mail-qt1-x829.google.com (mail-qt1-x829.google.com\n [IPv6:2607:f8b0:4864:20::829])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 8ABBB83AC5\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 01:11:37 +0200 (CEST)","by mail-qt1-x829.google.com with SMTP id\n d75a77b69052e-50e5dbd8e0eso24857541cf.1\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 16:11:37 -0700 (PDT)","from chromium.org ([174.51.25.52]) by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50e6123c3d7sm56551551cf.12.2026.04.21.16.11.34\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 21 Apr 2026 16:11:35 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1776813096; x=1777417896; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=Mg3kfTIBvC70s4mUbcRwcpiYoqhrTjkB1nj1mEeuIb4=;\n b=IvzfRCvSjGriTbixPfx25KKb+wJrc8uGx6ZapCxZSyoMqrBpRMsOdTnCKpCPlj2m19\n vAStNf0zfJ8gZGbyc6SMAOnUT+c5w7lKEe+JSMFUHBWNg/yVpRKPy202zqbxlCdvi0BX\n c4OddjI+bvAiuZWbehwPUzv/4sgYVj8Tjo0jw=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776813096; x=1777417896;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=Mg3kfTIBvC70s4mUbcRwcpiYoqhrTjkB1nj1mEeuIb4=;\n b=GYsFzsFjq16Vm2N8X56RY28Yr+Zr/5v2XRQi6VDvFG3B8zWhZHG/8eXVXaB0oQPQPK\n 41EtHaV4rr+/ry9US9UovUOC2G/iaWdjXYxZRFCM7J6jsSwGYtxMYt8ewALoiSzBVGJw\n CMUCJGtqQM01XMjVbKeQT1aJOvEaxDzJU5zpl6IulYFgk/ng/xqBPpJgLkpLU0BNwewO\n 8WmyZu1wIwL4DbuZhOhmtOfJSrUI3T2gg5bBKuHnL9gx/ifKEsJAr8hYIUW/iDEOUlZ3\n /7ohxWxtnmkrSSZQySMHQG0M3x75kxeSMf1xxmRcQpV01tTun0yEYNcIX1yEMLdyNchJ\n LNVw==","X-Gm-Message-State":"AOJu0YzTMi7RdyKsnlgPVXT64Ll4+TpyX32u8e0nAOLKSoyPLEA/2y8A\n ou3wSXNinkwVmGi+6jTWPtWrsibIsKKMnf9v30X+8ZAQccNfBSfybB5RcavIliMvCxtwiYqT1aI\n pVqbAsg==","X-Gm-Gg":"AeBDiesh8XoTkh/przGWXfFqA69xB89yJ/dVTwriUtCsN895/MVTRAdNHSlZ1KEvSsa\n epcj7JULtLxd8QYdf6wFk4psJqD8TavSosJ1zsvcqa+6917oqWueuN61kmSLioN8m2kpR2TcmZx\n y5mciZ7M9rkRPnorsQvG/ZoXdhv99EgCCNCr/JyvW0wE6yqfC7xDuNBqcqpgjXi4QB7yCNEiv0Z\n J/94+3ENGWwcT8Hn0u1v9ldDdIxqjq6pm5CsmlP6fgYaghu104vJ76CWTRzusd2YxNFXXxyA/y+\n 3sA4cuGPfN6+w9tPmOcrx5Yg1siKUP1VV18WePClIeYsk3hi5OYt7MUS2QLLiNnI7zzM7mALIUQ\n aqh28JB1jh5xG2akw0u+xNRHqDEeNz20mjZoZvJb9DbdCgB09v1ZviMFKL+TcWDli+Aa4wrqqZ6\n WiwU3EQ1eg8qrEWhWtVyievo9bYEx1","X-Received":"by 2002:ac8:5788:0:b0:509:68c:634d with SMTP id\n d75a77b69052e-50e3682797bmr312660911cf.10.1776813095808;\n Tue, 21 Apr 2026 16:11:35 -0700 (PDT)","From":"Simon Glass <sjg@chromium.org>","To":"u-boot@lists.denx.de","Cc":"Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>,\n Alper Nebi Yasak <alpernebiyasak@gmail.com>,\n Neha Malcom Francis <n-francis@ti.com>, Peng Fan <peng.fan@nxp.com>,\n Philippe Reynes <philippe.reynes@softathome.com>,\n Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>,\n Tom Rini <trini@konsulko.com>, Wojciech Dubowik <Wojciech.Dubowik@mt.com>","Subject":"[PATCH 1/3] binman: Flesh out the p11-kit bintool docstring","Date":"Tue, 21 Apr 2026 17:11:16 -0600","Message-ID":"<20260421231126.597390-2-sjg@chromium.org>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20260421231126.597390-1-sjg@chromium.org>","References":"<20260421231126.597390-1-sjg@chromium.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"The Sphinx-generated bintools.rst currently produces an empty section\nfor this bintool, since its class docstring is only a single line and\nso the body under the heading is blank.\n\nExtend the docstring with a short description of what p11-kit does and\nhow binman uses it, so the generated documentation has useful content.\n\nSuggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\n tools/binman/btool/p11_kit.py | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)","diff":"diff --git a/tools/binman/btool/p11_kit.py b/tools/binman/btool/p11_kit.py\nindex 9d8d5d848b4..bb9e7304c54 100644\n--- a/tools/binman/btool/p11_kit.py\n+++ b/tools/binman/btool/p11_kit.py\n@@ -7,7 +7,15 @@ from binman import bintool\n \n \n class Bintoolp11_kit(bintool.Bintool):\n-    \"\"\"p11-kit -- support tool for pkcs#11 libraries\"\"\"\n+    \"\"\"p11-kit -- support tool for pkcs#11 libraries\n+\n+    This bintool supports running `p11-kit` to discover and configure the\n+    PKCS#11 modules installed on the system. Binman uses it to look up the\n+    module path for a given token provider (for example SoftHSMv2) when signing\n+    FIT images or capsules with a PKCS#11 key.\n+\n+    See https://p11-glue.github.io/p11-glue/p11-kit.html for more details.\n+    \"\"\"\n     def __init__(self, name):\n         super().__init__('p11-kit',\n                          'Pkcs11 library modules tool',\n","prefixes":["1/3"]}