From patchwork Thu Jun 15 08:03:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 693003 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp395611wru; Thu, 15 Jun 2023 01:05:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KcJU/Pbz/IA7aNyMl10jAAPp7aJL0/YGsnzu70BvGUuTzLGoTA7xAd862uhXZJeUM0fo2 X-Received: by 2002:a05:6a21:1589:b0:10c:67c9:e5ea with SMTP id nr9-20020a056a21158900b0010c67c9e5eamr3222546pzb.31.1686816304834; Thu, 15 Jun 2023 01:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686816304; cv=none; d=google.com; s=arc-20160816; b=xPPquj7mkZ2f7Z/RSYweWbEaw2L5xczwV02FHwwclh9Y8SnxgadrRNvjzD2MLe3x4S w//4R6Uw0927uhIz5rJR4iDPkdtDWffdYinApZdxnZ27fU+sRe7Fiml7bu1SC1fnbQs/ 7a3kUDV787OPK9sAF0xC6Yg33a9g/pcBuKRrj8A6lqSF8v1Ka4uGPwt0qwiagEXvy92Y SUZxVs5MwCDpSO3VX8E9R3diMpD2BpefqhwV6RR0/pdZSjzdigvvYc76fNBeBgdOdtaV 7H+tXI2deXyUmq/UmSde9WPzcSTjogcmuSisE/a/GZv6Fwdby3zAQvYStp1k4jkvHJoS xuBQ== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=QdkzzSYbGhJqm2YfkdcwUlok4/aoBWnzSCXwZgVUNv0=; b=MCrJWPj+pac+ce0VIh+R/m+iyNxsNF6xYxT7hFKMiDIXgA3VTrrxUxvd5jFW/XRb6R ti1hnRDhKmRCHKSF5/4vgXZ7+CWpNdhudTdAjxOY5joFy/i0WA1o7IY5spZPzK3JOwSH 0nTnNiqT3+gae/fbxTB+XTixQ/zr0MHL1sxv1MiIFn+UebmOVGqu8DlpXf52ZO79oLUK SMyamfRtmr4M4B7t6FZgBP1vnnM6zEsZTYC8ffop4MWcVhtk23ih/OlBVBS69gaG7At2 LcaV2h+iuNlcIPJRltjYIXYXPIwyVcP33+1vIALa1idm86s+1+islFbGt09XbWjvb7gU INVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w3tY3hZd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id k189-20020a633dc6000000b0053f280bacc6si12176722pga.166.2023.06.15.01.05.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 01:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w3tY3hZd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 2956F8620F; Thu, 15 Jun 2023 10:04:56 +0200 (CEST) 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="w3tY3hZd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4CDC38621C; Thu, 15 Jun 2023 10:04:55 +0200 (CEST) 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (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 9DCB5861FC for ; Thu, 15 Jun 2023 10:04:52 +0200 (CEST) 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-pl1-x635.google.com with SMTP id d9443c01a7336-1b02fcde49aso43787905ad.0 for ; Thu, 15 Jun 2023 01:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686816290; x=1689408290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QdkzzSYbGhJqm2YfkdcwUlok4/aoBWnzSCXwZgVUNv0=; b=w3tY3hZdEYIPe8NymdGtHnANIjjqEC7d7436o5ab8N2YY4KNkGdkQpofnBN9aVGNza NpuNiKSkqQeDOwpl8rqVWBNUrmf4rJ4OzFez3e36Ap4HaNEEl3lZD7jLv3oZDmR9sMjC velfkJBIuxNsq7c64s6maJvrKDJ8YmaXXifC+t90QVf4Iy4ppe4jmNSXx9hljS4pvSHO XB0cT1N+DBw9khBVZkOFnUjkqpal9ytc1T6IviJq7LougVT3GnUl7+WSNbkKpaRw/bV8 ijPSK+7Yhd1mk2yBmjeMdPdO01UqCHhXTlx4uXpqi3DmwXWhE5wtzY81t/W4Glpdms+Z 2r0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686816290; x=1689408290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QdkzzSYbGhJqm2YfkdcwUlok4/aoBWnzSCXwZgVUNv0=; b=Rkri5tVWVOfCVNB5/K3hBCSqrhqFGSO5jlEE36hK5g2o976mG3sbCDLW7dpvqTQr/I t9FmvNCHr37AIWQBEg2si8zTYevG9NkFE9BRh04DGosNw2RkCjwIBc7cSdCvfB79ORGx pevf0m6iAmkIaIbmQqOEI1u4v7lsXrVoR3CDFXptieqWlBMc2tVOAdk16goJNrPYthfY 6+QMbrXd7kYA607mBLTpyHwRqYOJMGXF5LcdGF15BJj9+wwBODOAADYSyx2KcXWVMq78 CzYR+yFYxjtdDuLRTsa3IWMg3bKiv65BBxYrlrQYJShu04HVwobTu4BxIAP+TsZ68/P5 goNg== X-Gm-Message-State: AC+VfDygydy38i1AsvU3fvSP9PDXT7ULh2Gxkzo6wpH0qsYsFLpQJAbd uI7Uo48G9m/Y98t7cEaFbGGMh1sR36a3pproIA4= X-Received: by 2002:a17:902:e5cc:b0:1af:a2a4:8386 with SMTP id u12-20020a170902e5cc00b001afa2a48386mr15889132plf.38.1686816290663; Thu, 15 Jun 2023 01:04:50 -0700 (PDT) Received: from ubuntu-FMVS04001.. ([240d:1a:cf7:5800:e22:28fc:c976:20c5]) by smtp.gmail.com with ESMTPSA id bc1-20020a170902930100b001b392bf9192sm10431809plb.145.2023.06.15.01.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 01:04:50 -0700 (PDT) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Ilias Apalodimas , Takahiro Akashi , Masahisa Kojima Subject: [PATCH] doc: uefi: explicitly describe manual dtb update is required Date: Thu, 15 Jun 2023 17:03:44 +0900 Message-Id: <20230615080344.106856-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean To enforce anti-rollback to any older version, dtb must be always update manually. This should be described in the documentation. Signed-off-by: Masahisa Kojima --- doc/develop/uefi/uefi.rst | 3 +++ 1 file changed, 3 insertions(+) base-commit: e350d0c60d413d441cbdfa9432ebadb56f625903 diff --git a/doc/develop/uefi/uefi.rst b/doc/develop/uefi/uefi.rst index ffd13cebe9..d5f8c5f236 100644 --- a/doc/develop/uefi/uefi.rst +++ b/doc/develop/uefi/uefi.rst @@ -552,6 +552,9 @@ update using a capsule file with --fw-version of 5, the update will fail. When the --fw-version in the capsule file is updated, lowest-supported-version in the dtb might be updated accordingly. +If user needs to enroce anti-rollback to any older version, +the lowest-supported-version property in dtb must be always updated manually. + To insert the lowest supported version into a dtb .. code-block:: console