public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Guo, Mang" <mang.guo@intel.com>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Wei, David" <david.wei@intel.com>
Subject: Re: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix SMM stack size issue
Date: Thu, 31 May 2018 06:48:25 +0000	[thread overview]
Message-ID: <22D2C85ED001C54AA20BFE3B0E4751D15268D7AA@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <E92EE9817A31E24EB0585FDF735412F5B8A62B5F@ORSMSX113.amr.corp.intel.com>

Hi Mike,

Old SMM stack size was 0x2000 which was not enough for Windows 10 16299 version. Because this version OS needs larger SMM stack size to set variable.
SMM stack size was changed from 0x2000 to 0x4000 to fix this issue.

Updated the patch to provide a complete description of the change in the commit message. 


Thanks,
Mang


-----Original Message-----
From: Kinney, Michael D 
Sent: Wednesday, May 30, 2018 11:13 PM
To: Guo, Mang; edk2-devel@lists.01.org; Kinney, Michael D
Cc: Wei, David
Subject: RE: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix SMM stack size issue

Guo,

Can you please provide the old size and
the new size in the commit message?

Also, what changed that required a larger
stack?

Thanks,

Mike

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-
> bounces@lists.01.org] On Behalf Of Guo, Mang
> Sent: Wednesday, May 30, 2018 2:13 AM
> To: edk2-devel@lists.01.org
> Cc: Wei, David <david.wei@intel.com>
> Subject: [edk2] [Patch][edk2-platforms/devel-
> MinnowBoardMax-UDK2017] Fix SMM stack size issue
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> 
> Signed-off-by: Guo Mang <mang.guo@intel.com>
> ---
>  Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
> b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
> index 6ebbb66..7f44f0a 100644
> --- a/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
> +++ b/Vlv2TbltDevicePkg/PlatformPkgX64.dsc
> @@ -1437,7 +1437,12 @@
> $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/
> IA32/fTPMInitPeim.inf
>    #
>    MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
>    MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
> -  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
> +  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
> +   <PcdsFixedAtBuild>
> +
> gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmStackSize|0x4000
> +  }
> +
> +
>    UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
> 
> MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
>    UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
> --
> 2.10.1.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2018-05-31  6:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-30  9:12 [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Fix SMM stack size issue Guo, Mang
2018-05-30 15:12 ` Kinney, Michael D
2018-05-31  6:48   ` Guo, Mang [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=22D2C85ED001C54AA20BFE3B0E4751D15268D7AA@SHSMSX103.ccr.corp.intel.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