Message ID | 20231012144551.679551-8-eajames@linux.ibm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:54d1:0:b0:31d:da82:a3b4 with SMTP id x17csp1006329wrv; Thu, 12 Oct 2023 08:11:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENHBJv+u6Er3UUgB/Wje71BE9AtCWjv3AqOFskc6w7mdnngzlcG7SHjKs9sTrznuh1HT48 X-Received: by 2002:a5d:4c50:0:b0:31c:8880:5d0f with SMTP id n16-20020a5d4c50000000b0031c88805d0fmr20734411wrt.11.1697123476238; Thu, 12 Oct 2023 08:11:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697123476; cv=none; d=google.com; s=arc-20160816; b=0lrqHPvowntQUWOEyTD+6xUY9sqPl+VdB3JRkfdl7zNGNB0k1dY6+dPyrl+WP5xQGt L9To9PpG64DjqXtAkoo/HTJNereeslJgxdeyasYSzua9IlSYF7J+Na0ctgFdhy6S2UNk Wz5t4Rbi58MNlr9UzAbqabPB9b/0kABr0oedihevK+e7csI60m7Uyl7S4uAz99esYDm/ CWZTT3wgHS9RPZTlOi+i3+iLBrz1Nkua6GdwneJ4qp3YcTeeJTYq+Jw1JLfKYmi53fDU NTqOd4Q9V//kBbmNC7JI2Cj8R6GaSOtFUGN/z0rnfKEXrffWpzBAqQsT54gjc3G4fdXJ DJjw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9hT0jbAPiF0n7ZljUlwqFgAhHgdleI2rqCcY++Dk79c=; fh=qcf+K3XeiyfpFyw7S8c/vz0d3RpzBuRq8YjpHxV3oDc=; b=VgzKeSX58dlv0ag01I0Ced6hDklsyNsMrttVjooDq5uleFR4g3inIdH5wta2VYqQFW b5iiqssOhVRsm3sbxn2ndXJJWUNHd5q9WNeIFysdAqexpkY/2TPzqnMEe7ZqS0hz+He/ N0x9QGJdeFzSNU+h97/8wjojiCMO3QV+oBb6EVUs5eu1aNfQf+n9Qgqbap4bBMgIEP+n zUrEuj3/4AXqY/LQ1c0qddq0fSLApoWJHnkxcK1ObXg8sYbTX1AWiKqrwFcwhl0W573w CR/ZCxkRD61U+8F528tGCl0/G/zTERjtL3y+FZevls25nNdXg3Qzw5diajb+go3nuw7I Zqow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=A9aAHjr3; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id d3-20020adfe843000000b003267b46904asi1918604wrn.619.2023.10.12.08.11.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 08:11:16 -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=@ibm.com header.s=pp1 header.b=A9aAHjr3; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 60C5E86D33; Thu, 12 Oct 2023 17:09:42 +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="A9aAHjr3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4E38A86B1B; Thu, 12 Oct 2023 17:08:45 +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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 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 BBABD86A9F for <u-boot@lists.denx.de>; Thu, 12 Oct 2023 17:08:28 +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 (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39CF6DXB025503; Thu, 12 Oct 2023 15:08:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=9hT0jbAPiF0n7ZljUlwqFgAhHgdleI2rqCcY++Dk79c=; b=A9aAHjr30fLujKRkLUx+ndQzxk1hyiy8RNQE9DguNPmR1gtsyp3D3mHqV5BB72K97eHB CWeA8XO10FCXgglAcnAjtqHHA+TD0dYHsFEXEEvBLqXWb799lGxhmjaF4rUi+A3uhMPh 1vvCPdi1oBECTuzhbBNJHLcQuKhAy1NeQvdJFJ8s9bmk3HSMMMRgdZw/k+OVfJpielpF RjFApZNxn+phWwDkW+7b5sM5Mi09en4jdnxuLIrBM2QYnCoK02r2nUgAjuPd4wH79kiS nNspYz05Fjvf6APsCX3fKsLW5beOoxK8KHr9AoPjDnNzcPNdfxpJDuH5qt382cSG1wXi xg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3tpk0yrbv9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 15:08:17 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 39CF6WIh028663; Thu, 12 Oct 2023 15:08:12 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 3tpk0yrba4-9 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 15:08:12 +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 39CBr5ev024461; Thu, 12 Oct 2023 14:45:54 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3tkhnt0f67-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 12 Oct 2023 14:45:54 +0000 Received: from smtpav04.dal12v.mail.ibm.com (smtpav04.dal12v.mail.ibm.com [10.241.53.103]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 39CEjrpI24314598 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Oct 2023 14:45:53 GMT Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 34DAB58052; Thu, 12 Oct 2023 14:45:53 +0000 (GMT) Received: from smtpav04.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 05FDF58056; Thu, 12 Oct 2023 14:45:53 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.148.23]) by smtpav04.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 12 Oct 2023 14:45:52 +0000 (GMT) From: Eddie James <eajames@linux.ibm.com> To: u-boot@lists.denx.de Cc: ilias.apalodimas@linaro.org, sjg@chromium.org, xypron.glpk@gmx.de, eajames@linux.ibm.com Subject: [PATCH v12 7/8] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks Date: Thu, 12 Oct 2023 09:45:50 -0500 Message-Id: <20231012144551.679551-8-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20231012144551.679551-1-eajames@linux.ibm.com> References: <20231012144551.679551-1-eajames@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: -be2og25qwugyKybErokffgwkSx_EsGP X-Proofpoint-ORIG-GUID: Ytlg97AWjqfkYkNTdGs4r_RYP5xUwfcX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-12_05,2023-10-12_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 phishscore=0 adultscore=0 malwarescore=0 impostorscore=0 clxscore=1015 suspectscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310120125 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
None
|
expand
|
diff --git a/lib/efi_loader/efi_tcg2.c b/lib/efi_loader/efi_tcg2.c index 7ada536568..dae1b166c8 100644 --- a/lib/efi_loader/efi_tcg2.c +++ b/lib/efi_loader/efi_tcg2.c @@ -949,16 +949,16 @@ efi_tcg2_get_active_pcr_banks(struct efi_tcg2_protocol *this, struct udevice *dev; efi_status_t ret; + EFI_ENTRY("%p, %p", this, active_pcr_banks); + if (!this || !active_pcr_banks) { ret = EFI_INVALID_PARAMETER; goto out; } - ret = tcg2_platform_get_tpm2(&dev); if (ret != EFI_SUCCESS) goto out; - EFI_ENTRY("%p, %p", this, active_pcr_banks); ret = tcg2_get_active_pcr_banks(dev, active_pcr_banks); out: