Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 5bea69123349ef3c02e5d8a49ceaae971975ba90
      
https://github.com/tianocore/edk2/commit/5bea69123349ef3c02e5d8a49ceaae971975ba90
  Author: Ard Biesheuvel <[email protected]>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M ArmVirtPkg/PrePi/AArch64/ArchPrePi.c
    M ArmVirtPkg/PrePi/AArch64/ModuleEntryPoint.S

  Log Message:
  -----------
  ArmVirtPkg/PrePi: Enable VFP before calling into C code

When building ArmVirtQemuKernel with CLANGDWARF (which does not require
a GCC workaround where -mgeneral-regs-only is needed to ensure
-mstrict-align works as expected), the C code invoked from the PrePi
startup code may contain instructions that access the FP/SIMD register
file. This means that the FP/SIMD must be enabled before making such
calls, and this is currently not the case. So fix that, by moving the
call to ArmEnableVFP() early into the asm startup code.

Signed-off-by: Ard Biesheuvel <[email protected]>


  Commit: 059676e4faef29ebe50549ed9cd80b6f68a0d556
      
https://github.com/tianocore/edk2/commit/059676e4faef29ebe50549ed9cd80b6f68a0d556
  Author: Ard Biesheuvel <[email protected]>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M ArmVirtPkg/ArmVirtQemu.dsc
    M ArmVirtPkg/ArmVirtQemuKernel.dsc
    A ArmVirtPkg/Library/ArmVirtQemuMonitorLib/ArmVirtQemuMonitorLib.c
    A ArmVirtPkg/Library/ArmVirtQemuMonitorLib/ArmVirtQemuMonitorLib.inf
    M ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c

  Log Message:
  -----------
  ArmVirtPkg/ArmVirtQemu: Implement ArmMonitorLib for QEMU specifically

Whether SMCCC calls use HVC or SMC generally depends on the exception
level that the firmware executes at, but also on whether or not EL2 is
implemented.

This is almost always known at build time, which is why the default
ArmMonitorLib used to model this as a feature PCD. However, on QEMU,
things are not that simple.

However, SMCCC specifies that the conduit is the same as the one used
for PSCI calls (which has been retrofitted into SMCCC when it was
defined). Given that QEMU provides this information via the device tree,
let's use it to select the conduit, using a special ArmMonitorLib
implementation.

This also removes the need to set the associated PCD at runtime, given
that its updated value will no longer be used.

Signed-off-by: Ard Biesheuvel <[email protected]>


  Commit: 7bcd49edd0a1daa23f8e910d0082abb0f9f2119d
      
https://github.com/tianocore/edk2/commit/7bcd49edd0a1daa23f8e910d0082abb0f9f2119d
  Author: Ard Biesheuvel <[email protected]>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M ArmVirtPkg/ArmVirtCloudHv.dsc
    M ArmVirtPkg/ArmVirtQemu.dsc
    M ArmVirtPkg/ArmVirtQemuKernel.dsc
    M ArmVirtPkg/ArmVirtXen.dsc
    M ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.c
    M ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf

  Log Message:
  -----------
  ArmVirtPkg: Revert "Use dynamic PCD to set the SMCCC conduit"

This reverts commit c98f7f75508912c086158892fc56b0c3b85abcf1, which is
no longer needed: the SMCCC conduit will be converted back to being
hardcoded, as PrePi based ArmVirtPkg build cannot support dynamic PCDs,
and falling back to patchable PCDs does not work either.

Signed-off-by: Ard Biesheuvel <[email protected]>


  Commit: 2c19297e6cf004379415ec1dd7f8655befe2e536
      
https://github.com/tianocore/edk2/commit/2c19297e6cf004379415ec1dd7f8655befe2e536
  Author: Ard Biesheuvel <[email protected]>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M ArmVirtPkg/ArmVirtQemu.dsc
    M ArmVirtPkg/ArmVirtQemu.fdf

  Log Message:
  -----------
  ArmVirtPkg/ArmVirtQemu: Revert "Permit the use of dynamic PCDs in PEI"

This reverts commit 865229bcc8939c7a69d525f2b0627ef1532d5bc6, and
restores the old state where dynamic PCDs are only used when TPM support
is configured.

Signed-off-by: Ard Biesheuvel <[email protected]>


  Commit: 3dcc7b73df2b1c38c3c1a31724d577f4085f3ab1
      
https://github.com/tianocore/edk2/commit/3dcc7b73df2b1c38c3c1a31724d577f4085f3ab1
  Author: Ard Biesheuvel <[email protected]>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M ArmPkg/ArmPkg.dec
    M ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.c
    M ArmVirtPkg/ArmVirt.dsc.inc
    M ArmVirtPkg/ArmVirtKvmTool.dsc

  Log Message:
  -----------
  ArmPkg: Revert "Allow SMC/HVC monitor conduit to be specified at runtime"

This reverts commit 32460bb5b17b5caec29037a4e9462ca149a190e6, which is
no longer needed as ArmVirtQemu now has its own special implementation
for ArmMonitorLib.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Ard Biesheuvel <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/ab069d580111...3dcc7b73df2b

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to