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 E4D51C05027 for ; Thu, 26 Jan 2023 14:42:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3C89F856CA; Thu, 26 Jan 2023 15:41:58 +0100 (CET) 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="VJT9AX+V"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9E7B8856D7; Thu, 26 Jan 2023 15:41:56 +0100 (CET) Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 9DAA3856C7 for ; Thu, 26 Jan 2023 15:41:52 +0100 (CET) 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 (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30QDvSFg028876; Thu, 26 Jan 2023 14:41:49 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=5Qb27Vcy1UIYlrHMBwUL8vPQBSGir4yaW20mkzSZ+vs=; b=VJT9AX+VugRTXoEOpIITA+CoXx7u976Birj7yqPgwvQSxVgn8//9x4hiLweXAJEr4X1j JjYLZRjLiG6rzcPVYkjMdrc/PXFakp4dYqw90bA1YKKXtrnKifLEeC3IztpMw3X4zUwC /2OqBWgrlDB5fECLSY6VOFMzsdxw+GMUZijNNozIFsSXTlRUc137i1LprZ9nSIrQIxo4 vXi6TSgc9osWwKLiWEyd2S67ARtUGwoGVxnCHs3m3NMMVE0qE6hdQfywaA9DhObRgpt2 8EG6ExQZqhQzakHPG9IS8heX26IE1HjooeQY1+X+Mdjm8akWFC5is/FmkLKOXOR+fAWf Vg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3nbtv1s8ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Jan 2023 14:41:48 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 30QEMJAj027534; Thu, 26 Jan 2023 14:41:48 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3nbtv1s8sq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Jan 2023 14:41:48 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 30QCpHO1003095; Thu, 26 Jan 2023 14:41:47 GMT Received: from smtprelay04.wdc07v.mail.ibm.com ([9.208.129.114]) by ppma04wdc.us.ibm.com (PPS) with ESMTPS id 3n87p7dv9p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Jan 2023 14:41:47 +0000 Received: from smtpav02.wdc07v.mail.ibm.com (smtpav02.wdc07v.mail.ibm.com [10.39.53.229]) by smtprelay04.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 30QEfkWZ55181700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Jan 2023 14:41:46 GMT Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1636E58059; Thu, 26 Jan 2023 14:41:46 +0000 (GMT) Received: from smtpav02.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6D47B5805C; Thu, 26 Jan 2023 14:41:45 +0000 (GMT) Received: from [9.160.3.213] (unknown [9.160.3.213]) by smtpav02.wdc07v.mail.ibm.com (Postfix) with ESMTP; Thu, 26 Jan 2023 14:41:45 +0000 (GMT) Message-ID: Date: Thu, 26 Jan 2023 08:41:44 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v4 3/6] bootm: Support boot measurement To: Simon Glass Cc: u-boot@lists.denx.de, ilias.apalodimas@linaro.org, xypron.glpk@gmx.de References: <20230125171810.3724530-1-eajames@linux.ibm.com> <20230125171810.3724530-4-eajames@linux.ibm.com> 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-GUID: 9BYU9gwNvAnQM-T_VpgysDZuAnte7dzg X-Proofpoint-ORIG-GUID: WA4Z4c1fluaHnFVDNPTmiZ267gyedD0B X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-26_07,2023-01-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 mlxscore=0 suspectscore=0 bulkscore=0 phishscore=0 priorityscore=1501 spamscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=928 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301260141 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.6 at phobos.denx.de X-Virus-Status: Clean On 1/25/23 19:41, Simon Glass wrote: > Hi Eddie, > > On Wed, 25 Jan 2023 at 10:18, Eddie James wrote: >> Add a configuration option to measure the boot through the bootm >> function. Add the measurement state to the booti and bootz paths >> as well. >> >> Signed-off-by: Eddie James >> --- >> boot/Kconfig | 23 ++++++++++++++++ >> boot/bootm.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ >> cmd/booti.c | 1 + >> cmd/bootm.c | 2 ++ >> cmd/bootz.c | 1 + >> include/bootm.h | 2 ++ >> include/image.h | 1 + >> 7 files changed, 100 insertions(+) > Can you please add a change log? I recall making comments but cannot > see the changes here. Sorry, sure. I put them all in the cover letter, but I can add them here too. Thanks, Eddie > > Regards, > Simon