public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add support for TPM 1.2 Physical Presence Interface and Menu
@ 2021-11-02 15:49 Stefan Berger
  2021-11-02 15:49 ` [PATCH v2 1/4] SecurityPkg: Store physical presence code by submitting to PreOS func Stefan Berger
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Stefan Berger @ 2021-11-02 15:49 UTC (permalink / raw)
  To: devel, kraxel, marcandre.lureau; +Cc: Stefan Berger

This series adds support for the full TPM 1.2 Physical Presence Interface
(PPI) and activates the TPM 1.2 menu at the end. PPI is a prerequisite for
the menu to work.

The modifications to the original code are mostly due to the fact that we
are using a memory region for PPI in QEMU. I tried to keep them at a minimum.
For the PPI Flags I am using a EFI variable just like the original code does.
(SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.c)

Regards,
   Stefan

v2:
 - Added patch that copies sources from SecurityPkg to OvmfPkg before changes
 - Use CONSTRUCTOR from DxeTcgPhysicalPresenceLib.inf
 - Other nits

Gerd Hoffmann (1):
  OvmfPkg: add TPM 1.2 config menu

Stefan Berger (3):
  SecurityPkg: Store physical presence code by submitting to PreOS func
  OvmfPkg: Copy TPM 1.2 DxeTcgPhysicalPresenceLib.c from SecuityPkg
  OvmfPkg: Enable physical presence interface for TPM 1.2

 .../PlatformBootManagerLib/BdsPlatform.c      |    2 +
 .../PlatformBootManagerLib.inf                |    1 +
 .../DxeTcgPhysicalPresenceLib.c               |   22 +
 .../DxeTcgPhysicalPresenceLib.inf             |   27 +
 .../DxeTcgPhysicalPresenceLib.c               | 1469 +++++++++++++++++
 .../DxeTcgPhysicalPresenceLib.inf             |   64 +
 .../DxeTcgPhysicalPresenceLib.uni             |   22 +
 .../PhysicalPresenceStrings.uni               |   46 +
 OvmfPkg/OvmfTpmComponentsDxe.dsc.inc          |    1 +
 OvmfPkg/OvmfTpmDxe.fdf.inc                    |    1 +
 OvmfPkg/OvmfTpmLibs.dsc.inc                   |    4 +
 .../Include/Library/TcgPhysicalPresenceLib.h  |   39 +
 .../DxeTcgPhysicalPresenceLib.c               |   55 +
 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDxe.inf |    1 +
 SecurityPkg/Tcg/TcgConfigDxe/TcgConfigImpl.c  |   41 +-
 15 files changed, 1769 insertions(+), 26 deletions(-)
 create mode 100644 OvmfPkg/Library/TcgPhysicalPresenceLibNull/DxeTcgPhysicalPresenceLib.c
 create mode 100644 OvmfPkg/Library/TcgPhysicalPresenceLibNull/DxeTcgPhysicalPresenceLib.inf
 create mode 100644 OvmfPkg/Library/TcgPhysicalPresenceLibQemu/DxeTcgPhysicalPresenceLib.c
 create mode 100644 OvmfPkg/Library/TcgPhysicalPresenceLibQemu/DxeTcgPhysicalPresenceLib.inf
 create mode 100644 OvmfPkg/Library/TcgPhysicalPresenceLibQemu/DxeTcgPhysicalPresenceLib.uni
 create mode 100644 OvmfPkg/Library/TcgPhysicalPresenceLibQemu/PhysicalPresenceStrings.uni

-- 
2.31.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-08 20:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 15:49 [PATCH v2 0/4] Add support for TPM 1.2 Physical Presence Interface and Menu Stefan Berger
2021-11-02 15:49 ` [PATCH v2 1/4] SecurityPkg: Store physical presence code by submitting to PreOS func Stefan Berger
2021-11-02 15:49 ` [PATCH v2 2/4] OvmfPkg: Copy TPM 1.2 DxeTcgPhysicalPresenceLib.c from SecuityPkg Stefan Berger
2021-11-02 15:49 ` [PATCH v2 3/4] OvmfPkg: Enable physical presence interface for TPM 1.2 Stefan Berger
2021-11-05 12:17   ` Gerd Hoffmann
2021-11-07  1:19     ` [edk2-devel] " Stefan Berger
2021-11-08 11:57       ` Gerd Hoffmann
2021-11-08 12:13         ` Yao, Jiewen
2021-11-08 14:43           ` Stefan Berger
     [not found]           ` <16B59953A0045591.32008@groups.io>
2021-11-08 20:53             ` Stefan Berger
2021-11-02 15:49 ` [PATCH v2 4/4] OvmfPkg: add TPM 1.2 config menu Stefan Berger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox