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 C72ABC001B0 for ; Wed, 9 Aug 2023 14:08:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D587A86792; Wed, 9 Aug 2023 16:08:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=linux.ibm.com 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=ibm.com header.i=@ibm.com header.b="iLezcwDO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BE79B867D2; Wed, 9 Aug 2023 16:08:36 +0200 (CEST) Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5FA3A86785 for ; Wed, 9 Aug 2023 16:08:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=eajames@linux.ibm.com Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 379E6RS9012155; Wed, 9 Aug 2023 14:08:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=xaDMOSz64D99jv048F1RxnTfsuKyZ9y8QXzJZXUd5kA=; b=iLezcwDOYilOWLbW6t59pMNhc2xJRVHFHv1YUWfdctWmK3oACnRnVyqmhHzMHKo1i1Cj GMu7LYBn40yUH1OBFKYfT3e/JJ7QEtGsPgwbaXEwLPG0EvZ3bcrvBo7BVZMCzyOUu3vv t9BS74H5Ki8fuwurJdaEZTOA/yUOEA1LgvRRFXuvlpSzYY0SkP1UVeU/gVf0RBpnrUvs M8QxchM75oNHUbAnxUkPkPJKoKAljY88QRplqJwkrvdQ4kS5e7wRkRI1yePacVqP7aZC 0VKUP0hYlQ6QCCj4hD+b6nMTNE/fr/iK4e5s3ONgh1Sxao1meH8iIEmpkHlbFq16l5V8 KA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3scc318grh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Aug 2023 14:08:25 +0000 Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 379E6faS013799; Wed, 9 Aug 2023 14:07:19 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3scc318d3y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Aug 2023 14:07:19 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 379CM8P1006653; Wed, 9 Aug 2023 14:01:42 GMT Received: from smtprelay05.dal12v.mail.ibm.com ([172.16.1.7]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3sa0rt96m9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Aug 2023 14:01:42 +0000 Received: from smtpav06.wdc07v.mail.ibm.com (smtpav06.wdc07v.mail.ibm.com [10.39.53.233]) by smtprelay05.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 379E1fmH58655174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 9 Aug 2023 14:01:42 GMT Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A23BE58054; Wed, 9 Aug 2023 14:01:41 +0000 (GMT) Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4BD165803F; Wed, 9 Aug 2023 14:01:41 +0000 (GMT) Received: from [9.61.73.158] (unknown [9.61.73.158]) by smtpav06.wdc07v.mail.ibm.com (Postfix) with ESMTP; Wed, 9 Aug 2023 14:01:41 +0000 (GMT) Message-ID: <979f7408-a356-ad2d-a191-0094608201ae@linux.ibm.com> Date: Wed, 9 Aug 2023 09:01:40 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v11 3/8] tpm: Support boot measurements To: Ilias Apalodimas , Heinrich Schuchardt Cc: u-boot@lists.denx.de, sjg@chromium.org, joel@jms.id.au References: <20230807192542.90526-1-eajames@linux.ibm.com> <20230807192542.90526-4-eajames@linux.ibm.com> <89e3f514-2fce-1c85-55f2-0cad63460f75@gmx.de> Content-Language: en-US From: Eddie James In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: uAqFO-igzzwC5jl-m_ctaa-xpRX3UX8L X-Proofpoint-GUID: iX1Xu_k_O38jVbV1oi24SOkqxM3d7zLM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-09_10,2023-08-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=749 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308090124 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 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. Thanks, Eddie > > Thanks > /Ilias >> Best regards >> >> Heinrich