From patchwork Mon Nov 28 12:45:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 628982 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2912491pvb; Mon, 28 Nov 2022 04:45:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf7IM/tHyMy8DJK7q2z7gIWFeMy7qijtLNT+LVhkz0y4x5N9khheY9tvgG0dRvmlu277m2RO X-Received: by 2002:a92:cc10:0:b0:302:df08:8405 with SMTP id s16-20020a92cc10000000b00302df088405mr12610683ilp.70.1669639513543; Mon, 28 Nov 2022 04:45:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669639513; cv=none; d=google.com; s=arc-20160816; b=xYgD6LaYYupy8/6jvpBjd1e8QPiriakOwl+pYRD9d0N0rY4HG4kyS5vDcqDJhDG+7L NwRmpexVhUkzGaWnVZ97Nsg6tVSIAVXzhqGzwoprFY7Uhh/E8odeCL4SJReKNck2zfMy TCHaswPV3kUJa3pUwOJosYqBq1/zbtOtdy1iSH+8abisZkbomUAvgWv5jm1axUiYYmXK 3Yld7TFUQr72Tg7Y05H8H8N/3DRZmLwG+eIdEEr/cTCuGdaomJE5R51bA7cwienpWLKK O1VNTiZzAldWCw0HutA+XEDYNnlea+klIHMRnAs0qkkJinI5kbeo1UvyhLySYetdlPT+ A5MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=PBSoHk5sCXjps7iBV4aujoOtl8PktsNsUyxpHp+lbjY=; b=UnLyPaQdcQAmGigof+yUVGrGSuXL3qTEkO7BQTnl+MY4M59MLq0ZteJL48LMgbmMnG f9FIGs05LypIO6cquFyDS9UEkvlN2KTKOHd0/pvNb6JISBUl8XYlgb9HFIeTqVMkb/rj lxdHeE+DYcjOhqQkXxPNkoCFw+QaLXjdLaKGQC5zVtNJQOIXGREPPuCmfwMxi8/Dgrlk Rx1gPy7+fdJ3h9ViXr3hiznvoqJnHQV386xP9Ln+yzAlaTtLS3VHBufV+0y5MibZ04wP ZobuEy9F62Omzs6EzxGu45jc0g0vtLNLGhC8I9bIUfT/t4NaoWIqNpCbWVRajzbGbop8 mUBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lxRsDM4v; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id x4-20020a02ac84000000b00375ae62fb49si9972768jan.49.2022.11.28.04.45.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 04:45:13 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lxRsDM4v; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D07385253; Mon, 28 Nov 2022 13:45:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="lxRsDM4v"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 28A0F85258; Mon, 28 Nov 2022 13:45:07 +0100 (CET) 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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4408785231 for ; Mon, 28 Nov 2022 13:45:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masahisa.kojima@linaro.org Received: by mail-pj1-x1029.google.com with SMTP id a22-20020a17090a6d9600b0021896eb5554so13877602pjk.1 for ; Mon, 28 Nov 2022 04:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PBSoHk5sCXjps7iBV4aujoOtl8PktsNsUyxpHp+lbjY=; b=lxRsDM4vph1VnXVfwGjZhlAoeCkReELZcnqD4xMaEbcgJwJgtZ05PxHqymixHs/vY1 XN2cELwccIGfX25A68d8JRx5lu2lN4rwr8EJxdXdXvIJJFcmP166wyTDWIMEoWK1DP55 QCeO2vJAmG9Oc1tqrplYT1y1xSQ9tWjlUR/387+baHdc7jn56nEjxho2dVdBmMtHDIx6 o8GaEoT1qNEaATI+KK06p10yX084GvOx6zMcabx+kY7DSRKpYoiuv7pzazkwv9ojt+z2 FEd5kQJDAB2NaSNIlAl+GWS1fIzYzGUl2tPgyf9M9y7eyzOiDvTTZ1oKwispYjYdv3Y9 p5Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PBSoHk5sCXjps7iBV4aujoOtl8PktsNsUyxpHp+lbjY=; b=dXN45oUD/ex0LAPS+JaBjygNWiSjW3Zo36zz7Yy37CwwrYmLA6A01yTLmSyy/yAiSu pa0abFqz0j0DSdSjkjLmX0EghUuFR6XnN0bYTJOeJQGdBxqfx5ZZwTU3VvtEmUtq5YCb 9K26w3I+1DKARytNv+RXrF/e+KPtUMlVL6XCE9Fvdw+0yYp15qfD87//vg5evbrV93yb jMbCCfWWHITFbEmUSBqeI2Y8ia0/he1frv20hgCtlKNcLU82bnO21RKOPBPT2QVBVFZa W6aBwltGVGU3BUGX40pJQU1bzHoK3lb406FsZ5rzr2W+ag4GYsY8kr2kH3M4Tqii89g9 d94A== X-Gm-Message-State: ANoB5pn82RVfx/pp3xUuwW6O2ZP3weDqxYThKBJOKiYV1tGu4gY/MCOF YTGXkOjdTH/J+QfdygiVpP6K/Bn+Sdbnnw== X-Received: by 2002:a17:902:d34d:b0:188:64b7:e433 with SMTP id l13-20020a170902d34d00b0018864b7e433mr32458165plk.17.1669639500981; Mon, 28 Nov 2022 04:45:00 -0800 (PST) Received: from localhost.localdomain ([240d:1a:cf7:5800:82fa:5bff:fe4b:26b1]) by smtp.gmail.com with ESMTPSA id w27-20020a63475b000000b0047681fa88d1sm3925303pgk.53.2022.11.28.04.44.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 04:45:00 -0800 (PST) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Jerome Forissier , Masahisa Kojima Subject: [PATCH v2 0/5] miscellaneous fixes of eficonfig Date: Mon, 28 Nov 2022 21:45:04 +0900 Message-Id: <20221128124509.6939-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This series includes bugfix, refactoring and documentation updates. Masahisa Kojima (5): eficonfig: fix going one directory up issue eficonfig: use u16_strsize() to get u16 string buffer size efi_loader: utility function to check the variable name is "Boot####" eficonfig: use efi_get_next_variable_name_int() doc:eficonfig: add description for UEFI Secure Boot Configuration cmd/eficonfig.c | 146 +++++++++++++++++++++++++++++------- cmd/efidebug.c | 23 +----- doc/usage/cmd/eficonfig.rst | 22 ++++++ include/efi_loader.h | 2 + lib/efi_loader/efi_helper.c | 33 ++++++++ 5 files changed, 177 insertions(+), 49 deletions(-)