public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] some ARM fixes
@ 2020-01-07  9:22 Ard Biesheuvel
  2020-01-07  9:22 ` [PATCH 1/2] ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake () Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ard Biesheuvel @ 2020-01-07  9:22 UTC (permalink / raw)
  To: devel; +Cc: leif.lindholm, Ard Biesheuvel

Some preparatory fixes for TPM measured boot on ARM systems.

Patch #1 removes EnterS3WithImmediateWake() with the associated support
code from ArmSmcPsciResetSystemLib. EnterS3WithImmediateWake () is no
longer being called anywhere, and will be removed from ResetSystemLib,
and the support code dependencies on DXE facilities are preventing this
library from being used in the PEI phase, which is needed for TPM support.

Patch #2 adds the missing call to enable VFP on PrePeiCore based platforms.
This is causing TPM crypto code to blow up.

Ard Biesheuvel (2):
  ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake ()
  ArmPlatformPkg/PrePeiCore: enable VFP at startup

 ArmPkg/ArmPkg.dec                                                    |  4 --
 ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf | 17 -----
 ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf                       |  1 +
 ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf                      |  1 +
 ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c   | 66 +-------------------
 ArmPlatformPkg/PrePeiCore/PrePeiCore.c                               |  5 ++
 ArmPkg/Library/ArmSmcPsciResetSystemLib/AArch64/Reset.S              | 24 -------
 ArmPkg/Library/ArmSmcPsciResetSystemLib/AArch64/Reset.asm            | 29 ---------
 ArmPkg/Library/ArmSmcPsciResetSystemLib/Arm/Reset.S                  | 23 -------
 ArmPkg/Library/ArmSmcPsciResetSystemLib/Arm/Reset.asm                | 28 ---------
 10 files changed, 9 insertions(+), 189 deletions(-)
 delete mode 100644 ArmPkg/Library/ArmSmcPsciResetSystemLib/AArch64/Reset.S
 delete mode 100644 ArmPkg/Library/ArmSmcPsciResetSystemLib/AArch64/Reset.asm
 delete mode 100644 ArmPkg/Library/ArmSmcPsciResetSystemLib/Arm/Reset.S
 delete mode 100644 ArmPkg/Library/ArmSmcPsciResetSystemLib/Arm/Reset.asm

-- 
2.20.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-01-14 22:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07  9:22 [PATCH 0/2] some ARM fixes Ard Biesheuvel
2020-01-07  9:22 ` [PATCH 1/2] ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake () Ard Biesheuvel
2020-01-14 17:18   ` Leif Lindholm
2020-01-14 17:42     ` Ard Biesheuvel
2020-01-07  9:22 ` [PATCH 2/2] ArmPlatformPkg/PrePeiCore: enable VFP at startup Ard Biesheuvel
2020-01-14 17:33   ` Leif Lindholm
2020-01-14 16:43 ` [PATCH 0/2] some ARM fixes Ard Biesheuvel
2020-01-14 22:15   ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox