Add support for PersistAcrossReset capsules, by setting the associated
PCD, and by enabling the warm reboot implementation that reenters PEI
with interrupts, caches and MMU disabled.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
index 300e3fd656a5..1476257acce1 100644
--- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
+++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc
@@ -226,11 +226,8 @@ [PcdsFeatureFlag]
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE
- #
- # This requires support in ARM Trusted Firmware and SCP for warm reset,
- # so disable for now
- #
- gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE
+ gArmTokenSpaceGuid.PcdArmReenterPeiForCapsuleWarmReboot|TRUE
+ gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
# needed for NFIT tables installed by RamDiskDxe
gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
--
2.17.0
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
On Thu, Jun 07, 2018 at 01:32:01PM +0200, Ard Biesheuvel wrote: > Add support for PersistAcrossReset capsules, by setting the associated > PCD, and by enabling the warm reboot implementation that reenters PEI > with interrupts, caches and MMU disabled. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> Feel free to push this one separately once everything is in place to do so. > --- > Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > index 300e3fd656a5..1476257acce1 100644 > --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc > @@ -226,11 +226,8 @@ [PcdsFeatureFlag] > gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE > gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE > > - # > - # This requires support in ARM Trusted Firmware and SCP for warm reset, > - # so disable for now > - # > - gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE > + gArmTokenSpaceGuid.PcdArmReenterPeiForCapsuleWarmReboot|TRUE > + gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE > > # needed for NFIT tables installed by RamDiskDxe > gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE > -- > 2.17.0 > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
On 15 June 2018 at 19:22, Leif Lindholm <leif.lindholm@linaro.org> wrote: > On Thu, Jun 07, 2018 at 01:32:01PM +0200, Ard Biesheuvel wrote: >> Add support for PersistAcrossReset capsules, by setting the associated >> PCD, and by enabling the warm reboot implementation that reenters PEI >> with interrupts, caches and MMU disabled. >> >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> > > Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> > Thanks. > Feel free to push this one separately once everything is in place to > do so. > Pushed as f65939a9d98b283351fa5b9d62a8d49c42143b4f >> --- >> Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 7 ++----- >> 1 file changed, 2 insertions(+), 5 deletions(-) >> >> diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc >> index 300e3fd656a5..1476257acce1 100644 >> --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc >> +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc >> @@ -226,11 +226,8 @@ [PcdsFeatureFlag] >> gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE >> gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE >> >> - # >> - # This requires support in ARM Trusted Firmware and SCP for warm reset, >> - # so disable for now >> - # >> - gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE >> + gArmTokenSpaceGuid.PcdArmReenterPeiForCapsuleWarmReboot|TRUE >> + gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE >> >> # needed for NFIT tables installed by RamDiskDxe >> gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE >> -- >> 2.17.0 >> _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
© 2016 - 2024 Red Hat, Inc.