Wire up the various existing pieces so that we can implemented measured boot on ArmVirtQemu based on the TPM support in QEMU, just like it has been implemented for x86 in OvmfPkg.
The main difference is that on ARM, we first need to discover the TPM base address from the device tree provided by QEMU, as well as the PSCI method used to perform a cold reset, so this is added to the existing implementation of PlatformPeiLib. The associated QEMU changes are under development in Linaro, and will be sent out for review to the appropriate mailing list shortly. Ard Biesheuvel (4): OvmfPkg/Tcg2ConfigPei: introduce a signalling PPI to depex on ArmVirtPkg/PlatformPeiLib: discover the TPM base address from the DT ArmVirtPkg/PlatformPeiLib: implement Reset2 PPI based on PSCI ArmVirtPkg/ArmVirtQemu: add optional support for TPM2 measured boot ArmVirtPkg/ArmVirtPkg.dec | 5 + OvmfPkg/OvmfPkg.dec | 4 + ArmVirtPkg/ArmVirtQemu.dsc | 71 +++++++ ArmVirtPkg/ArmVirtQemu.fdf | 5 + ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf | 15 +- OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | 6 +- ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c | 205 +++++++++++++++++++- ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 10 + 8 files changed, 308 insertions(+), 13 deletions(-) -- 2.20.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52972): https://edk2.groups.io/g/devel/message/52972 Mute This Topic: https://groups.io/mt/69499018/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-