Re: [edk2-devel] [PATCH] MdeModulePkg: Enable/Disable S3BootScript dynamically.

2019-09-25 Thread Chiu, Chasel
u, Chasel > Cc: Wu, Hao A ; Dong, Eric ; > Desimone, Nathaniel L ; Gao, Liming > > Subject: Re: [edk2-devel] [PATCH] MdeModulePkg: Enable/Disable > S3BootScript dynamically. > > On 09/24/19 07:54, Chiu, Chasel wrote: > > REF: https://bugzilla.tianocore.org/show_bug.c

Re: [edk2-devel] [PATCH] MdeModulePkg: Enable/Disable S3BootScript dynamically.

2019-09-24 Thread Laszlo Ersek
On 09/24/19 07:54, Chiu, Chasel wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2212 > > Current S3BootScriptLib can only support build time opt-out I think this problem statement is wrong. In the OVMF platform anyway, PiDxeS3BootScriptLib is linked into the following two modules:

[edk2-devel] [PATCH] MdeModulePkg: Enable/Disable S3BootScript dynamically.

2019-09-23 Thread Chiu, Chasel
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2212 Current S3BootScriptLib can only support build time opt-out but in binary model the same binary should support both enabling and disabling scenarios. To support this below PCD is expected to be used as DynamicPCD (or DynamicEx) to skip S3Bo