Re: [edk2-devel] [PATCH V7 07/10] MdeModulePkg/Variable: Add RT GetVariable() cache support

2019-11-01 Thread Wang, Jian J
I've given R-b for other patches in this series. I just give R-b this one which is only changed in v7. Reviewed-by: Jian J Wang Regards, Jian > -Original Message- > From: Kubacki, Michael A > Sent: Saturday, November 02, 2019 1:35 AM > To: devel@edk2.groups.io > Cc: Bi, Dandan ; Ard

Re: [edk2-devel] [Patch v3 00/22] Enable Phase 1 of EDK II CI

2019-11-01 Thread Michael D Kinney
Hi Laszlo, Everything is back online now. Will be doing more extensive CI unit tests next. If there is a merge conflict at the time the PR is submitted you should be notified by email. I think you ran into what should be an impossible case when the service is running correctly. The fact it

[edk2-devel] [edk2-rfc] [edk2-platforms] Add Features directory

2019-11-01 Thread Kubacki, Michael A
Hello, This RFC proposes adding a new directory to edk2-platforms called "Features". The purpose of this directory is to add support code for platform features. Intel would like to maintain features in the form of feature packages in which a feature may be composed of multiple libraries, modules,

[edk2-devel] [edk2-platforms] [PATCH v2] SimicsOpenBoardPkg: Add CmosAccessLib to BoardX58Ich10

2019-11-01 Thread Agyeman, Prince
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2164 Replaced Cmos.c and Cmos.h with BoardModulePkg's Cmos library CmosAccessLib Cc: Ankit Sinha Cc: Nate DeSimone Cc: Kubacki Michael A Signed-off-by: Prince Agyeman --- .../BoardInitLib/PeiX58Ich10InitPreMemLib.c | 46 ---

Re: [edk2-devel] [PATCH v4] CryptoPkg: Upgrade OpenSSL to 1.1.1d

2019-11-01 Thread Wang, Jian J
Laszlo, You're right. I'll do more tests for secure boot. I'll leave https boot to you. Regards, Jian > -Original Message- > From: Laszlo Ersek > Sent: Saturday, November 02, 2019 6:03 AM > To: Wang, Jian J ; Zhang, Shenglei > ; devel@edk2.groups.io > Cc: Lu, XiaoyuX ; Gao, Liming >

Re: [edk2-devel] [Patch v3 00/22] Enable Phase 1 of EDK II CI

2019-11-01 Thread Laszlo Ersek
On 11/01/19 23:39, Laszlo Ersek wrote: > * When I submitted PR#87, there had been no conflicts; the PR was simply > blocked on the CI tasks. Now, there are conflicts (I assume due to > intervening pushes, while my PR#87 was blocked). It's useful that the > WebUI points out this change in the

Re: [edk2-devel] [PATCH V7 00/10] UEFI Variable SMI Reduction

2019-11-01 Thread Kubacki, Michael A
Hi Laszlo, I did not make any changes to the OvmfPkg patch and I forgot to carry forward the R-b. I'll keep that in mind in the future. For V7, I request the MdeModulePkg maintainers please add the R-b for the patches not changed. If this is not acceptable, I will be happy to send out a patch

Re: [edk2-devel] [PATCH] Support skipping automatic BM enumeration

2019-11-01 Thread Laszlo Ersek
On 11/01/19 23:05, Ashish Singhal wrote: > Please refer to https://edk2.groups.io/g/devel/message/49627 for the patch. Thanks! The subject line is: [PATCH] MdeModulePkg/UefiBootManagerLib: Support skipping BM enumeration This looks like a glitch to me -- a failure to reflect your message to

Re: [edk2-devel] [Patch v3 00/22] Enable Phase 1 of EDK II CI

2019-11-01 Thread Laszlo Ersek
Hi Mike, On 11/01/19 06:03, Kinney, Michael D wrote: > Hi Laszlo, > > === > Note for all reviewers: > --- > Pull requests against edk2-staging/edk2-ci are not > being processed right now. We are

Re: [edk2-devel] [PATCH V7 00/10] UEFI Variable SMI Reduction

2019-11-01 Thread Laszlo Ersek
Hello Michael, On 11/01/19 18:34, Michael Kubacki wrote: > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2220 > > V7 Changes: > [PATCH V6 07/10] MdeModulePkg/Variable: Add RT GetVariable() cache support > * Remove VariableRuntimeCache.c and VariableRuntimeCache.h from >

Re: [edk2-devel] [PATCH] Support skipping automatic BM enumeration

2019-11-01 Thread Ashish Singhal
Please refer to https://edk2.groups.io/g/devel/message/49627 for the patch. Thanks Ashish -Original Message- From: Laszlo Ersek Sent: Friday, November 1, 2019 3:42 PM To: Ashish Singhal ; devel@edk2.groups.io; jian.j.w...@intel.com; hao.a...@intel.com; Ray Ni ; Zhichao Gao Subject:

Re: [edk2-devel] [PATCH v4] CryptoPkg: Upgrade OpenSSL to 1.1.1d

2019-11-01 Thread Laszlo Ersek
On 11/01/19 08:31, Wang, Jian J wrote: > Hi Laszlo, > > I did simple ovmf boot tests (shell, linux, windows) and all passed. Let me > know if you have > any comments or want to do more tests against v4 before check in. > > Based on my review and tests, >Reviewed-by: Jian J Wang I can get

Re: [edk2-devel] [edk2-platforms][PATCH V1 00/19] Remove Intel server packages

2019-11-01 Thread Nate DeSimone
For the patch series... Reviewed-by: Nate DeSimone -Original Message- From: Kubacki, Michael A Sent: Friday, November 1, 2019 2:03 PM To: devel@edk2.groups.io Cc: Bu, Daocheng ; Desimone, Nathaniel L ; Gillispie, Thad ; Kinney, Michael D ; Lu, Shifei A ; Oram, Isaac W ; Piwko,

Re: [edk2-devel] [edk2-platforms] [PATCH 3/5] BoardModulePkg: Added Pcds Sio Driver

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Agyeman, Prince Sent: Friday, November 1, 2019 12:51 PM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Chiu, Chasel ; Desimone, Nathaniel L Subject: [edk2-devel] [edk2-platforms] [PATCH 3/5]

Re: [edk2-devel] [edk2-platforms] [PATCH 2/5] Platform/Intel: Move Sio Dxe Driver

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: Agyeman, Prince Sent: Friday, November 1, 2019 12:51 PM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Chiu, Chasel ; Desimone, Nathaniel L Subject: [edk2-platforms] [PATCH 2/5] Platform/Intel: Move Sio Dxe Driver Moved

Re: [edk2-devel] [edk2-platforms] [PATCH 1/5] Platform/Intel: Add gBoardModulePkgTokenSpaceGuid

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: Agyeman, Prince Sent: Friday, November 1, 2019 12:51 PM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Chiu, Chasel ; Desimone, Nathaniel L Subject: [edk2-platforms] [PATCH 1/5] Platform/Intel: Add gBoardModulePkgTokenSpaceGuid

Re: [edk2-devel] [edk2-platforms] [PATCH 5/5] KabylakeOpenBoardPkg: Add Ps2 Keyboard Support

2019-11-01 Thread Nate DeSimone
Please implement a patch 6 and 7 adding the same changes you made here for GalagoPro3 to KabylakeRvp3 and WhiskeyLakeURvp. Both of those boards have PS/2 keyboard connectors and your change is valuable there too. -Original Message- From: devel@edk2.groups.io On Behalf Of Agyeman,

Re: [edk2-devel] [PATCH] Support skipping automatic BM enumeration

2019-11-01 Thread Laszlo Ersek
On 10/31/19 13:42, Ashish Singhal wrote: > Hello Laszlo, > > This is the cover letter. The patch was also submitted. Can you please state the groups.io permalink for the posted patch, and/or the Message-Id header for the posted patch? > Please let me know if you are unable to find it and I'll

Re: [edk2-devel] [edk2-platforms][PATCH V1 00/19] Remove Intel server packages

2019-11-01 Thread Oram, Isaac W
For the patch series... Reviewed-by: Isaac Oram -Original Message- From: Kubacki, Michael A Sent: Friday, November 1, 2019 2:03 PM To: devel@edk2.groups.io Cc: Bu, Daocheng ; Desimone, Nathaniel L ; Gillispie, Thad ; Kinney, Michael D ; Lu, Shifei A ; Oram, Isaac W ; Piwko, Maciej

[edk2-devel] [edk2-platforms][PATCH V1 05/19] PurleyOpenBoardPkg/BoardMtOlympus: Remove all files

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 The current set of maintainers do not plan to maintain this package moving forward. Simply leaving the code as unmaintained is undesirable for several reasons including presence of build issues, functional issues, and lack of consistency

[edk2-devel] [edk2-platforms][PATCH V1 14/19] LewisburgPkg: Remove DEC and DSC files

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2325 The current set of maintainers do not plan to maintain this package moving forward. Simply leaving the code as unmaintained is undesirable for several reasons including presence of build issues, functional issues, and lack of consistency

[edk2-devel] [edk2-platforms][PATCH V1 08/19] PurleyOpenBoardPkg/Acpi/BoardAcpiDxe: Remove .asi files

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 The current set of maintainers do not plan to maintain this package moving forward. Simply leaving the code as unmaintained is undesirable for several reasons including presence of build issues, functional issues, and lack of consistency

[edk2-devel] [edk2-platforms][PATCH V1 11/19] PurleyOpenBoardPkg: Remove all includes and libraries

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 The current set of maintainers do not plan to maintain this package moving forward. Simply leaving the code as unmaintained is undesirable for several reasons including presence of build issues, functional issues, and lack of consistency

[edk2-devel] [edk2-platforms][PATCH V1 19/19] Maintainers.txt: Update Intel package maintainers

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2325 Due to some Intel packages being removed, this change removes the corresponding packages from Maintainers.txt. Cc: Bu, Daocheng Cc: Nate DeSimone Cc: Gillispie, Thad Cc: Michael D Kinney Cc: Shifei A Lu Cc: Isaac W Oram Cc: Piwko,

[edk2-devel] [edk2-platforms][PATCH V1 04/19] PurleyOpenBoardPkg: Remove package build files

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 The current set of maintainers do not plan to maintain this package moving forward. Simply leaving the code as unmaintained is undesirable for several reasons including presence of build issues, functional issues, and lack of consistency

[edk2-devel] [edk2-platforms][PATCH V1 02/19] Platform/Intel/build.cfg: Remove BoardMtOlympus

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 Removes the BoardMtOlympus build configuration from build.cfg as the package will be removed in a future change. Cc: Nate DeSimone Cc: Michael D Kinney Cc: Shifei A Lu Cc: Isaac W Oram Cc: Xiaohu Zhou Signed-off-by: Michael Kubacki

[edk2-devel] [edk2-platforms][PATCH V1 01/19] Readme.md: Remove PurleyOpenBoardPkg

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2322 Removes all references to PurleyOpenBoardPkg in Readme.md files in edk2-platforms as the package will be removed in a future change. Cc: Nate DeSimone Cc: Michael D Kinney Cc: Shifei A Lu Cc: Isaac W Oram Cc: Xiaohu Zhou Signed-off-by:

[edk2-devel] [edk2-platforms] [PATCH 4/5] KabylakeOpenBoardPkg: Add Ps2 keyboard Null Library

2019-11-01 Thread Agyeman, Prince
Added GalagoPro3 board ps2 keyboard library that adds ps2 device path to ConIn and ConInDev Uefi variables Cc: Michael Kubacki Cc: Chasel Chiu Cc: Nate DeSimone Signed-off-by: Prince Agyeman --- .../GalagoPro3/Library/Ps2KbcLib/Ps2KbcLib.c | 202 ++

[edk2-devel] [edk2-platforms] [PATCH 0/5] Enable Ps2 keyboard

2019-11-01 Thread Agyeman, Prince
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2228 This patch series enables BIOS Ps2 keyboard in GalagoPro3 What was done: Patch 0001 adds PCDs to BoardModulePkg that will enable/disable, describe Super I/O , Ps2 keyboard/mouse, uart1 and uart2 com ports Patch 0002 moves the generic

[edk2-devel] [edk2-platforms] [PATCH 1/5] Platform/Intel: Add gBoardModulePkgTokenSpaceGuid

2019-11-01 Thread Agyeman, Prince
Added gBoardModulePkgTokenSpaceGuid to BoardModulePkg Added ps2 keyboard and Uart enable PCDs. Added PCDs to define IO ports for Uart1 and Uart2 Enabled KabylakeOpenBoardPkg and WhiskeylakeOpenBoardPkg boards to use the ps2 keyboard enable PCD. Cc: Michael Kubacki Cc: Chasel Chiu Cc: Nate

[edk2-devel] [edk2-platforms] [PATCH 5/5] KabylakeOpenBoardPkg: Add Ps2 Keyboard Support

2019-11-01 Thread Agyeman, Prince
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2228 Added Ps2Keyboard DXE driver. Added Sio dxe driver to publish the SIO protocol needed by the Ps2Keyboard DXE driver. Included a Ps2 null Library to BdsDxe driver to add the Ps2 device path to ConIn and ConInDev variables Configured the

[edk2-devel] [edk2-platforms] [PATCH 2/5] Platform/Intel: Move Sio Dxe Driver

2019-11-01 Thread Agyeman, Prince
Moved LegacySioDxe from SimicsOpenBoardPkg to BoardModulePkg as LegacySioDxe is generic and can be shared between open board packages Removed unused libraries and functions in LegacySioDxe Pointed BoardX58Ich10 to the current LegacySioDxe location Cc: Michael Kubacki Cc: Chasel Chiu Cc: Nate

[edk2-devel] [edk2-platforms] [PATCH 3/5] BoardModulePkg: Added Pcds Sio Driver

2019-11-01 Thread Agyeman, Prince
Included PCDs to the Sio dxe driver, to allow the enable/disable of Ps2 keyboard/mouse, UART1 and UART2 com ports. Renamed the Sio driver's base name Cc: Michael Kubacki Cc: Chasel Chiu Cc: Nate DeSimone Signed-off-by: Prince Agyeman --- .../LegacySioDxe/LegacySioDxe.inf | 15

Re: [edk2-devel] [edk2-platforms: PATCH v3 1/6] MinPlatformPkg: Add SetCacheMtrrLib library class.

2019-11-01 Thread Nate DeSimone
With Michael's comments addressed... Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Chiu, Chasel Sent: Thursday, October 31, 2019 3:28 AM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Desimone, Nathaniel L ; Gao, Liming Subject: [edk2-devel]

Re: [edk2-devel] [edk2-platforms: PATCH v3 6/6] SimicsOpenBoardPkg/BoardX58Ich10: Add SetCacheMtrrLib library class.

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Chiu, Chasel Sent: Thursday, October 31, 2019 3:28 AM To: devel@edk2.groups.io Cc: Wei, David Y ; Agyeman, Prince Subject: [edk2-devel] [edk2-platforms: PATCH v3 6/6]

Re: [edk2-devel] [edk2-platforms: PATCH v3 4/6] WhiskeylakeOpenBoardPkg: Add SetCacheMtrrLib library class.

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Chiu, Chasel Sent: Thursday, October 31, 2019 3:28 AM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Desimone, Nathaniel L Subject: [edk2-devel] [edk2-platforms: PATCH v3 4/6]

Re: [edk2-devel] [edk2-platforms: PATCH v3 3/6] KabylakeOpenBoardPkg: Add SetCacheMtrrLib library class.

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Chiu, Chasel Sent: Thursday, October 31, 2019 3:28 AM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Desimone, Nathaniel L ; Gao, Liming ; Jeremy Soller Subject: [edk2-devel] [edk2-platforms:

Re: [edk2-devel] [edk2-platforms: PATCH v3 2/6] MinPlatformPkg: Add SetCacheMtrrLib library class.

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Chiu, Chasel Sent: Thursday, October 31, 2019 3:28 AM To: devel@edk2.groups.io Cc: Kubacki, Michael A ; Desimone, Nathaniel L ; Gao, Liming Subject: [edk2-devel] [edk2-platforms: PATCH v3 2/6]

Re: [edk2-devel] [edk2-platforms: PATCH v3 5/6] PurleyOpenBoardPkg/BoardMtOlympus: Add SetCacheMtrrLib library class.

2019-11-01 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: devel@edk2.groups.io On Behalf Of Chiu, Chasel Sent: Thursday, October 31, 2019 3:28 AM To: devel@edk2.groups.io Cc: Lu, Shifei A ; Zhou, Bowen ; Oram, Isaac W Subject: [edk2-devel] [edk2-platforms: PATCH v3 5/6]

[edk2-devel] [PATCH V7 07/10] MdeModulePkg/Variable: Add RT GetVariable() cache support

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2220 This change reduces SMIs for GetVariable () by maintaining a UEFI variable cache in Runtime DXE in addition to the pre- existing cache in SMRAM. When the Runtime Service GetVariable() is invoked, a Runtime DXE cache is used instead of

[edk2-devel] [PATCH V7 10/10] MdeModulePkg: Enable variable runtime cache by default

2019-11-01 Thread Kubacki, Michael A
This change enables the variable runtime cache by default by setting gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache in MdeModulePkg.dec to TRUE. Cc: Dandan Bi Cc: Ard Biesheuvel Cc: Eric Dong Cc: Laszlo Ersek Cc: Liming Gao Cc: Michael D Kinney Cc: Ray Ni Cc: Jian J Wang Cc:

[edk2-devel] [PATCH V7 02/10] MdeModulePkg/Variable: Parameterize GetNextVariableInternal () stores

2019-11-01 Thread Kubacki, Michael A
The majority of logic related to GetNextVariableName () is currently implemented in VariableServiceGetNextVariableInternal (). The list of variable stores to search for the given variable name and variable GUID is defined in the function body. This change adds a new parameter so that the caller

[edk2-devel] [PATCH V7 09/10] OvmfPkg: Disable variable runtime cache

2019-11-01 Thread Kubacki, Michael A
Sets gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache to FALSE in OvmfPkgIa32.dsc, OvmfPkgIa32X64.dsc, and OvmfPkgX64.dsc so that when SMM_REQUIRE is TRUE, the SMM variable driver will not use the runtime variable cache. This is done for OvmfPkg because it currently depends upon a SMM

[edk2-devel] [PATCH V7 03/10] MdeModulePkg/Variable: Parameterize VARIABLE_INFO_ENTRY buffer

2019-11-01 Thread Kubacki, Michael A
UpdateVariableInfo () currently accepts parameters regarding updates to be made to a global variable of type VARIABLE_INFO_ENTRY. This change passes the structure by pointer to UpdateVariableInfo () so structures other than the fixed global variable can be updated. Cc: Dandan Bi Cc: Ard

[edk2-devel] [PATCH V7 04/10] MdeModulePkg/Variable: Parameterize auth status in VariableParsing

2019-11-01 Thread Kubacki, Michael A
The file VariableParsing.c provides generic functionality related to parsing variable related structures and information. In order to calculate offsets for certain operations, the functions must know if authenticated variables are enabled as this increases the size of variable headers. This

[edk2-devel] [PATCH V7 08/10] MdeModulePkg/Variable: Add RT GetNextVariableName() cache support

2019-11-01 Thread Kubacki, Michael A
https://bugzilla.tianocore.org/show_bug.cgi?id=2220 This change implements the Runtime Service GetNextVariableName() using the runtime cache in VariableSmmRuntimeDxe. Runtime Service calls to GetNextVariableName() will no longer trigger a SW SMI when

[edk2-devel] [PATCH V7 00/10] UEFI Variable SMI Reduction

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2220 V7 Changes: [PATCH V6 07/10] MdeModulePkg/Variable: Add RT GetVariable() cache support * Remove VariableRuntimeCache.c and VariableRuntimeCache.h from VariableSmmRuntimeDxe.inf since they are not needed to build the module. V6 Changes:

[edk2-devel] [PATCH V7 06/10] MdeModulePkg VariableInfo: Always consider RT DXE and SMM stats

2019-11-01 Thread Kubacki, Michael A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2220 The current VariableInfo application only checks for variable statistics from SMM if the variable information entries are not present in the UEFI System Configuration table as published by the DXE UEFI variable driver (VariableRuntimeDxe).

[edk2-devel] [PATCH V7 05/10] MdeModulePkg/Variable: Add a file for NV variable functions

2019-11-01 Thread Kubacki, Michael A
This change adds a dedicated file for variable operations specific to non-volatile variables. This decreases the overall length of the relatively large Variable.c file. Cc: Dandan Bi Cc: Ard Biesheuvel Cc: Eric Dong Cc: Laszlo Ersek Cc: Liming Gao Cc: Michael D Kinney Cc: Ray Ni Cc: Jian J

Re: [edk2-devel] [PATCH v1 0/2] Update the SRAT Acpiview parser to ACPI 6.3

2019-11-01 Thread Sudipto Paul
Tested-by: Sudipto Paul https://community.arm.com/developer/tools-software/oss-platforms/w/docs/440/neoverse-n1-sdp -Sudipto -Original Message- From: Sami Mujawar Sent: 21 October 2019 17:06 To: Krzysztof Koch ; devel@edk2.groups.io Cc: jaben.car...@intel.com; ray...@intel.com;

Re: [edk2-devel] How /sys/firmware/fdt getting created

2019-11-01 Thread Bhupesh Sharma
Hi Prabhakar, On Fri, Nov 1, 2019 at 10:22 AM Prabhakar Kushwaha wrote: > > Hi Bhupesh, > > On Fri, Nov 1, 2019 at 1:59 AM Bhupesh Sharma wrote: > > > > Hi Prabhakar, > > > > On Wed, Oct 30, 2019 at 1:47 PM Prabhakar Kushwaha > > wrote: > > > > > > On Wed, Oct 30, 2019 at 1:14 PM Ard

Re: [edk2-devel] How /sys/firmware/fdt getting created

2019-11-01 Thread dann frazier
On Fri, Nov 01, 2019 at 10:17:30AM +0530, Prabhakar Kushwaha wrote: > On Fri, Nov 1, 2019 at 2:04 AM dann frazier > wrote: > > > > On Thu, Oct 31, 2019 at 12:55:10PM -0600, dann frazier wrote: > > > On Thu, Oct 31, 2019 at 6:16 AM Leif Lindholm > > > wrote: > > > > > > > > On Thu, Oct 31, 2019

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 08/12] PciBusDxe: New PCI feature Max_Payload_Size

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The code changes are made to enable the configuration of new PCI feature Max_Payload_Size (MPS), which defines the data packet size for the PCI transactions, as per the PCI Base Specification 4 Revision 1. The code changes are made to

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 12/12] PciBusDxe: New PCI feature Completion Timeout

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2313 The code changes are made; as per the PCI Base Specification 4 Revision 1; to enable the configuration of new PCI feature Completion Timeout (CTO), which enables the PCI function to wait on programmed duration for its transactions before

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 09/12] PciBusDxe: New PCI feature Max_Read_Req_Size

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The code changes are made to enable the configuration of new PCI feature Max_Read_Req_Size (MRRS), which defines the memory read request size for the PCI transactions, as per the PCI Base Specification 4 Revision 1. The code changes are

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 11/12] PciBusDxe: New PCI feature No-Snoop

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2313 The code changes are made; as per the PCI Base Specification 4 Revision 1; to enable the configuration of new PCI feature No-Snoop (NS), which enables the PCI function to initiate requests if it does not require har- dware enforced

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 10/12] PciBusDxe: New PCI feature Relax Ordering

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2313 The code changes are made to enable the configuration of new PCI feature Relax Ordering (OR), which enables the PCI function to initiate requests if it does not require strong write ordering for its transactions; as per the PCI Base

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 02/12] PciBusDxe: Reorganize the PCI Platform Protocol usage code

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The following legacy PCI Platform Protocol usage is reorganized in the separate source files:- (1) PlatformPrepController (2) PlatformNotify (3) GetPlatformPolicy (4) GetPciRom This code changes are made to support the new PCI Platform

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 06/12] PciBusDxe: Integration of setup for PCI feature enumeration

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The code changes are made to integrate the setup infrastructure for the PCI feature enumeration, in the last phase of the PCI Bus driver, after its registration and its option ROM loading phase is complete. Signed-off-by: Ashraf Javeed Cc:

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 05/12] PciBusDxe: Setup sub-phases for PCI feature enumeration

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The code changes are made to setup the following internal sub-phases for enumerating the PCI features in the late phase of the PCI Bus driver. (1) PciFeatureRootBridgeScan - initial phase in configuring the other PCI features to record

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 03/12] PciBusDxe: Separation of the PCI device registration and start

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The separation of the PCI device registration phase includes only the installation of the PCI IO Protocol on the PCI node to acquire the EFI handles, and loading of its applicable PCI Option ROM. The separation of the PCI device start phase

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 04/12] PciBusDxe: Inclusion of new PCI Platform Protocol 2

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The code changes are made to support the new PCI Platform Protocol, as well as the legacy PCI Platform Protocol interfaces. The code change is made to consume the new interface to acquire the PCI device-specific platform policy. This code

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 07/12] PciBusDxe: Record the PCI-Express Capability Structure

2019-11-01 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2194 The code changes are made to record the PCI device's PCI-Express Capability Structure register set during early PCI enumeration phase. This data shall be used during PCI feature enumeration phase. Signed-off-by: Ashraf Javeed Cc: Jian J

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 00/12] New PCI features - MPS, MRRS, RO, NS, CTO

2019-11-01 Thread Javeed, Ashraf
The EDK2 Kernel PciBusDxe driver is enhanced to enable the configuration of PCI features like (1) Max_Payload_Size (2) Max_Read_Req_Size (3) Relax Ordering (4) No-Snoop (5) Completion Timeout Max_Payload_Size:- The PCI Device Control register provides this feature register field which controls

Re: [edk2-devel] Question regarding MMIO address space exposed from GetMemoryMap

2019-11-01 Thread Jon Nettleton
On Fri, Nov 1, 2019 at 6:57 AM Jon Nettleton via Groups.Io wrote: > > On Thu, Oct 31, 2019 at 5:44 PM Andrew Fish via Groups.Io > wrote: > > > > Jon, > > > > Its a little confusing but gBS->GetMemoryMap () only returns information > > about DRAM and any address that requires a kernel virtual

Re: [edk2-devel] [PATCH v4] CryptoPkg: Upgrade OpenSSL to 1.1.1d

2019-11-01 Thread Wang, Jian J
Hi Laszlo, I did simple ovmf boot tests (shell, linux, windows) and all passed. Let me know if you have any comments or want to do more tests against v4 before check in. Based on my review and tests, Reviewed-by: Jian J Wang Regards, Jian > -Original Message- > From: Zhang,

[edk2-devel] [PATCH v4] CryptoPkg: Upgrade OpenSSL to 1.1.1d

2019-11-01 Thread Zhang, Shenglei
Update openssl from 1.1.1b to 1.1.1d. Something needs to be noticed is that, there is a bug existing in the released 1_1_1d version(894da2fb7ed5d314ee5c2fc9fd2d9b8b74111596), which causes build failure. So we switch the code base to a usable version, which is 2 commits later than the stable tag.

[edk2-devel] [PATCH 2/2] BaseTools: Add support for parseing map files generated by CLANG9 in GenFv

2019-11-01 Thread Zhiguang Liu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2320 Add support for parseing map files generated by CLANG9 in GenFv Cc: Bob Feng Cc: Liming Gao Signed-off-by: Zhiguang Liu --- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 28 +++- 1 file changed, 23

[edk2-devel] [PATCH 1/2] BaseTools: Add map file parsing support for CLANG9

2019-11-01 Thread Zhiguang Liu
Cc: Bob Feng Cc: Liming Gao Signed-off-by: Zhiguang Liu --- BaseTools/Source/Python/Common/Misc.py | 9 ++--- BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py | 9 ++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git

[edk2-devel] [PATCH v3 3/4] MdeModulePkg/EsrtDxe: Add check for EsrtRepository

2019-11-01 Thread Zhang, Shenglei
EsrtRepository might be NULL. So return EFI_OUT_OF_RESOURCES when it is NULL. Cc: Hao A Wu Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Hao A Wu --- MdeModulePkg/Universal/EsrtDxe/EsrtImpl.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[edk2-devel] [PATCH v 3 0/4] MdeModulePkg: Add check and ASSERT for variables

2019-11-01 Thread Zhang, Shenglei
Add error handling and ASSERT to ensure the variables are usable when called. Cc: Jian J Wang Cc: Hao A Wu Cc: Dandan Bi Cc: Eric Dong Cc: Hao A Wu Cc: Liming Gao Shenglei Zhang (4): v2: Update the checking method in 02/04. v3: Add ASSERT instead of error handling in 04/04. Shenglei

[edk2-devel] [PATCH v3 2/4] MdeModulePkg/HiiDatabaseDxe: ASSERT StringPtr

2019-11-01 Thread Zhang, Shenglei
The caller of CompareAndMergeDefaultString has checked that AltCfgResp must contain AltConfigHdr. So we add ASSERT to assume StringPtr is not NULL. Cc: Dandan Bi Cc: Eric Dong Signed-off-by: Shenglei Zhang Reviewed-by: Dandan Bi --- MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 1 +

[edk2-devel] [PATCH v3 4/4] MdeModulePkg/SetupBrowserDxe: ASSERT GetBufferForValue()

2019-11-01 Thread Zhang, Shenglei
Before called by GetBufferForValue(), Value has already been called function IsTypeInBuffer to make sure the value must be buffer type. So GetBufferForValue can not return NULL. This commit adds ASSERT to assume (GetBufferForValue () is not NULL. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by:

[edk2-devel] [PATCH v3 1/4] MdeModulePkg/EbcDebugger: Add check for Entry and RetEntry

2019-11-01 Thread Zhang, Shenglei
Entry and RetEntry might be NULL before used. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Shenglei Zhang Reviewed-by: Hao A Wu --- MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbCmdSymbol.c | 2 +- MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSymbol.c| 2 +- 2 files changed, 2