From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web08.31552.1635164122362056645 for ; Mon, 25 Oct 2021 05:15:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bQOt4JuC; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635164121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nBo9a4byPcgasVzLSy9TXf/6qnBfdPO7vBeoSslls0A=; b=bQOt4JuCvq6XTd7fGUAHTmkJ9VUMfzYQ5Che6Z+I4cdZ4tGOnSCn7HKasM5O6tNAbACd0J WS4c7tvFXJIpeCE3w18uygtTzkEiDgaxB9MGQzRwdBVZ79BL/JVqSpK/s2R4W1QEewY5m9 Oyfq1xEF2sX1GOHt0guDzOAnvJ1C6HE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-437-ijkLO-aDM9S2-A2B4HwTog-1; Mon, 25 Oct 2021 08:15:15 -0400 X-MC-Unique: ijkLO-aDM9S2-A2B4HwTog-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1BE518066F6; Mon, 25 Oct 2021 12:15:14 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B4A7F60CA1; Mon, 25 Oct 2021 12:15:13 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 2F6B31800791; Mon, 25 Oct 2021 14:15:12 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Jordan Justen , Min Xu , Brijesh Singh , Jiewen Yao , Gerd Hoffmann , James Bottomley , Erdem Aktas , Tom Lendacky , Stefan Berger , Ard Biesheuvel Subject: [PATCH v2 0/5] OvmfPkg: rework TPM configuration. Date: Mon, 25 Oct 2021 14:15:07 +0200 Message-Id: <20211025121512.120926-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Allows to enable/disable TPM 1.2 support in OVMF. Allows to enable SHA-1 support for TPM hashing. v2: - drop TPM_CONFIG_ENABLE config option. - don't add SHA1 config option. - add config menu for tpm 1.2 Gerd Hoffmann (5): OvmfPkg: move tcg configuration to dsc and fdf include files OvmfPkg: drop TPM_CONFIG_ENABLE OvmfPkg: create Tcg12ConfigPei.inf OvmfPkg: rework TPM configuration OvmfPkg: add TPM 1.2 config menu OvmfPkg/OvmfTpmComponentsDxe.dsc.inc | 29 ++++++ OvmfPkg/OvmfTpmComponentsPei.dsc.inc | 26 ++++++ OvmfPkg/OvmfTpmDefines.dsc.inc | 8 ++ OvmfPkg/OvmfTpmLibs.dsc.inc | 16 ++++ OvmfPkg/OvmfTpmLibsDxe.dsc.inc | 10 +++ OvmfPkg/OvmfTpmLibsPeim.dsc.inc | 11 +++ OvmfPkg/OvmfTpmPcds.dsc.inc | 7 ++ OvmfPkg/OvmfTpmPcdsHii.dsc.inc | 8 ++ OvmfPkg/OvmfTpmSecurityStub.dsc.inc | 10 +++ OvmfPkg/AmdSev/AmdSevX64.dsc | 85 +++--------------- OvmfPkg/OvmfPkgIa32.dsc | 88 +++---------------- OvmfPkg/OvmfPkgIa32X64.dsc | 85 +++--------------- OvmfPkg/OvmfPkgX64.dsc | 85 +++--------------- OvmfPkg/AmdSev/AmdSevX64.fdf | 17 +--- OvmfPkg/OvmfPkgIa32.fdf | 17 +--- OvmfPkg/OvmfPkgIa32X64.fdf | 17 +--- OvmfPkg/OvmfPkgX64.fdf | 17 +--- .../{Tcg2ConfigPei.inf => Tcg12ConfigPei.inf} | 11 +-- OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | 11 +-- OvmfPkg/OvmfTpmDxe.fdf.inc | 13 +++ OvmfPkg/OvmfTpmPei.fdf.inc | 15 ++++ .../.azurepipelines/Ubuntu-GCC5.yml | 6 +- .../.azurepipelines/Windows-VS2019.yml | 6 +- OvmfPkg/PlatformCI/ReadMe.md | 2 +- 24 files changed, 215 insertions(+), 385 deletions(-) create mode 100644 OvmfPkg/OvmfTpmComponentsDxe.dsc.inc create mode 100644 OvmfPkg/OvmfTpmComponentsPei.dsc.inc create mode 100644 OvmfPkg/OvmfTpmDefines.dsc.inc create mode 100644 OvmfPkg/OvmfTpmLibs.dsc.inc create mode 100644 OvmfPkg/OvmfTpmLibsDxe.dsc.inc create mode 100644 OvmfPkg/OvmfTpmLibsPeim.dsc.inc create mode 100644 OvmfPkg/OvmfTpmPcds.dsc.inc create mode 100644 OvmfPkg/OvmfTpmPcdsHii.dsc.inc create mode 100644 OvmfPkg/OvmfTpmSecurityStub.dsc.inc copy OvmfPkg/Tcg/Tcg2Config/{Tcg2ConfigPei.inf => Tcg12ConfigPei.inf} (82%) create mode 100644 OvmfPkg/OvmfTpmDxe.fdf.inc create mode 100644 OvmfPkg/OvmfTpmPei.fdf.inc -- 2.31.1