[edk2-devel] [PATCH v4 00/11] ArmVirtPkg: implement measured boot for ArmVirtQemu

Ard Biesheuvel ard.biesheuvel at linaro.org
Wed Mar 4 08:52:05 UTC 2020


On Thu, 27 Feb 2020 at 15:40, Ard Biesheuvel <ard.biesheuvel at 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 v3:
> - add Laszlo's ack to patches #3, #5, #6, #10 and #11
> - incorporate Laszlo's review feedback, including splitting off #7 and #8
>   from patch #9
>
> Changes since v2:
> - add Laszlo's ack to patches #2 and #4
> - add PcdTpm2SupportEnabled PCD declarations to all individual platforms in
>   ArmVirtPkg, even though only ArmVirtQemu really needs it
> - split patch #5 into several patches
>
> 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
>
> Code can also be found at:
> https://github.com/ardbiesheuvel/edk2/tree/armvirt-tpm
>
> Cc: lersek at redhat.com
> Cc: eric.auger at redhat.com
> Cc: philmd at redhat.com
> Cc: marcandre.lureau at redhat.com
> Cc: stefanb at linux.ibm.com
> Cc: leif at nuviainc.com
>
> Ard Biesheuvel (11):
>   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 ResetSystem PEIM for upcoming TPM2 support
>   ArmVirtPkg/ArmVirtQemu: enable TPM2 support in the PEI phase
>   ArmVirtPkg; avoid DxeTpmMeasurementLib in shared .DSC
>   ArmVirtPkg: unshare TpmMeasurementLib resolution between platforms
>   ArmVirtPkg/ArmVirtQemu: enable the DXE phase TPM2 support module
>   ArmVirtPkg/ArmVirtQemu: enable the TPM2 configuration module
>   ArmVirtPkg/ArmVirtQemu: enable TPM2 based measured boot
>

Replied to the wrong cover letter before.

*This* version is now merged as edk2-stable202002..0980779a9ddc


Thanks all.

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

View/Reply Online (#55374): https://edk2.groups.io/g/devel/message/55374
Mute This Topic: https://groups.io/mt/71587883/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list