From patchwork Wed Jun 7 09:18:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 690179 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp210444wru; Wed, 7 Jun 2023 02:18:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Ih0btCjzW8rv25NV44OyUl/sJoGnZXEtxW+VhX1DSiMohU4I7tLNgAwGJKyUNdsEMZ2yq X-Received: by 2002:a17:902:ec90:b0:1b1:94a8:ab2d with SMTP id x16-20020a170902ec9000b001b194a8ab2dmr5579827plg.29.1686129510713; Wed, 07 Jun 2023 02:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686129510; cv=none; d=google.com; s=arc-20160816; b=O0baAbVg1gkL10SsTtyyTCtZzhJsy/zTp8E1lhbhei7R/BYLyOQuSDzS5nmt3ZzkAz bBRlskTyoHmHv0xs6HpPzf5Is0O9GKkvEpcdwZSukavYI50hK15WSvn+EiLTgZJSpeSx NJ7wUk9O6ZeJNFh0lnDCEQtfW5W0Fg1xtafsLq9bz65BwFiFHYqR1O9hHL/KaZjB0UYw BYDmLh2G8hvd1b+cjzgp3tcpnUPLS7SG5SZlhfjF7uncW3lx0bSM79zUWzUEtSJvBH5H NhhdNUIV6i2alIS30bjCNOPWmk4yTESaIjA4NjPIPODt7TKLgv5RnWJKA2JQnZcO3TM1 dO9w== 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=6FbcdFmAXwwltgbO3ML8ZOVUc7WVi+E1ng1OCYBW9w0=; b=URJx9TXMoGfO/zMcyXEHRRYwalVJE9tlXTCUgBj0US3YD62VjpmUqTDkpmAYKozurJ GllqQUf+1H1XJzlxoCDJ1xtke4Uk3v0ATvyTY+kV7VJGSs2iJAckH1YBrfyUxxVSmoPA JbaETe88euia4s5tan1m65cWc4OHAfZY/cnxYqQga6vTL+51G7MQDw1sLA3GL6IMeHNr qZwrPP6sPXOc9ZP56ZjWvqeAL/FLuSn1C22lSw75hqnGkYHP674Z0b9N9iCCt04CVp4F EO4Ulr7kMARisjiPG15YDKitrCGICImJTNQ945NrSekLi5PC9AMlW3T0Ioh1lnY85Jyw ipMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v7Isqxek; 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 w1-20020a170902e88100b001b01fc73474si8780824plg.588.2023.06.07.02.18.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 02:18:30 -0700 (PDT) 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=v7Isqxek; 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 BA6F585FF6; Wed, 7 Jun 2023 11:18:23 +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="v7Isqxek"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ED8AF8601B; Wed, 7 Jun 2023 11:18:21 +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-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 69B368471B for ; Wed, 7 Jun 2023 11:18:19 +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=ilias.apalodimas@linaro.org Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f6042d610fso69900615e9.1 for ; Wed, 07 Jun 2023 02:18:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686129499; x=1688721499; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6FbcdFmAXwwltgbO3ML8ZOVUc7WVi+E1ng1OCYBW9w0=; b=v7IsqxekHvOJDzSP3zCVyzaUMX9YHmn8VRozn8pItwPCgjl0cch/zBYBfpLOCLBIAJ EQ8DSOh+x0Lz5+S+o8z5gpzumbjIXP8o6jVVd/cLVeAYc0xMKxrJSmH4BF7S/ZzDkOku vcCTtLFHUr5+bbsjzdvuULPJrAV2XdZWSpaYJ7+6RMrTR79aVuZxBvUzxkzUcYhNm7IF pUG42TtjXr0G9IR2ggm3U2xEyIEAyl6n3VUV260KQAxDMp2GGZeO0ENvVTDi4BTbq9Jf 8BRaHp32I/pil2mbL/+WHdclrfX7TFLxOYhKQj5k+FJN11djQj4ivxAqMF5vHOkLsbi5 pzGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686129499; x=1688721499; 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=6FbcdFmAXwwltgbO3ML8ZOVUc7WVi+E1ng1OCYBW9w0=; b=mIRnIL7dpOpvJkOJzemNrTP5MWp5HeItbVxL0L+EXcGNoNAzhduT0Cq14fh/KUUHFU 9MfiQC9Ex52ajImFPuj4HEe1S98O4+n15UNGdk7TYpfmYE8qQ5OH+nBE4ii3AKHoEhlD Yy/uEbdRsBD2GW0TlD0Nzskl2jCyewjVA1N3UpKcKdGpUUeya0bWZkauyp6Cb7oVN/YY P4Aq21+HaOwJBxIGFeKTBz1Nz6gMRtdEtX9FeZtpVWqwI4N0/iHCCPwNGUqN3i/S/K8k CRSDykl3nCK6cm1niO53sdn+n9o9NB/pZXpuJv0HbyWe/L3jXPx2gYwBAnIUe2UbZaf3 wSFw== X-Gm-Message-State: AC+VfDyK9vT3seDhvTEaZ3sLgcKZX/+QM6Tqp+zNhBwAgEH+07Mq8mCa pcjwUuwvMPTQw1e6UpVhGPa9H70SLpkArBgEC4r9XA== X-Received: by 2002:a05:600c:593:b0:3f6:6da:3ad1 with SMTP id o19-20020a05600c059300b003f606da3ad1mr4182675wmd.34.1686129498907; Wed, 07 Jun 2023 02:18:18 -0700 (PDT) Received: from localhost.localdomain (ppp089210114029.access.hol.gr. [89.210.114.29]) by smtp.gmail.com with ESMTPSA id o10-20020a1c750a000000b003f50d6ee334sm454569wmc.47.2023.06.07.02.18.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 02:18:18 -0700 (PDT) From: Ilias Apalodimas To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Simon Glass Subject: [PATCH 0/3 v2] tpm: add 'tpm autostart command' Date: Wed, 7 Jun 2023 12:18:09 +0300 Message-Id: <20230607091812.1916435-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.39.2 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 Hi! This is a resend of [0]. There are no functional or code changes in patches #1 and #2. Running this through the CI though exposed a problem on our python test scripts, whcih the newly added patch #3 is trying to address [0] https://lore.kernel.org/u-boot/20230601062041.524010-1-ilias.apalodimas@linaro.org/ Ilias Apalodimas (3): tpm: Add 'tpm autostart' shell command test/py: replace 'tpm2 init, startup, selftest' sequences test/py: Account PCR updates properly during testing cmd/tpm-common.c | 16 ++++++++++++++++ cmd/tpm-user-utils.h | 1 + cmd/tpm-v1.c | 6 +++++- cmd/tpm-v2.c | 6 ++++++ test/py/tests/test_tpm2.py | 19 ++++++++----------- 5 files changed, 36 insertions(+), 12 deletions(-) --- 2.39.2