From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A59CAC433EF for ; Tue, 25 Jan 2022 11:31:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0532483106; Tue, 25 Jan 2022 12:31:30 +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="XQEvOxqL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 82B4283049; Tue, 25 Jan 2022 12:31:28 +0100 (CET) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 C4936832CD for ; Tue, 25 Jan 2022 12:31:25 +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=masami.hiramatsu@linaro.org Received: by mail-pj1-x102d.google.com with SMTP id o11so2491900pjf.0 for ; Tue, 25 Jan 2022 03:31:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=GwN46lg8VhOh++yR02abgWYkLYYKIZOZbzGvSQunilU=; b=XQEvOxqLmVqBt5JvwCcQTEZQ2V2ZYoocpH8vDk3y62LMFnZh8IUu/JjDH2ZJVm2wve rNYqBbuaIfebeI0H0KWZrFc6kOAaC/4FsGL2b/DSxhznwp9lrpRp+llp2ndoF+6rbUJu Xu2XADKXUbXbbfLVFOtlm4lf2d8pP/6+XKf+0mlfkR7ztxfreHmpJDgTHVg+iOIntThn +aTg+hy0S1KbI2vW7iZBgpOW5iBC4woAzldxO5OqDUaB5RthOseltm06oQ/bpw6RccPs uUKqf2/X9UUy6r063iD9dMkT2nWAWK+xBy15uKpYTJ9ZDj/hMRPBcJdFVET0cZg3d7UU SMxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=GwN46lg8VhOh++yR02abgWYkLYYKIZOZbzGvSQunilU=; b=bs2cQNjWnu8mJXJpjEJ59SPIDEIw8Ms+4rdD17E3Il2JpRw7BhGcmMDy9hjgJDPk4l b9UaE8fpH7qX4nTW90yY6S5FLWsOge7SgQLIvsgm65ZhlgtvZeg6ISRQFdQyAnfw8up1 A3Is7bFqFPnxxQ/kGg/Kx0nGMIUUPfHzO+ONwqRVvotV4U2/5BI46dGUMYWr/JEry9Yv ezyj9Cbo4T04zzCtqg4/QKx0gFeAA1PJ4BAWrlbiWPPiv+x5SN3F1V61evyUn5awbCah kyRNpODBVFbng7FYzdb7wOxxR3DLjmW/HiUMQW6ZfkFmEy5VtGfy5EocHlUW1dJxH755 xADw== X-Gm-Message-State: AOAM530cURI5mEOQiDXPpDiNXJBLtSUdaaOG5UcsmuvQlYvt/UqBrhSj 0yZLJyR5oEA4RahBd8ASmmBLU+MWZakTvQ== X-Google-Smtp-Source: ABdhPJx50LKSPGwIa3NeinF4pAVB86ySO3WgCxaHkQeWiEZIYev/YV4DQjC19lwEtr8hSuf4CU9sCg== X-Received: by 2002:a17:90a:c301:: with SMTP id g1mr3046718pjt.132.1643110283922; Tue, 25 Jan 2022 03:31:23 -0800 (PST) Received: from localhost.localdomain (113x37x226x201.ap113.ftth.ucom.ne.jp. [113.37.226.201]) by smtp.gmail.com with ESMTPSA id d9sm5714853pfl.69.2022.01.25.03.31.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 03:31:23 -0800 (PST) From: Masami Hiramatsu To: u-boot@lists.denx.de Cc: Masami Hiramatsu , Patrick Delaunay , Patrice Chotard , Heinrich Schuchardt , Alexander Graf , AKASHI Takahiro , Simon Glass , Bin Meng , Ilias Apalodimas , Jose Marinho , Grant Likely , Tom Rini , Etienne Carriere , Sughosh Ganu , Paul Liu Subject: [PATCH 0/2] EFI: Add CAPSULE_FLAG_INITIATE_RESET support Date: Tue, 25 Jan 2022 20:31:19 +0900 Message-Id: <164311027891.175897.14232281505893559986.stgit@localhost> X-Mailer: git-send-email 2.25.1 User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean Hi, This is the patchset for adding CAPSULE_FLAG_INITIATE_RESET support to EFU capsule support, according to Takahiro's comment. The first patch is the core patch to add supporting the CAPSULE_FLAG_INITIATE_RESET. The system reset soon after applying the capsule file which has this flag. The rest of capsule files on disk will be applied after reboot. The second one adding "--flags reset" option to mkeficapsule tool. This might better be rebased on top of Takahiro's work, but in this version I made this series on top of the latest master branch. Thank you, --- Masami Hiramatsu (2): EFI: Support CAPSULE_FLAGS_INITIATE_RESET for capsule update mkeficapsule: Support "--flags reset" option lib/efi_loader/efi_capsule.c | 13 +++++++++++++ tools/mkeficapsule.c | 26 ++++++++++++++++++++++---- 2 files changed, 35 insertions(+), 4 deletions(-) -- Masami Hiramatsu