From: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: edk2-devel-groups-io <devel@edk2.groups.io>
Subject: Re: [PATCH 1/2] ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake ()
Date: Tue, 14 Jan 2020 18:42:02 +0100 [thread overview]
Message-ID: <CAKv+Gu9c2Pdb--9=dE7NG_EdbzuPYW30VaKOBNEaOXLFm-qJbQ@mail.gmail.com> (raw)
In-Reply-To: <20200114171856.GA20629@bivouac.eciton.net>
On Tue, 14 Jan 2020 at 18:18, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>
> Apologies for late response - only just got email fully back up.
> Minor comment below.
>
> On Tue, Jan 07, 2020 at 10:22:14 +0100, Ard Biesheuvel wrote:
> > EnterS3WithImmediateWake () no longer has any callers, so remove it
> > from ResetSystemLib. Note that this means the hack to support warm
> > reboot by jumping to the SEC entry point with the MMU and caches off
> > is also no longer used, and can be removed as well, along with the PCD
> > PcdArmReenterPeiForCapsuleWarmReboot that was introduced for this
> > purpose.
> >
> > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> > ---
> > ArmPkg/ArmPkg.dec | 4 --
> > ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf | 17 -----
> > ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c | 66 +-------------------
> > 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 ---------
> > 7 files changed, 2 insertions(+), 189 deletions(-)
> >
>
> > diff --git a/ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c b/ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c
> > index b2dde9bfc13a..22fcf989e903 100644
> > --- a/ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c
> > +++ b/ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.c
> > @@ -10,13 +10,10 @@
> >
> > #include <PiDxe.h>
> >
> > -#include <Library/ArmMmuLib.h>
> > -#include <Library/ArmSmcLib.h>
> > #include <Library/BaseLib.h>
> > #include <Library/DebugLib.h>
> > #include <Library/ResetSystemLib.h>
> > -#include <Library/UefiBootServicesTableLib.h>
> > -#include <Library/UefiRuntimeLib.h>
> > +#include <Library/ArmSmcLib.h>
>
> Why does ArmSmcLib.h move?
> If it is functionally required, then is there a bug in the file?
> If not, can it go back to its original spot?
> (If it can, and does, Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>)
>
I think that was a side effect of the revert. I'll put it back where it was.
Thanks,
> ((I will keep R-b:ing with that address until Maintainers.txt is
> updated.))
>
> /
> Leif
>
> >
> > #include <IndustryStandard/ArmStdSmc.h>
> >
> > @@ -76,8 +73,6 @@ ResetShutdown (
> > ArmCallSmc (&ArmSmcArgs);
> > }
> >
> > -VOID DisableMmuAndReenterPei (VOID);
> > -
> > /**
> > This function causes the system to enter S3 and then wake up immediately.
> >
next prev parent reply other threads:[~2020-01-14 17:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKv+Gu9c2Pdb--9=dE7NG_EdbzuPYW30VaKOBNEaOXLFm-qJbQ@mail.gmail.com' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox