audk/ArmVirtPkg/Library
Stefan Berger c806b76865 ArmVirtPkg: Disable the TPM2 platform hierarchy
Disable the TPM2 platform hierarchy by directly calling
ConfigureTpmPlatformHierarchy().

Per the TCG firmware specification "TCG PC Client Platform Firmware Profile
Specification" the TPM 2 platform hierarchy needs to be disabled or a
random password set and discarded before the firmware passes control to the
next stage bootloader or kernel.

Current specs are here:
https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_PFP_r1p05_v23_pub.pdf

Section 11 states:
"Platform Firmware MUST protect access to the Platform Hierarchy
and prevent access to the platform hierarchy by non-manufacturer-
controlled components."

Link: https://bugzilla.tianocore.org/show_bug.cgi?id=3510
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
2021-10-05 09:54:11 +00:00
..
ArmVirtDxeHobLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirtGicArchLib ArmVirtPkg: fix ASSERT in ArmVirtGicArchLib with virtualization=on 2020-03-17 15:06:11 +00:00
ArmVirtMemoryInitPeiLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirtPL031FdtClientLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirtPciHostBridgeUtilityLib ArmVirtPkg: Add PCIe host bridge utility lib for ArmVirtPkg 2021-06-22 17:04:45 +00:00
ArmVirtPsciResetSystemLib ArmVirtPkg: remove EnterS3WithImmediateWake () from ResetSystemLib 2020-01-10 07:00:51 +00:00
ArmVirtPsciResetSystemPeiLib ArmVirtPkg: implement ArmVirtPsciResetSystemPeiLib 2020-03-04 08:48:09 +00:00
ArmVirtTimerFdtClientLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
BaseCachingPciExpressLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
Fdt16550SerialPortHookLib ArmVirtPkg: 16550 UART Platform hook library 2020-10-16 17:21:04 +00:00
FdtPL011SerialPortLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
FdtPciHostBridgeLib ArmVirtPkg/FdtPciHostBridgeLib: Add extra pci root buses support 2021-01-20 16:14:20 +00:00
FdtPciPcdProducerLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
KvmtoolPlatformPeiLib ArmVirtPkg: Add Kvmtool Platform Pei Lib 2020-10-16 17:21:04 +00:00
KvmtoolRtcFdtClientLib ArmVirtPkg: Add Kvmtool RTC Fdt Client Library 2020-10-16 17:21:04 +00:00
KvmtoolVirtMemInfoLib ArmVirtPkg: kvmtool platform memory map 2020-10-16 17:21:04 +00:00
NorFlashKvmtoolLib ArmVirtPkg: Add Kvmtool NOR flash lib 2020-10-16 17:21:04 +00:00
NorFlashQemuLib ArmVirtPkg/NorFlashQemuLib: disable NOR flash DT nodes upon discovery 2020-06-24 16:05:53 +00:00
PlatformBootManagerLib ArmVirtPkg: Disable the TPM2 platform hierarchy 2021-10-05 09:54:11 +00:00
PlatformPeiLib ArmVirtPkg/PlatformPeiLib: add dummy assignment to work around older GCC 2020-03-26 08:09:53 +00:00
QemuFwCfgLib ArmVirtPkg/QemuFwCfgLib: allow UEFI_DRIVER modules 2020-04-28 22:37:35 +00:00
QemuVirtMemInfoLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenArmGenericTimerVirtCounterLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenVirtMemInfoLib ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00