[edk2-devel] [PATCH v3 0/6] Ovmf: enable TPM 1.2

marcandre.lureau@redhat.com posted 6 patches 4 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/20200226093459.1131530-1-marcandre.lureau@redhat.com
There is a newer version of this series
OvmfPkg/OvmfPkgIa32.dsc                  | 39 ++++++++----
OvmfPkg/OvmfPkgIa32.fdf                  | 10 +--
OvmfPkg/OvmfPkgIa32X64.dsc               | 39 ++++++++----
OvmfPkg/OvmfPkgIa32X64.fdf               | 10 +--
OvmfPkg/OvmfPkgX64.dsc                   | 39 ++++++++----
OvmfPkg/OvmfPkgX64.fdf                   | 10 +--
OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf |  3 +
OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c  | 81 +++++++++++++++++++-----
8 files changed, 168 insertions(+), 63 deletions(-)
[edk2-devel] [PATCH v3 0/6] Ovmf: enable TPM 1.2
Posted by marcandre.lureau@redhat.com 4 years, 2 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

The following patches add basic TPM 1.2 support for Ovmf/QEMU.

Tested successfully Win10 with TIS/TPM 1.2 & CRB/TPM 2.0 passthrough,
and emulated CRB/TPM 2.0.

v3:
 - send a TPM 1.2 command to test TPM version
 - split the "Ovmf: enable TPM 1.2 support" patch, mirroring the TPM
   2.0 commits

Marc-André Lureau (6):
  OvmfPkg: rename TPM2 config prefix to TPM
  OvmfPkg: detect TPM 1.2 in Tcg2ConfigPei
  OvmfPkg: include TcgPei module
  OvmfPkg: include TcgDxe module
  OvmfPkg: plug DxeTpmMeasureBootLib into SecurityStubDxe
  OvmfPkg: add TCG Configuration menu to the Device Manager menu

 OvmfPkg/OvmfPkgIa32.dsc                  | 39 ++++++++----
 OvmfPkg/OvmfPkgIa32.fdf                  | 10 +--
 OvmfPkg/OvmfPkgIa32X64.dsc               | 39 ++++++++----
 OvmfPkg/OvmfPkgIa32X64.fdf               | 10 +--
 OvmfPkg/OvmfPkgX64.dsc                   | 39 ++++++++----
 OvmfPkg/OvmfPkgX64.fdf                   | 10 +--
 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf |  3 +
 OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c  | 81 +++++++++++++++++++-----
 8 files changed, 168 insertions(+), 63 deletions(-)

-- 
2.25.0.rc2.1.g09a9a1a997


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#54854): https://edk2.groups.io/g/devel/message/54854
Mute This Topic: https://groups.io/mt/71562983/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v3 0/6] Ovmf: enable TPM 1.2
Posted by Laszlo Ersek 4 years, 2 months ago
On 02/26/20 10:34, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Hi,
> 
> The following patches add basic TPM 1.2 support for Ovmf/QEMU.
> 
> Tested successfully Win10 with TIS/TPM 1.2 & CRB/TPM 2.0 passthrough,
> and emulated CRB/TPM 2.0.
> 
> v3:
>  - send a TPM 1.2 command to test TPM version
>  - split the "Ovmf: enable TPM 1.2 support" patch, mirroring the TPM
>    2.0 commits
> 
> Marc-André Lureau (6):
>   OvmfPkg: rename TPM2 config prefix to TPM
>   OvmfPkg: detect TPM 1.2 in Tcg2ConfigPei
>   OvmfPkg: include TcgPei module
>   OvmfPkg: include TcgDxe module
>   OvmfPkg: plug DxeTpmMeasureBootLib into SecurityStubDxe
>   OvmfPkg: add TCG Configuration menu to the Device Manager menu
> 
>  OvmfPkg/OvmfPkgIa32.dsc                  | 39 ++++++++----
>  OvmfPkg/OvmfPkgIa32.fdf                  | 10 +--
>  OvmfPkg/OvmfPkgIa32X64.dsc               | 39 ++++++++----
>  OvmfPkg/OvmfPkgIa32X64.fdf               | 10 +--
>  OvmfPkg/OvmfPkgX64.dsc                   | 39 ++++++++----
>  OvmfPkg/OvmfPkgX64.fdf                   | 10 +--
>  OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf |  3 +
>  OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c  | 81 +++++++++++++++++++-----
>  8 files changed, 168 insertions(+), 63 deletions(-)
> 

I'm very happy with this series. I'd suggest posting v4 quickly (the
updates should be minimal), so that Simon's testing can concentrate on
v4. With Simon's feedback in place, I could merge v4 soon after
edk2-stable202002 is tagged
<https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning>.

Thank you, Marc-André!
Laszlo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#54873): https://edk2.groups.io/g/devel/message/54873
Mute This Topic: https://groups.io/mt/71562983/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v3 0/6] Ovmf: enable TPM 1.2
Posted by Laszlo Ersek 4 years, 2 months ago
On 02/26/20 11:47, Laszlo Ersek wrote:
> On 02/26/20 10:34, marcandre.lureau@redhat.com wrote:
>> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>>
>> Hi,
>>
>> The following patches add basic TPM 1.2 support for Ovmf/QEMU.
>>
>> Tested successfully Win10 with TIS/TPM 1.2 & CRB/TPM 2.0 passthrough,
>> and emulated CRB/TPM 2.0.
>>
>> v3:
>>  - send a TPM 1.2 command to test TPM version
>>  - split the "Ovmf: enable TPM 1.2 support" patch, mirroring the TPM
>>    2.0 commits
>>
>> Marc-André Lureau (6):
>>   OvmfPkg: rename TPM2 config prefix to TPM
>>   OvmfPkg: detect TPM 1.2 in Tcg2ConfigPei
>>   OvmfPkg: include TcgPei module
>>   OvmfPkg: include TcgDxe module
>>   OvmfPkg: plug DxeTpmMeasureBootLib into SecurityStubDxe
>>   OvmfPkg: add TCG Configuration menu to the Device Manager menu
>>
>>  OvmfPkg/OvmfPkgIa32.dsc                  | 39 ++++++++----
>>  OvmfPkg/OvmfPkgIa32.fdf                  | 10 +--
>>  OvmfPkg/OvmfPkgIa32X64.dsc               | 39 ++++++++----
>>  OvmfPkg/OvmfPkgIa32X64.fdf               | 10 +--
>>  OvmfPkg/OvmfPkgX64.dsc                   | 39 ++++++++----
>>  OvmfPkg/OvmfPkgX64.fdf                   | 10 +--
>>  OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf |  3 +
>>  OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c  | 81 +++++++++++++++++++-----
>>  8 files changed, 168 insertions(+), 63 deletions(-)
>>
> 
> I'm very happy with this series. I'd suggest posting v4 quickly (the
> updates should be minimal), so that Simon's testing can concentrate on
> v4. With Simon's feedback in place, I could merge v4 soon after
> edk2-stable202002 is tagged
> <https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Release-Planning>.

When you post v4, please also push it to a public repo/branch somewhere,
so that Simon can fetch it more easily, for testing.

Thanks!
Laszlo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#54876): https://edk2.groups.io/g/devel/message/54876
Mute This Topic: https://groups.io/mt/71562983/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-