On Tue, 25 Feb 2020 at 11:45, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote: > > Wire up the various existing pieces so that we can implement 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. > > Changes since v1: > - use a separate ResetSystemLib instance based on on-demand parsing of the > DT, and expose it via the ResetSystem PPI to other client PEIMs > - add Laszlo's ack to #1 > - incorporate Laszlo's review feedback across the board >
Forgot to include the link to the QEMU work being done by Eric in parallel: https://lists.nongnu.org/archive/html/qemu-devel/2020-02/msg03830.html > Cc: ler...@redhat.com > Cc: eric.au...@redhat.com > Cc: phi...@redhat.com > Cc: marcandre.lur...@redhat.com > Cc: stef...@linux.ibm.com > Cc: l...@nuviainc.com > > Ard Biesheuvel (5): > OvmfPkg/Tcg2ConfigPei: introduce a signalling PPI to depex on > ArmVirtPkg/PlatformPeiLib: make PcdLib dependency explicit in .INF > ArmVirtPkg/PlatformPeiLib: discover the TPM base address from the DT > ArmVirtPkg: implement ArmVirtPsciResetSystemPeiLib > ArmVirtPkg/ArmVirtQemu: add optional support for TPM2 measured boot > > ArmVirtPkg/ArmVirt.dsc.inc | 6 + > ArmVirtPkg/ArmVirtPkg.dec | 6 + > ArmVirtPkg/ArmVirtQemu.dsc | 75 ++++++ > ArmVirtPkg/ArmVirtQemu.fdf | 6 + > ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 10 + > .../ArmVirtPsciResetSystemPeiLib.c | 232 ++++++++++++++++++ > .../ArmVirtPsciResetSystemPeiLib.inf | 39 +++ > .../Library/PlatformPeiLib/PlatformPeiLib.c | 101 +++++++- > .../Library/PlatformPeiLib/PlatformPeiLib.inf | 20 +- > OvmfPkg/OvmfPkg.dec | 5 + > OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf | 6 +- > 11 files changed, 491 insertions(+), 15 deletions(-) > create mode 100644 > ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.c > create mode 100644 > ArmVirtPkg/Library/ArmVirtPsciResetSystemPeiLib/ArmVirtPsciResetSystemPeiLib.inf > > -- > 2.17.1 > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#54785): https://edk2.groups.io/g/devel/message/54785 Mute This Topic: https://groups.io/mt/71530900/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-