From: Ard Biesheuvel
There is a pattern that has been copy-pasted a number of times where a
missing references in the INFs [Ppis] section is 'fixed' by creating a
local GUID variable. Fix all of those.
This is just a janitorial patch with no functional changes so fixing all
of these in one go.
From: Ard Biesheuvel
The original EDK2 port to 32-bit ARM supported multi-core but on today's
ARM systems, only a single CPU enters the non-secure firmware and the
MPCore drivers are obsolete.
Stop using them in edk2-platforms so we can remove them entirely from
edk2.
Cc: Leif Lindholm
Cc:
From: Ard Biesheuvel
Spec adherent AArch64 systems use PSCI to manage secondary CPUs, and
only enter the execution level where UEFI and the OS live using a single
CPU.
This means using a SEC implementation of the MPCore variety is never
needed, and in practice, those drivers don't work
From: Ard Biesheuvel
Spec adherent AArch64 systems use PSCI to manage secondary CPUs, and
only enter the execution level where UEFI and the OS live using a single
CPU.
This means using a SEC implementation of the MPCore variety is never
needed, and in practice, those drivers don't work
From: Ard Biesheuvel
Spec adherent AArch64 systems use PSCI to manage secondary CPUs, and
only enter the execution level where UEFI and the OS live using a single
CPU.
This means using a SEC implementation of the MPCore variety is never
needed, and in practice, those drivers don't work
From: Ard Biesheuvel
Duplicate the logic that is triggered on a system reset into the
platform boot manager driver, and hook it up to the EDK2 platform
specific reset notification driver. This is supported by generic EDK2
code in MdeModulePkg, allowing us to retire the platform-specific
From: Ard Biesheuvel
gArmTokenSpaceGuid.PcdArmArchTimerFreqInHz was made obsolete as AArch64
firmware runs in the non-secure world while programming the timer
frequency must be done from the secure world.
Drop some remaining references to the PCD.
Signed-off-by: Ard Biesheuvel
---
From: Ard Biesheuvel
Remove references to the MPCore stack from platforms that do not use the
MPCore SEC implementations to begin with.
Signed-off-by: Ard Biesheuvel
---
Platform/ARM/Morello/MorelloPlatform.dsc.inc| 2 --
Platform/ARM/SgiPkg/SgiPlatform.dsc.inc
From: Ard Biesheuvel
Drop the reference to the special reset runtime DXE driver in
EmbeddedPkg, and move to the one in MdeModulePkg shared between all
architectures. This version implements reset notifications, allowing us
to retire the home grown version of that functionality in a subsequent
From: Ard Biesheuvel
Drop the now unused EfiResetSystemLib implementation, which has been
superseded by the generic one from EDK2.
Signed-off-by: Ard Biesheuvel
Reviewed-by: Leif Lindholm
---
Platform/RaspberryPi/RaspberryPi.dec | 1 -
From: Ard Biesheuvel
The VarBlockServiceDxe driver needs to be dispatched before the common
VariableRuntimeDxe, but we are currently relying on FDF order and lack
of transitive dependencies for this, which is fragile, and will break
once we move to the generic reset runtime.
So use the existing
From: Ard Biesheuvel
The DumpVars() routine is called directly and via an event notification
callback, and the latter therefore defines the function's prototype,
even though the arguments are unused.
We will introduce another callback into this logic, but via a reset
notifier, which has yet
From: Ard Biesheuvel
Get rid of spurious LF-only line endings.
Signed-off-by: Ard Biesheuvel
Reviewed-by: Leif Lindholm
---
Platform/RaspberryPi/RPi3/RPi3.dsc | 2 +-
Platform/RaspberryPi/RPi4/RPi4.dsc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Ard Biesheuvel
In addition to setting up the home grown reset notification, register
with the generic EFI protocol that does the same. This event is
triggered from the reset runtime implemented in MdeModulePkg, to which
we will be switching the RPi platforms in a subsequent patch.
From: Ard Biesheuvel
Mark RAM ranges as write/execute protectable in the GCD memory map. This
is needed to avoid issues with NonCoherentDmaLib in EmbeddedPkg, which
will fail if it does not manage to set the EFI_MEMORY_XP attribute on
the allocated DMA buffers.
Signed-off-by: Ard Biesheuvel
From: Ard Biesheuvel
The EmbeddedPkg runtime DXE is being retired in favour of the generic
one in MdeModulePkg which is actually being maintained.
RPi uses this driver and the associated EfiResetSystemLib, of which it
has an implementation with value-add for reset notification. So this
logic
From: Ard Biesheuvel
Drop the now unused EfiResetSystemLib implementation, which has been
superseded by the generic one from EDK2.
Signed-off-by: Ard Biesheuvel
---
Platform/RaspberryPi/RaspberryPi.dec | 1 -
From: Ard Biesheuvel
Drop the reference to the special reset runtime DXE driver in
EmbeddedPkg, and move to the one in MdeModulePkg shared between all
architectures. This version implements reset notifications, allowing us
to retire the home grown version of that functionality in a subsequent
From: Ard Biesheuvel
Duplicate the logic that is triggered on a system reset into the
platform boot manager driver, and hook it up to the EDK2 platform
specific reset notification driver. This is supported by generic EDK2
code in MdeModulePkg, allowing us to retire the platform-specific
From: Ard Biesheuvel
The EmbeddedPkg runtime DXE is being retired in favour of the generic
one in MdeModulePkg which is actually being maintained.
RPi uses this driver and the associated EfiResetSystemLib, of which it
has an implementation with value-add for reset notification. So this
logic
From: Ard Biesheuvel
The DumpVars() routine is called directly and via an event notification
callback, and the latter therefore defines the function's prototype,
even though the arguments are unused.
We will introduce another callback into this logic, but via a reset
notifier, which has yet
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
In addition to setting up the home grown reset notification, register
with the generic EFI protocol that does the same. This event is
triggered from the reset runtime implemented in MdeModulePkg, to which
we will be switching the RPi platforms in a subsequent patch.
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
Drop the CLANG3x build options, and add ones for CLANGDWARF so that
SynQuacer based platforms can be built with it.
Instead of copying the -no-integrated-as option that CLANG3x used, let's
fix the assembler code so it can be built with Clang's integrated
assembler. Also
From: Ard Biesheuvel
ArmSmcPsciResetSystemLib is being replaced with a generic implementation
that is shared between physical and virtual placement, executing at
either EL2 or EL1.
So update all library class resolutions for ResetSystemLib and provide
additional resolutions for its dependency
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move this platform to the generic ArmPsciResetSystemLib, and drop the
dependency on
From: Ard Biesheuvel
The PSCI reset libraries in ArmPkg are being consolidated into a single
one to reduce the maintenance burden of having multiple libraries doing
the same thing in a slightly different way.
Move the ARM platforms to the generic ArmPsciResetSystemLib, and drop
the dependency
From: Ard Biesheuvel
Fix some instances of a lone LF in DSCs that should all be CR-LF
entirely.
Signed-off-by: Ard Biesheuvel
---
Silicon/Hisilicon/Hisilicon.dsc.inc | 2 +-
Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 2 +-
From: Ard Biesheuvel
The reset runtime DXE driver is deprecated and will be removed soon. It
is superseded by a generic implementation in MdeModulePkg, which is
shared between all architectures, and implements the notification
protocols that the EFI spec describes. So move the Phytium Durian
From: Ard Biesheuvel
The LoongArchQemuPkg platforms do not include any drivers that depend on
a resolution for EfiResetSystemLib, and the provided resolutions of that
library class do not refer to libraries of the correct type anyway.
So just drop the bogus resolutions entirely.
Signed-off-by:
From: Ard Biesheuvel
The reset runtime DXE driver is deprecated and will be removed soon. It
is superseded by a generic implementation in MdeModulePkg, which is
shared between all architectures, and implements the notification
protocols that the EFI spec describes. So move the Ampere Jade
From: Ard Biesheuvel
Replace references to ArmPsciResetSystemLib, which implements the
deprecated EfiResetSystemLib library class which is consumed only by
the ResetRuntimeDxe in EmbeddedPkg, which should no longer be used.
Cc: Leif Lindholm
Cc: Oliver Smith-Denny
Cc: Rebecca Cran
Cc: Nhi
From: Ard Biesheuvel
Fix incorrect LFs in DSCs that should be CR-LF only.
Signed-off-by: Ard Biesheuvel
---
Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dsc.inc | 2 +-
Platform/Loongson/LoongArchQemuPkg/Loongson.dsc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
From: Ard Biesheuvel
The optimization that enabled entry with MMU and caches enabled at EL1
removed the strict alignment requirement for XIP code (roughly, any code
that might execute with the MMU and caches off, which means SEC and PEI
phase modules but also *all* BASE libraries), on the basis
From: Ard Biesheuvel
NonCoherentIoMmuSetAttribute() does nothing except return
EFI_UNSUPPORTED. This was fine when it was introduced, but now, the PCI
bus driver will fail a PCI I/O Map() operation if the SetAttributes
fails.
So return EFI_SUCCESS instead.
Signed-off-by: Ard Biesheuvel
---
From: Ard Biesheuvel
The DEBUG build no longer fits when all build options used by the
release script on github.com/pftf are used, presumably due to the
OpenSSL upgrade.
So bump the size for all builds.
Signed-off-by: Ard Biesheuvel
---
Platform/RaspberryPi/RPi4/RPi4.fdf | 14 +++---
From: Ard Biesheuvel
Remove me as reviewer for ARM development platforms: I am no longer
employed by ARM and have no access to or knowledge about ARM
development/reference hardware.
Signed-off-by: Ard Biesheuvel
---
Maintainers.txt | 1 -
1 file changed, 1 deletion(-)
diff --git
From: Ard Biesheuvel
Drop the CLANG3x build options, and add ones for CLANGDWARF so that
SynQuacer based platforms can be built with it.
Instead of copying the -no-integrated-as option that CLANG3x used, let's
fix the assembler code so it can be built with Clang's integrated
assembler. Also
From: Ard Biesheuvel
AMD Seattle support in edk2-platforms is implemented using a number of
closed source components delivered as binary drivers via edk2-non-osi,
some of which have dependencies on internal EDK2 APIs that are not
considered stable, and some of which have evolved over the years
From: Ard Biesheuvel
Jake reports that the IS_ARM_MEMORY_REGION_ATTRIBUTES_SECURE() macro is
no longer accurate since commit 852227a9d52e3cb9 ("ArmPkg/Mmu: Remove
handling of NONSECURE memory regions").
Fortunately, it only affects the NS bit in level 1 short descriptors,
which is ignored when
46 matches
Mail list logo