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 54785C001DB for ; Thu, 10 Aug 2023 07:44:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0E95B86128; Thu, 10 Aug 2023 09:44:29 +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="Br/5yerp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E04CC86264; Thu, 10 Aug 2023 09:44:27 +0200 (CEST) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 ED27B85F2B for ; Thu, 10 Aug 2023 09:44:25 +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-wr1-x435.google.com with SMTP id ffacd0b85a97d-31763b2c5a4so590619f8f.3 for ; Thu, 10 Aug 2023 00:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691653465; x=1692258265; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ij+wUXGhj+tAKwKYACGcsSYelVrQaPTDogBU3Rplmro=; b=Br/5yerp4QAXvoCltijHf1mfN1+AzRLq5wnyVGAuAJqC9oqzTgaOQtOBXlkj8i7gy9 6kBorja5moxnJHpjCg/4g2ti9Nbwd3A8FZr6y12MYoiYLXvDz7VmbzhdnFbk9kfu8yWz 2LBzKid+OpSu6S/I5MvxEnRmJ1ae5KyL7SpyAWAkmll2QwIwL9W08hCnZ6WtWPrgJfw8 kR4XNMXUXdh/hXQxh1Dc8KykuKZG1JlA8aoCCvG7ldNI8ufYtMXCHH5rn7Qtnrxi6OVa NKVWuFG4Ku1hrRRlZ5ojoIr+1zfv9XNMH+pgJJ0r8kNJUn4C9dUXnHCTMw8y96B0I2+G 8SEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691653465; x=1692258265; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ij+wUXGhj+tAKwKYACGcsSYelVrQaPTDogBU3Rplmro=; b=BE+khaGRXHEEEXxhCJ6ujmS7OUYEppLXZiEgC3Lg4Yh6kMo+x5u/9+6DjhMLvUaa/f 2R7RQJOk7tXxGamDJXb0gRjtjjKY0Q7QIjpDg2cU/JQye0zjjHP6b2Qu7pYRbkoMnvw8 gTgDV4Vj0+K0LhAT3IU45aCgys4aYM+2Swzxwlik0Q21dEEDtryYmtJ/zicVQU36LQ8j 9JpqLcS6P+TCBrf9gN+x2CLvMfj/iHckZhnOUqiueRYyHXe8L6KoPSyS/1jqRWi7e5eb 1BIjBrpzfaAXxLIfW5hoa02KYWo3ye0xly3vz7v9ow5wfW+zY2FOkXpi3sTQ9UKAmkNh CP9g== X-Gm-Message-State: AOJu0Yw2jS8s2IPkCraceFwd2q3omIuVY/s7w1evlUt9mJYa+jZjuucD uquzp5uZDdYY+9dlfyPTuBj/Yw== X-Google-Smtp-Source: AGHT+IHhYe/uEW0q4Smp70gOpfpQdcvg54mXTzHPCYUFTZ4yipUfI7RbrkxI9Zag7QtYNigwPhpAHA== X-Received: by 2002:a5d:604b:0:b0:313:dfa3:4f7b with SMTP id j11-20020a5d604b000000b00313dfa34f7bmr1616073wrt.20.1691653465332; Thu, 10 Aug 2023 00:44:25 -0700 (PDT) Received: from hades (ppp089210246083.access.hol.gr. [89.210.246.83]) by smtp.gmail.com with ESMTPSA id y7-20020a5d6147000000b00317e77106dbsm1225916wrt.48.2023.08.10.00.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 00:44:24 -0700 (PDT) Date: Thu, 10 Aug 2023 10:44:22 +0300 From: Ilias Apalodimas To: Eddie James Cc: Heinrich Schuchardt , u-boot@lists.denx.de, sjg@chromium.org, joel@jms.id.au Subject: Re: [PATCH v11 3/8] tpm: Support boot measurements Message-ID: References: <20230807192542.90526-1-eajames@linux.ibm.com> <20230807192542.90526-4-eajames@linux.ibm.com> <89e3f514-2fce-1c85-55f2-0cad63460f75@gmx.de> <979f7408-a356-ad2d-a191-0094608201ae@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <979f7408-a356-ad2d-a191-0094608201ae@linux.ibm.com> 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 On Wed, Aug 09, 2023 at 09:01:40AM -0500, Eddie James wrote: > > On 8/9/23 05:43, Ilias Apalodimas wrote: > > On Wed, 9 Aug 2023 at 13:42, Heinrich Schuchardt wrote: > > > On 8/9/23 10:34, Ilias Apalodimas wrote: > > > > Hi Eddie > > > > > > > > > > > > On Mon, Aug 07, 2023 at 02:25:37PM -0500, Eddie James wrote: > > > > > Add TPM2 functions to support boot measurement. This includes > > > > > starting up the TPM, initializing/appending the event log, and > > > > > measuring the U-Boot version. Much of the code was used in the > > > > > EFI subsystem, so remove it there and use the common functions. > > > > > > > > > > Signed-off-by: Eddie James > > > > > --- > > > > > Changes since v10: > > > > > - Fix compile warning for armv7 (thanks Ilias) > > > > > > > > > This doesn't apply cleanly and I think it's because of commit > > > > d12c3efe53107. This was merged after my rebase. Can you rebase on top of > > > > -master and resend? > > > Tom has started moving new stuff into next as the merge window is closed. > > Ah good point, I was going to let this soak on -next anyway. So > > please rebase against -next > > > I did base this series on next actually, so it should apply there already > (unless there are conflicting changes since Monday). Please let me know if I > do need to rebase it. > I tried using 321d7b4d875a from next and still get an error. Patch failed at 0003 tpm: Support boot measurements hint: Use 'git am --show-current-patch=diff' to see the failed patch Thanks /Ilias > > Thanks, > > Eddie > > > > > > Thanks > > /Ilias > > > Best regards > > > > > > Heinrich