From nobody Tue Feb 10 00:59:32 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+54931+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+54931+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1582743933; cv=none; d=zohomail.com; s=zohoarc; b=j0yP2cJG1bjNCI/m+hd25iaCpPlbkLtZYT0MUXuvWQtfxx+acIzT48i4iGJB8pwYQKjDJ5Bw9DuAY7qogDJkax6qY8TRDmYUT2vXf9wAj6rpuO+W/0SdkPlAeLAPjxek6SmXjBmG3WGO45bR7PmFmp87FCkbY7LFIjzxSOcWrH4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582743933; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=dxZkOmN1Zo5fiTpU1XnasTcpV+dhyEoYup/Hz2RVWBs=; b=NMQeALGfqBgzjG40dPEj1dEFwzhyl2ndANCEHH9jZJLVV/R743GQchvWIJwGlAAW8Igva3fbTRPCUBtxHuPs7m5XaazIORMlX1i1xKXLnz+JWh+o0CrSputn6hU6aJy+8RE6kzxyGrlLBRpqgf0kkIDjjwzYFF0tbxy1uH+WVE8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+54931+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1582743933917735.5654333091735; Wed, 26 Feb 2020 11:05:33 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id H3mFYY1788612xqtFGZhKefQ; Wed, 26 Feb 2020 11:05:33 -0800 X-Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mx.groups.io with SMTP id smtpd.web09.603.1582743932155426808 for ; Wed, 26 Feb 2020 11:05:32 -0800 X-Received: by mail-wr1-f68.google.com with SMTP id m16so40128wrx.11 for ; Wed, 26 Feb 2020 11:05:31 -0800 (PST) X-Gm-Message-State: rVGLU5QsdtTbHGe9BIEUvSALx1787277AA= X-Google-Smtp-Source: APXvYqxYH731OovudUmpADM0R0GtdKC+sw7FeD0j0pwICKkITiBnDH1TPdgYWh/H1q9I7k4wf+LM2Q== X-Received: by 2002:adf:f288:: with SMTP id k8mr77341wro.301.1582743930460; Wed, 26 Feb 2020 11:05:30 -0800 (PST) X-Received: from e123331-lin.home ([2a01:cb1d:112:6f00:816e:ff0d:fb69:f613]) by smtp.gmail.com with ESMTPSA id z1sm3932823wmf.42.2020.02.26.11.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 11:05:29 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , lersek@redhat.com, eric.auger@redhat.com, philmd@redhat.com, marcandre.lureau@redhat.com, stefanb@linux.ibm.com, leif@nuviainc.com Subject: [edk2-devel] [PATCH v3 9/9] ArmVirtPkg/ArmVirtQemu: enable TPM2 based measured boot Date: Wed, 26 Feb 2020 20:05:14 +0100 Message-Id: <20200226190514.31395-10-ard.biesheuvel@linaro.org> In-Reply-To: <20200226190514.31395-1-ard.biesheuvel@linaro.org> References: <20200226190514.31395-1-ard.biesheuvel@linaro.org> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ard.biesheuvel@linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582743933; bh=ThLcLmFpj+573Ao5RPRD7ouM2OMkJwYWzFnkmXdUvuE=; h=Cc:Date:From:Reply-To:Subject:To; b=wDqkWsz5lcszrPOhLPS0QDaQ4U6sKt5nJpXDN35i2DX+2Zz0fZs2HgA6nUzYzAfFXUo F8Wps2N1gYnu49Cg2ZXn6XG+2j/ykQXtVHYvcb/AssPayOnoYGBjKJTsMnnlCqHhuxwkR I+Z+4d+vscAeXXL6lqXZFzlHqHp+DIUkIcA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Now that all the TPM2 related plumbing is in place, we can add the final piece that performs the measurements of loaded images into the appropriate PCRs. Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtQemu.dsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index 7cb2d1b42fb8..a0d179a72b2a 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -346,6 +346,9 @@ [Components.common] MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf { NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificatio= nLib.inf +!if $(TPM2_ENABLE) =3D=3D TRUE + NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib= .inf +!endif } SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDx= e.inf OvmfPkg/EnrollDefaultKeys/EnrollDefaultKeys.inf --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#54931): https://edk2.groups.io/g/devel/message/54931 Mute This Topic: https://groups.io/mt/71571527/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-