public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Michael Kinney <michael.d.kinney@intel.com>,
	edk2-devel@ml01.01.org, "Zeng, Star" <star.zeng@intel.com>
Subject: Re: [Patch 0/3] Use PcdAcpiS3Enable in CpuS3DataDxe and PiSmmCpuDxeSmm
Date: Tue, 23 Aug 2016 09:59:43 -0400	[thread overview]
Message-ID: <db2985ba-191c-6156-1759-557e3e97bc2f@redhat.com> (raw)
In-Reply-To: <1471504170-11800-1-git-send-email-michael.d.kinney@intel.com>

On 08/18/16 03:09, Michael Kinney wrote:
> Update CpuS3DataDxe and PiSmmCpuDxeSmm to consume PcdAcpiS3Enable.
> If this PCD is disabled, then skip the S3 related logic in modules.
> Also update PiSmmCpuDxeSmm to move S3 related code to CpuS3.c.
> 
> Star Zeng (3):
>   UefiCpuPkg/CpuS3DataDxe: Consume PcdAcpiS3Enable to control the code
>   UefiCpuPkg/PiSmmCpuDxeSmm: Move S3 related code to CpuS3.c
>   UefiCpuPkg/PiSmmCpuDxeSmm: Consume PcdAcpiS3Enable to control the code
> 
>  UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c          |   5 +
>  UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf     |   2 +
>  UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c            | 381 +++++++++++++++++++++++++++
>  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c   | 324 +----------------------
>  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h   |  70 +++--
>  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf |   1 +
>  6 files changed, 442 insertions(+), 341 deletions(-)
> 

This series doesn't apply to current master (93e59f76fe50) any longer,
which I think might be due to commit eadf70bdfbc1 which I requested.

Anyway, I applied this series based off
bd0656b5e2a57b0113d230c10866826d94301b5b (selected semi-randomly, just
looking at the commit date vs. the posting date of this series), with
git-am, cleanly, and then rebased it to current master. It built okay.

I tested the series with OVMF, using 32-bit and 64-bit Fedora guests on
Q35, SMM enabled. I tested both S3-enabled and S3-disabled QEMU command
lines for both. Whenever S3 was enabled, I tested S3 suspend/resume too.
I also compared the logs before/after the series.

For all patches:
Tested-by: Laszlo Ersek <lersek@redhat.com>

For patches #1 and #3:
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

For patch #2:
Acked-by: Laszlo Ersek <lersek@redhat.com>

(I didn't review the code movement in patch #2 in detail, only skimmed it.)

Thanks
Laszlo


      parent reply	other threads:[~2016-08-23 13:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18  7:09 [Patch 0/3] Use PcdAcpiS3Enable in CpuS3DataDxe and PiSmmCpuDxeSmm Michael Kinney
2016-08-18  7:09 ` [Patch 1/3] UefiCpuPkg/CpuS3DataDxe: Consume PcdAcpiS3Enable to control the code Michael Kinney
2016-08-18  7:09 ` [Patch 2/3] UefiCpuPkg/PiSmmCpuDxeSmm: Move S3 related code to CpuS3.c Michael Kinney
2016-08-18  7:09 ` [Patch 3/3] UefiCpuPkg/PiSmmCpuDxeSmm: Consume PcdAcpiS3Enable to control the code Michael Kinney
2016-08-23 13:59 ` Laszlo Ersek [this message]

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=db2985ba-191c-6156-1759-557e3e97bc2f@redhat.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