[edk2-devel] [PATCH v2 0/5] ArmVirtPkg: implement measured boot for ArmVirtQemu
Ard Biesheuvel
ard.biesheuvel at linaro.org
Tue Feb 25 10:49:43 UTC 2020
On Tue, 25 Feb 2020 at 11:45, 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 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: 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 (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/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