回复: [PATCH] Maintainers.txt: Update maintainer/reviewer roles in MdeModulePkg
gaoliming
Reviewed-by: Liming Gao <gaoliming@...>
toggle quoted messageShow quoted text
-----邮件原件-----
|
|
Re: [edk2-platforms] [PATCH V1] TigerlakeOpenBoardPkg: Remove inaccurate comment
Heng Luo
Reviewed-by: Heng Luo <heng.luo@...>
toggle quoted messageShow quoted text
-----Original Message-----
|
|
Re: [edk2-platforms] [PATCH V1] TigerlakeOpenBoardPkg: Remove inaccurate comment
Chaganty, Rangasai V
Reviewed-by: Sai Chaganty <rangasai.v.chaganty@...>
toggle quoted messageShow quoted text
-----Original Message-----
From: Desimone, Nathaniel L <nathaniel.l.desimone@...> Sent: Saturday, August 28, 2021 6:19 PM To: devel@edk2.groups.io Cc: Chaganty, Rangasai V <rangasai.v.chaganty@...>; Luo, Heng <heng.luo@...> Subject: [edk2-platforms] [PATCH V1] TigerlakeOpenBoardPkg: Remove inaccurate comment A comment in OpenBoardPkgPcd.dsc states that FSP dispatch mode is not supported, which is inaccurate. Cc: Sai Chaganty <rangasai.v.chaganty@...> Cc: Heng Luo <heng.luo@...> Signed-off-by: Nate DeSimone <nathaniel.l.desimone@...> --- .../TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc | 1 - 1 file changed, 1 deletion(-) diff --git a/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc b/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc index a048efcc18..ebbbc7b9f9 100644 --- a/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd +++ .dsc @@ -30,7 +30,6 @@ # # 0: FSP Wrapper is running in Dispatch mode. # 1: FSP Wrapper is running in API mode. - # Note: Dispatch mode is currently NOT supported for this board. # gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0 -- 2.27.0.windows.1
|
|
Re: [edk2-platforms][PATCH v1] BoardModulePkg/BoardBdsHookLib: Fix mSetupOptionNumber check
toggle quoted messageShow quoted text
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Benjamin Doron Sent: Saturday, August 28, 2021 12:42 PM To: devel@edk2.groups.io Cc: Dong, Eric <eric.dong@...>; Liming Gao <gaoliming@...>; Desimone, Nathaniel L <nathaniel.l.desimone@...> Subject: [edk2-devel] [edk2-platforms][PATCH v1] BoardModulePkg/BoardBdsHookLib: Fix mSetupOptionNumber check If CreateFvBootOption() fails, RegisterFvBootOption() will return LoadOptionNumberUnassigned, which is non-zero. Therefore, correct the check when attempting to register hotkeys, to be able to detect if UiApp is not present. Cc: Eric Dong <eric.dong@...> Cc: Liming Gao <gaoliming@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c index a07abb214913..1fd0de3961cc 100644 --- a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c +++ b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOpt +++ ion.c @@ -440,7 +440,7 @@ RegisterStaticHotkey ( // // [F2]/[F7] //- if (mSetupOptionNumber) {+ if (mSetupOptionNumber != LoadOptionNumberUnassigned) { F2.Key.ScanCode = SCAN_F2; F2.Key.UnicodeChar = CHAR_NULL; F2.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID;-- 2.31.1 -=-=-=-=-=-= Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79914): https://edk2.groups.io/g/devel/message/79914 Mute This Topic: https://groups.io/mt/85215635/1767664 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [nathaniel.l.desimone@...] -=-=-=-=-=-=
|
|
Event: TianoCore Design Meeting - APAC/NAMO - 09/03/2021
#cal-reminder
devel@edk2.groups.io Calendar <noreply@...>
Reminder: TianoCore Design Meeting - APAC/NAMO When: Where: Organizer: Ray Ni ray.ni@... Description: TOPIC
For more info, see here: https://www.tianocore.org/design-meeting/ Microsoft Teams meetingJoin on your computer or mobile appClick here to join the meeting Join with a video conferencing deviceteams@... Video Conference ID: 119 715 416 0
|
|
Re: [edk2-platforms][PATCH v1] BoardModulePkg/BoardBdsHookLib: Fix mSetupOptionNumber check
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@...>
toggle quoted messageShow quoted text
-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Benjamin Doron Sent: Saturday, August 28, 2021 12:42 PM To: devel@edk2.groups.io Cc: Dong, Eric <eric.dong@...>; Liming Gao <gaoliming@...>; Desimone, Nathaniel L <nathaniel.l.desimone@...> Subject: [edk2-devel] [edk2-platforms][PATCH v1] BoardModulePkg/BoardBdsHookLib: Fix mSetupOptionNumber check If CreateFvBootOption() fails, RegisterFvBootOption() will return LoadOptionNumberUnassigned, which is non-zero. Therefore, correct the check when attempting to register hotkeys, to be able to detect if UiApp is not present. Cc: Eric Dong <eric.dong@...> Cc: Liming Gao <gaoliming@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c index a07abb214913..1fd0de3961cc 100644 --- a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c +++ b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOpt +++ ion.c @@ -440,7 +440,7 @@ RegisterStaticHotkey ( // // [F2]/[F7] //- if (mSetupOptionNumber) {+ if (mSetupOptionNumber != LoadOptionNumberUnassigned) { F2.Key.ScanCode = SCAN_F2; F2.Key.UnicodeChar = CHAR_NULL; F2.KeyState.KeyShiftState = EFI_SHIFT_STATE_VALID;-- 2.31.1 -=-=-=-=-=-= Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79914): https://edk2.groups.io/g/devel/message/79914 Mute This Topic: https://groups.io/mt/85215635/1767664 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [nathaniel.l.desimone@...] -=-=-=-=-=-=
|
|
[edk2-platforms] [PATCH V1] TigerlakeOpenBoardPkg: Remove inaccurate comment
A comment in OpenBoardPkgPcd.dsc states that FSP
dispatch mode is not supported, which is inaccurate. Cc: Sai Chaganty <rangasai.v.chaganty@...> Cc: Heng Luo <heng.luo@...> Signed-off-by: Nate DeSimone <nathaniel.l.desimone@...> --- .../TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc | 1 - 1 file changed, 1 deletion(-) diff --git a/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc b/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc index a048efcc18..ebbbc7b9f9 100644 --- a/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc +++ b/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/OpenBoardPkgPcd.dsc @@ -30,7 +30,6 @@ # # 0: FSP Wrapper is running in Dispatch mode. # 1: FSP Wrapper is running in API mode. - # Note: Dispatch mode is currently NOT supported for this board. # gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0 -- 2.27.0.windows.1
|
|
Re: [edk2-platforms][PATCH v1 1/4] KabylakeOpenBoardPkg/Acpi: BoardAcpiDxe also installs all PcdAcpiTableStorageFile
Benjamin Doron
Hi Nate,
Thanks for the feedback on this patchset, I've addressed it in V2.
|
|
[edk2-platforms][PATCH v2 4/4] WhiskeylakeOpenBoardPkg/Acpi: BoardAcpiDxe also installs all PcdAcpiTableStorageFile
Benjamin Doron
Follow AcpiPlatformDxe (from which this module is derived) and install
all ACPI tables added by board. Cc: Chasel Chiu <chasel.chiu@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c = | 15 ++++++++++++++- Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf = | 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/Board= AcpiDxe.c b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardA= cpiDxe.c index cb5f328a3909..c8c1e0cc2cf2 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .c +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .c @@ -270,7 +270,20 @@ InstallAcpiBoard ( //=0D // Platform ACPI Tables=0D //=0D - PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + Status =3D PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((DEBUG_ERROR, "Error: PublishAcpiTablesFromFv[%g] - %r", &gEfiC= allerIdGuid, Status));=0D + }=0D + Status =3D PublishAcpiTablesFromFv (PcdGetPtr (PcdAcpiTableStorageFile))= ;=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((=0D + DEBUG_ERROR,=0D + "Error: PublishAcpiTablesFromFv[%g] - %r",=0D + PcdGetPtr (PcdAcpiTableStorageFile),=0D + Status=0D + ));=0D + DEBUG ((DEBUG_INFO, "Does board contain ACPI tables?\n"));=0D + }=0D =0D //=0D // This protocol publish must be done after PublishAcpiTablesFromFv.=0D diff --git a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/Board= AcpiDxe.inf b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/Boar= dAcpiDxe.inf index af5c8f1c0609..f17fb588ddb8 100644 --- a/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .inf +++ b/Platform/Intel/WhiskeylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .inf @@ -60,6 +60,8 @@ gWhiskeylakeOpenBoardPkgTokenSpaceGuid.PcdDisablePassiveTripPoints=0D gWhiskeylakeOpenBoardPkgTokenSpaceGuid.PcdDisableCriticalTripPoints=0D =0D + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile=0D +=0D [Depex]=0D gEfiAcpiTableProtocolGuid AND=0D gEfiFirmwareVolume2ProtocolGuid AND=0D --=20 2.31.1
|
|
[edk2-platforms][PATCH v2 3/4] MinPlatformPkg/Acpi: MinDsdt also installs all PcdAcpiTableStorageFile
Benjamin Doron
Follow AcpiPlatformDxe (from which this module is derived) and install
all ACPI tables added by board. Cc: Chasel Chiu <chasel.chiu@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Cc: Liming Gao <gaoliming@...> Cc: Eric Dong <eric.dong@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c | 10 ++++++++++ Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf | 3 +++ 2 files changed, 13 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c b/Platfor= m/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c index 9bc222453857..ac343afca7d4 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c +++ b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.c @@ -227,6 +227,16 @@ InstallMinDsdt ( =0D Status =3D PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D ASSERT_EFI_ERROR (Status);=0D + Status =3D PublishAcpiTablesFromFv (PcdGetPtr (PcdAcpiTableStorageFile))= ;=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((=0D + DEBUG_ERROR,=0D + "Error: PublishAcpiTablesFromFv[%g] - %r",=0D + PcdGetPtr (PcdAcpiTableStorageFile),=0D + Status=0D + ));=0D + DEBUG ((DEBUG_INFO, "Does board contain ACPI tables?\n"));=0D + }=0D =0D return EFI_SUCCESS;=0D }=0D diff --git a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf b/Platf= orm/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf index 3437bc489cd3..dc32186eb361 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf +++ b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf @@ -21,6 +21,7 @@ =0D [Packages]=0D MdePkg/MdePkg.dec=0D + MdeModulePkg/MdeModulePkg.dec=0D MinPlatformPkg/MinPlatformPkg.dec=0D =0D [LibraryClasses]=0D @@ -41,6 +42,8 @@ gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemBase=0D gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemLimit=0D =0D + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile=0D +=0D [Depex]=0D gEfiAcpiTableProtocolGuid AND=0D gEfiFirmwareVolume2ProtocolGuid=0D --=20 2.31.1
|
|
[edk2-platforms][PATCH v2 2/4] CometlakeOpenBoardPkg/Acpi: BoardAcpiDxe also installs all PcdAcpiTableStorageFile
Benjamin Doron
Follow AcpiPlatformDxe (from which this module is derived) and install
all ACPI tables added by board. Cc: Chasel Chiu <chasel.chiu@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Cc: Rangasai V Chaganty <rangasai.v.chaganty@...> Cc: Deepika Kethi Reddy <deepika.kethi.reddy@...> Cc: Kathappan Esakkithevar <kathappan.esakkithevar@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c | = 15 ++++++++++++++- Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf | = 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAc= piDxe.c b/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiD= xe.c index 7fc71bca644a..ba59c84fd4ba 100644 --- a/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c +++ b/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c @@ -270,7 +270,20 @@ InstallAcpiBoard ( //=0D // Platform ACPI Tables=0D //=0D - PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + Status =3D PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((DEBUG_ERROR, "Error: PublishAcpiTablesFromFv[%g] - %r", &gEfiC= allerIdGuid, Status));=0D + }=0D + Status =3D PublishAcpiTablesFromFv (PcdGetPtr (PcdAcpiTableStorageFile))= ;=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((=0D + DEBUG_ERROR,=0D + "Error: PublishAcpiTablesFromFv[%g] - %r",=0D + PcdGetPtr (PcdAcpiTableStorageFile),=0D + Status=0D + ));=0D + DEBUG ((DEBUG_INFO, "Does board contain ACPI tables?\n"));=0D + }=0D =0D //=0D // This protocol publish must be done after PublishAcpiTablesFromFv.=0D diff --git a/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAc= piDxe.inf b/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcp= iDxe.inf index 09b67376fbc1..e201964a6896 100644 --- a/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.i= nf +++ b/Platform/Intel/CometlakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.i= nf @@ -62,6 +62,8 @@ gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemBase=0D gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemLimit=0D =0D + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile=0D +=0D [Depex]=0D gEfiAcpiTableProtocolGuid AND=0D gEfiFirmwareVolume2ProtocolGuid AND=0D --=20 2.31.1
|
|
[edk2-platforms][PATCH v2 1/4] KabylakeOpenBoardPkg/Acpi: BoardAcpiDxe also installs all PcdAcpiTableStorageFile
Benjamin Doron
Follow AcpiPlatformDxe (from which this module is derived) and install
all ACPI tables added by board. Cc: Chasel Chiu <chasel.chiu@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c | 1= 5 ++++++++++++++- Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf | = 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcp= iDxe.c b/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe= .c index 0361ffc2fbf9..c6df1714af9a 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c +++ b/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.c @@ -288,7 +288,20 @@ InstallAcpiBoard ( //=0D // Platform ACPI Tables=0D //=0D - PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + Status =3D PublishAcpiTablesFromFv (&gEfiCallerIdGuid);=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((DEBUG_ERROR, "Error: PublishAcpiTablesFromFv[%g] - %r", &gEfiC= allerIdGuid, Status));=0D + }=0D + Status =3D PublishAcpiTablesFromFv (PcdGetPtr (PcdAcpiTableStorageFile))= ;=0D + if (EFI_ERROR (Status)) {=0D + DEBUG ((=0D + DEBUG_ERROR,=0D + "Error: PublishAcpiTablesFromFv[%g] - %r",=0D + PcdGetPtr (PcdAcpiTableStorageFile),=0D + Status=0D + ));=0D + DEBUG ((DEBUG_INFO, "Does board contain ACPI tables?\n"));=0D + }=0D =0D //=0D // This protocol publish must be done after PublishAcpiTablesFromFv.=0D diff --git a/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcp= iDxe.inf b/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiD= xe.inf index 5d3d4c3a2b33..7b400cf967f3 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf +++ b/Platform/Intel/KabylakeOpenBoardPkg/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf @@ -67,6 +67,8 @@ gKabylakeOpenBoardPkgTokenSpaceGuid.PcdDisablePassiveTripPoints=0D gKabylakeOpenBoardPkgTokenSpaceGuid.PcdDisableCriticalTripPoints=0D =0D + gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile=0D +=0D [Depex]=0D gEfiAcpiTableProtocolGuid AND=0D gEfiFirmwareVolume2ProtocolGuid AND=0D --=20 2.31.1
|
|
[edk2-platforms][PATCH v1] BoardModulePkg/BoardBdsHookLib: Fix mSetupOptionNumber check
Benjamin Doron
If CreateFvBootOption() fails, RegisterFvBootOption() will return
LoadOptionNumberUnassigned, which is non-zero. Therefore, correct the check when attempting to register hotkeys, to be able to detect if UiApp is not present. Cc: Eric Dong <eric.dong@...> Cc: Liming Gao <gaoliming@...> Cc: Nate DeSimone <nathaniel.l.desimone@...> Signed-off-by: Benjamin Doron <benjamin.doron00@...> --- Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption.c | = 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBoo= tOption.c b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBoot= Option.c index a07abb214913..1fd0de3961cc 100644 --- a/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption= .c +++ b/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBootOption= .c @@ -440,7 +440,7 @@ RegisterStaticHotkey ( //=0D // [F2]/[F7]=0D //=0D - if (mSetupOptionNumber) {=0D + if (mSetupOptionNumber !=3D LoadOptionNumberUnassigned) {=0D F2.Key.ScanCode =3D SCAN_F2;=0D F2.Key.UnicodeChar =3D CHAR_NULL;=0D F2.KeyState.KeyShiftState =3D EFI_SHIFT_STATE_VALID;=0D --=20 2.31.1
|
|
[edk2-platforms] [BUG] Some Features/Intel PCDs include all the duplicate modules
Benjamin Doron
Hi all,
As I noted in a previous patch, there is a bug in AcpiDebugFeaturePkg where if both the DXE and SMM modules are included, two ACPI tables will be installed with colliding definitions. The default case when enabling the feature is to include both versions. I have a patch to retrieve the DXE instance's buffer into the SMM module for the SW SMI to use, but this doesn't work yet as gEfiSmmEndOfDxeProtocolGuid executes before gEfiEndOfDxeEventGroupGuid, so the buffer has not yet been allocated. However, it seems as though these modules may be designed to work independently: the DXE version works now that there aren't duplicate ACPI tables. Perhaps the SMM version also worked originally. There is a similar issue in UserAuthFeaturePkg, where UserAuthenticationDxe and UserAuthentication2Dxe seem to largely perform the same functions (but I may not have looked closely enough), but UserAuthentication2Dxe uses UserPasswordLib rather than UserAuthenticationDxePassword.c. Again, both modules are included by default when the PCD is enabled, and the result is that two forms are installed into UiApp. Are AcpiDebugDxe/AcpiDebugSmm and UserAuthenticationDxe/UserAuthentication2Dxe supposed to be used separately? If so, should I submit a patch to enable only one version being included by *Pkg/Include/*.fdf? Regards, Benjamin
|
|
Re: [PATCH] SecurityPkg/Tcg: remove TcgMorLockSmm driver
Qi Zhang
toggle quoted messageShow quoted text
-----Original Message-----
|
|
Re: [PATCH v5 0/7] add support for virtio-mmio 1.0
Yao, Jiewen
Hi Gerd
toggle quoted messageShow quoted text
Have you run CI and ensure this patch series can pass CI ?
-----Original Message-----
|
|
Re: [PATCH 0/2] BaseTools: Switch ARM/AARCH64 CI gcc from Linaro to Arm
Rebecca Cran
On 8/27/2021 1:31 PM, Ard Biesheuvel wrote:
On Thu, 26 Aug 2021 at 23:03, Rebecca Cran <rebecca@...> wrote:Ah, I see why that's a problem now. The path is constructed in BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py:I've created a ticket in Bugzilla:You are changing the compiler from # make GCC5_ARM_PREFIX to align with tools_def.txt prefix = os.path.join(install_path, "bin", "arm-linux-gnueabihf-") shell_environment.GetEnvironment().set_shell_var("GCC5_ARM_PREFIX", prefix) That explains why it worked on my machine where GCC5_ARM_PREFIX and GCC5_AARCH64_PREFIX are already set. -- Rebecca Cran
|
|
[PATCH] CryptoPkg/BaseCryptLib: Eliminate extra buffer copy in Pkcs7Verify()
Bob Morgan
Create a read-only openSSL BIO wrapper for the existing input
buffer passed to Pkcs7Verify() instead of copying the buffer into an empty writable BIO which causes memory allocations within openSSL. Signed-off-by: Bob Morgan <bobm@...> --- CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c index d99597d181..8eda98f7b2 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyCommon.c @@ -864,15 +864,11 @@ Pkcs7Verify ( // For generic PKCS#7 handling, InData may be NULL if the content is present // in PKCS#7 structure. So ignore NULL checking here. // - DataBio = BIO_new (BIO_s_mem ()); + DataBio = BIO_new_mem_buf (InData, (int) DataLength); if (DataBio == NULL) { goto _Exit; } - if (BIO_write (DataBio, InData, (int) DataLength) <= 0) { - goto _Exit; - } - // // Allow partial certificate chains, terminated by a non-self-signed but // still trusted intermediate certificate. Also disable time checks. -- 2.17.1
|
|
Re: OVMF: NV Variable Store Layout of Larger Build Targets
Ard Biesheuvel
(+ Gerd)
On Sat, 21 Aug 2021 at 03:10, Devon Bautista <dbautista@...> wrote:
For reference, here is a summary of which sections increased when the 4MiB build target was added (taken from commit b24fca05) after the previous 2MiB limit:
|
|
Re: [PATCH v4 0/7] add support for virtio-mmio 1.0
Ard Biesheuvel
On Fri, 27 Aug 2021 at 15:42, Gerd Hoffmann <kraxel@...> wrote:
FYI this is actually a supported and recommended way of doing things: any user can send PRs and the CI will run on them. Only maintainers can do so and set the 'pull' label, in which case the PR will get merged if all CI checks pass.
|
|