Re: [edk2-devel] [PATCH 19/25] PcAtChipsetPkg/ResetSystemLib: Add new API ResetSystem

2019-04-24 Thread Ni, Ray
Reviewed-by: Ray Ni > > -Original Message- > > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > > Gao, Zhichao > > Sent: Monday, April 15, 2019 11:06 AM > > To: devel@edk2.groups.io > > Cc: Ni, Ray ; Gao, Liming > > Subject: [edk2-devel] [PATCH 19/25] PcAtChipsetPk

[edk2-devel] [patch] MdeModulePkg/HiiDB: Minimize memory allocation times after ReadyToBoot

2019-04-24 Thread Dandan Bi
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1597 Currently RTData are allocated at/after ReadyToBoot to store the contents in HiiDatabase and the HII configurations for OS runtime utilization. Some platforms may meet S4 resume issue since the allocation after ReadyToBoot cause memory map c

Re: [edk2-devel] Question about the Protective MBR in RedHat/Ubuntu

2019-04-24 Thread Andrew Fish via Groups.Io
> On Apr 24, 2019, at 6:40 PM, Zhang, Chao B wrote: > > Hi Andrew: >Tks for your explanation. The middle octet of StartingCHS (0x000200) is > for Sector. Based on CHS to LBA conversion rule. It should be 0x02. I think > it is an spec compliance issue. > Partition Dxe driver doesn’t appl

Re: [edk2-devel] [patch 1/2] MdeModulePkg/BMMUiLib: Set Handle to NULL after uninstall protocol

2019-04-24 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Dandan Bi > Sent: Tuesday, April 23, 2019 3:01 PM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Dong, Eric ; > Wu, Hao A ; Ni, Ray > Subject: [edk2-devel] [patch 1/2] Md

Re: [edk2-devel] [patch 2/2] MdeModulePkg/FileExplorer: Set Handle to NULL after uninstall protocol

2019-04-24 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: Bi, Dandan > Sent: Tuesday, April 23, 2019 3:01 PM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Dong, Eric ; > Wu, Hao A ; Ni, Ray > Subject: [patch 2/2] MdeModulePkg/FileExplorer: Set Handle to NULL after > uninstall protocol > > RE

Re: [edk2-devel] Question about the Protective MBR in RedHat/Ubuntu

2019-04-24 Thread Zhang, Chao B
Hi Andrew: Tks for your explanation. The middle octet of StartingCHS (0x000200) is for Sector. Based on CHS to LBA conversion rule. It should be 0x02. I think it is an spec compliance issue. Partition Dxe driver doesn't apply such check so there is no problem. Partition Pei is in BIOS TCB,

Re: [edk2-devel] [edk2-platforms/devel-MinPlatform][PATCH v1 1/2] KabylakeOpenBoardPkg/AcpiTables: Remove dead code

2019-04-24 Thread Chiu, Chasel
Reviewed-by: Chasel Chiu > -Original Message- > From: Kubacki, Michael A > Sent: Thursday, April 25, 2019 9:09 AM > To: devel@edk2.groups.io > Cc: Desimone, Nathaniel L ; Chiu, Chasel > ; Kinney, Michael D > Subject: [edk2-platforms/devel-MinPlatform][PATCH v1 1/2] > KabylakeOpenBoardP

[edk2-devel] [edk2-platforms/devel-MinPlatform][PATCH v1 1/2] KabylakeOpenBoardPkg/AcpiTables: Remove dead code

2019-04-24 Thread Kubacki, Michael A
Removes ASL code not referenced in the package. Cc: Nate DeSimone Cc: Chasel Chiu Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kubacki --- .../KabylakeOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl | 12 ++-- 1 file changed, 2 i

[edk2-devel] [edk2-platforms/devel-MinPlatform][PATCH v1 0/2] Remove dead code

2019-04-24 Thread Kubacki, Michael A
These patchset removes code that will not be used in these packages. Cc: Nate DeSimone Cc: Chasel Chiu Cc: Michael D Kinney Cc: Ankit Sinha Michael Kubacki (2): KabylakeOpenBoardPkg/AcpiTables: Remove dead code ClevoOpenBoardPkg/AcpiTables: Remove dead code .../Intel/ClevoOpenBoardPkg/F

[edk2-devel] [edk2-platforms/devel-MinPlatform][PATCH v1 2/2] ClevoOpenBoardPkg/AcpiTables: Remove dead code

2019-04-24 Thread Kubacki, Michael A
Removes ASL code not referenced in the package. Cc: Nate DeSimone Cc: Ankit Sinha Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kubacki --- Platform/Intel/ClevoOpenBoardPkg/Features/Tbt/AcpiTables/Tbt.asl | 8 1 file changed, 8 de

Re: [edk2-devel] [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD

2019-04-24 Thread Wang, Jian J
Looks normal now. Regards, Jian > -Original Message- > From: Rebecca Cran [mailto:rebe...@bluestop.org] > Sent: Thursday, April 25, 2019 3:37 AM > To: devel@edk2.groups.io; ler...@redhat.com; phi...@redhat.com; Wang, > Jian J ; ard.biesheu...@linaro.org > Cc: Ye, Ting ; Cetola, Stephano >

Re: [edk2-devel] [RFC] Remove PI spec TemporaryRamSupport PPI from PEI Core

2019-04-24 Thread Nate DeSimone
Hi Jordan, The TemporaryRamSupport PPI is mandatory for FSP. The reason why is the stack migration algorithm for FSP is quite different compared to the standard method implemented in PEI core. During FspMemoryInit(), PEI core runs on top of the bootloader stack. PEI core is not the root of the

Re: [edk2-devel] [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD

2019-04-24 Thread rebecca via Groups.Io
On 2019-04-24 13:17, Laszlo Ersek wrote: > > So I don't think there's anything to fix for package maintainers here. > It seems that groups.io rewrites the sender address for Rebecca. I don't > know why groups.io performs this rewrite, and why only for Rebecca. > > Stephano -- can you please ask gro

Re: [edk2-devel] [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD

2019-04-24 Thread rebecca via Groups.Io
On 2019-04-24 13:17, Laszlo Ersek wrote: > > Again, in email that I get directly from Rebecca, the From field looks > just fine. > > So I don't think there's anything to fix for package maintainers here. > It seems that groups.io rewrites the sender address for Rebecca. I don't > know why groups.io

Re: [edk2-devel] [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD

2019-04-24 Thread Laszlo Ersek
+Stephano On 04/24/19 11:25, Philippe Mathieu-Daudé wrote: > On 4/22/19 3:46 PM, Wang, Jian J wrote: >> crypto/uid.c is needed by VS201x toolchain on Windows. Let's still keep it >> in inf. >> That means we need this patch for build on FreeBSD. >> >> Reviewed-by: Jian J Wang > > Commit 1a734ed8

Re: [edk2-devel] [edk2] Request to add new edk2-libc repository

2019-04-24 Thread Laszlo Ersek
On 04/24/19 11:50, Laszlo Ersek wrote: > That's great, but there are two more sections in edk2-libc's > Maintainers.txt that are not replated to edk2-libc's packages: sorry, s/replated/related/ -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Onli

Re: [edk2-devel] [edk2-test]Regarding using any shell command in SCT

2019-04-24 Thread Supreeth Venkatesh
Changing subject line to include [edk2-test]. + Eric Prakriti, With the disclaimer that UEFI SCT is intended for testing against UEFI specification, I will try to answer your question in the way I interpreted it. I am not sure whether you are asking how to test EFI_SHELL_PROTOCOL or is it relat

Re: [edk2-devel] Question about the Protective MBR in RedHat/Ubuntu

2019-04-24 Thread Laszlo Ersek
On 04/24/19 13:36, Xu, Wei6 wrote: > Hi, > > I have a question about protective MBR. Thanks a lot for your time. > Why is the StartingCHS of protective MBR partition record set to 0x000100 in > RedHat / Ubuntu? While UEFI spec defines it as 0x000200. > > Problem Statement: > I met a problem when

Re: [edk2-devel] [PATCH V2 3/8] MdePkg/UefiDebugLibStdErr: Decrease the name collisions

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 19:31, Kinney, Michael D wrote: > > Hi Ard, > > I see no issues with using 'static' on more symbols. > > I am not sure how to enforce it, so it would be a good > recommendation for code style and a good recommendation > for a code reviews. > In Linux, it is one of the thing

Re: [edk2-devel] [PATCH V2 3/8] MdePkg/UefiDebugLibStdErr: Decrease the name collisions

2019-04-24 Thread Michael D Kinney
Hi Ard, I see no issues with using 'static' on more symbols. I am not sure how to enforce it, so it would be a good recommendation for code style and a good recommendation for a code reviews. Can you provide an example where code generation is improved when 'static' is used. That would be good

Re: [edk2-devel] [edk2-platforms] [RFC] Migrate devel-MinPlatform branch to master branch

2019-04-24 Thread Kubacki, Michael A
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1748 > -Original Message- > From: Gao, Liming > Sent: Wednesday, April 24, 2019 12:22 AM > To: devel@edk2.groups.io; Kubacki, Michael A > > Subject: RE: [edk2-platforms] [RFC] Migrate devel-MinPlatform branch to > master branch > > Mich

Re: [edk2-devel] [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg

2019-04-24 Thread Michael D Kinney
Ard, Using edk2 and edk2-non-osi as submodules in the edk2-platforms repo does have some advantages. Each branch in edk2-platforms can decide which release/tag/sha is required from dependent repos. This provides a platform focused view of the EDK II project. If using a release/tag/sha for the

Re: [edk2-devel] [PATCH V2 3/8] MdePkg/UefiDebugLibStdErr: Decrease the name collisions

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 18:59, Kinney, Michael D wrote: > > Hi Ard, > > I see a mix of use of 'static' and 'STATIC' in the sources. > > The reason to use STATIC is if it needs to be replaced with > something other than 'static' for a specific compiler or > debug scenario. > > Long ago, there were s

Re: [edk2-devel] [PATCH V2 3/8] MdePkg/UefiDebugLibStdErr: Decrease the name collisions

2019-04-24 Thread Michael D Kinney
Hi Ard, I see a mix of use of 'static' and 'STATIC' in the sources. The reason to use STATIC is if it needs to be replaced with something other than 'static' for a specific compiler or debug scenario. Long ago, there were some source level debug issue with 'static' symbols, so using the macro ST

Re: [edk2-devel] [PATCH 1/1] MdeModulePkg: BaseSerialPortLib16550: Add Mmio32 support

2019-04-24 Thread Michael D Kinney
Hi, Can we change the name of the access size PCD so it does not use Mmio in the name? I am ok with not implementing support for different access widths for I/O, but it would be good if the PCD name and description is for the access width so it could potentially be used for I/O in the future if

Re: [edk2-devel] [RFC] Remove PI spec TemporaryRamSupport PPI from PEI Core

2019-04-24 Thread Laszlo Ersek
On 04/24/19 09:51, Jordan Justen wrote: > Short summary: Despite being part of the Platorm Initialization > Specificication, this proposal would remove support for the > TemporaryRamSupport PPI from PEI Core. Arguably, this would mean the > PEI Core does not support the PI spec, but we do not curre

Re: [edk2-devel] Question about the Protective MBR in RedHat/Ubuntu

2019-04-24 Thread Andrew Fish via Groups.Io
The intent of the protective MBR was to prevent tools that did not understand GPT to not think a GPT disk was blank. 20 years ago that made a lot of sense, today it is kind of an obsolete concept. The protective MBR was never intended to identify the disk as GPT, but it seems it got used as a s

Re: [edk2-devel] [PATCH v2 0/5] patches for some warnings raised by "RH covscan"

2019-04-24 Thread Laszlo Ersek
On 04/18/19 19:47, Laszlo Ersek wrote: > Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=1710 > Repo: https://github.com/lersek/edk2.git > Branch: covscan_bz_1710_v2 > > Patch-level updates relative to v1 have been noted on the patches > themselves. And earlier I described the chang

Re: [edk2-devel] [PATCH] Emulator: update binary AARCH64 build of X64 PE/COFF emulator

2019-04-24 Thread Laszlo Ersek
Hi Ard, On 04/23/19 22:21, Ard Biesheuvel wrote: > Update the binary RELEASE build targeting AARCH64 systems, created > with Ubuntu's gcc 7.3.0 using the GCC5 profile. This fixes an issue > in the previous build which was built against the wrong version of > CacheMaintenanceLib. > > Repo: http:

Re: [edk2-devel] [edk2-platforms/devel-MinPlatform][PATCH 3/5] LewisburgPkg/DxeRuntimeResetSystemLib: Add a new API ResetSystem

2019-04-24 Thread Kwolek, Adam
Hi, For me it looks good also, I do not see any change that will not allow to call WS ME on reset (as we currently have for Workstation). BR Adam > -Original Message- > From: Piwko, Maciej > Sent: Wednesday, April 24, 2019 3:45 PM > To: Gao, Zhichao ; Bu, Daocheng > ; devel@edk2.groups.

Re: [edk2-devel] [edk2-platforms: PATCH v2 3/3] Marvell/Drivers: Add non-mmio mode to MvFvbDxe

2019-04-24 Thread Marcin Wojtas
śr., 24 kwi 2019 o 15:51 Ard Biesheuvel napisał(a): > > On Wed, 24 Apr 2019 at 15:48, Marcin Wojtas wrote: > > > > Hi Ard, > > > > śr., 24 kwi 2019 o 15:02 Ard Biesheuvel > > napisał(a): > > > > > > On Wed, 24 Apr 2019 at 09:11, Ard Biesheuvel > > > wrote: > > > > > > > > On Wed, 24 Apr 2019

[edk2-devel] reg: reg : HTTP Download Performance

2019-04-24 Thread Sivaraman Nainar
Hello All: Would like to clarify few information on the timings on the HTTP Boot / Download performed through Windows / Linux and UEFI HTTP Boot. There was a HTTP server running in California and when an 450 MB ISO tried to downloaded from that below are the time took to download. The data ret

Re: [edk2-devel] [edk2-platforms/devel-MinPlatform][PATCH 3/5] LewisburgPkg/DxeRuntimeResetSystemLib: Add a new API ResetSystem

2019-04-24 Thread Piwko, Maciej
Hi, For me the change seems fine. The only concern that I have may be related to the fact, the resetting the system we may also want to inform the ME engine about that fact and choose proper reset type. I'm adding Adam, who can comment on the reset functionality from ME UEFIFW perspective. Ada

Re: [edk2-devel] [edk2-platforms: PATCH v2 3/3] Marvell/Drivers: Add non-mmio mode to MvFvbDxe

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 15:48, Marcin Wojtas wrote: > > Hi Ard, > > śr., 24 kwi 2019 o 15:02 Ard Biesheuvel > napisał(a): > > > > On Wed, 24 Apr 2019 at 09:11, Ard Biesheuvel > > wrote: > > > > > > On Wed, 24 Apr 2019 at 08:52, Marcin Wojtas wrote: > > > > > > > > From: Kornel Duleba > > > >

Re: [edk2-devel] [edk2-platforms: PATCH v2 3/3] Marvell/Drivers: Add non-mmio mode to MvFvbDxe

2019-04-24 Thread Marcin Wojtas
Hi Ard, śr., 24 kwi 2019 o 15:02 Ard Biesheuvel napisał(a): > > On Wed, 24 Apr 2019 at 09:11, Ard Biesheuvel > wrote: > > > > On Wed, 24 Apr 2019 at 08:52, Marcin Wojtas wrote: > > > > > > From: Kornel Duleba > > > > > > This path enables support for reading variables directly from flash > >

Re: [edk2-devel] [PATCH edk2-platforms v2 0/3] add X64 PE/COFF emulator to PCI systems

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 15:33, Leif Lindholm wrote: > > On Wed, Apr 24, 2019 at 03:23:54PM +0200, Ard Biesheuvel wrote: > > Add a conditional build time include of the prebuild X64 PE/COFF emulator > > binary to some platforms that will be able to make use of it (i.e., have > > usable PCI slots) >

Re: [edk2-devel] [PATCH edk2-platforms] Silicon/AMD/Styx: remove the non-capsule based flasher tool

2019-04-24 Thread Leif Lindholm
On Wed, Apr 24, 2019 at 03:29:52PM +0200, Ard Biesheuvel wrote: > We have had capsule support enabled on this platform for a while now, so > let's drop the hacked up flasher tool that we no longer have a need for. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Bie

Re: [edk2-devel] [PATCH edk2-platforms v2 0/3] add X64 PE/COFF emulator to PCI systems

2019-04-24 Thread Leif Lindholm
On Wed, Apr 24, 2019 at 03:23:54PM +0200, Ard Biesheuvel wrote: > Add a conditional build time include of the prebuild X64 PE/COFF emulator > binary to some platforms that will be able to make use of it (i.e., have > usable PCI slots) > > Changes since v1: > - add Armada entry to the shared .fdf,

Re: [edk2-devel] [PATCH edk2-platforms] Silicon/AMD/Styx: remove the non-capsule based flasher tool

2019-04-24 Thread Ard Biesheuvel
(+ Alan) On Wed, 24 Apr 2019 at 15:29, Ard Biesheuvel wrote: > > We have had capsule support enabled on this platform for a while now, so > let's drop the hacked up flasher tool that we no longer have a need for. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Bie

[edk2-devel] [PATCH edk2-platforms] Silicon/AMD/Styx: remove the non-capsule based flasher tool

2019-04-24 Thread Ard Biesheuvel
We have had capsule support enabled on this platform for a while now, so let's drop the hacked up flasher tool that we no longer have a need for. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc

[edk2-devel] [PATCH edk2-platforms v2 2/3] Platform/Overdrive: conditionally include the X64 PE/COFF emulator

2019-04-24 Thread Ard Biesheuvel
Add the X64 emulator to the build if '-D X64EMU_ENABLE=TRUE' is passed on the build command line. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 5 +++-- Platform/AMD/OverdriveBoard/OverdriveBoard.fdf | 3

[edk2-devel] [PATCH edk2-platforms v2 0/3] add X64 PE/COFF emulator to PCI systems

2019-04-24 Thread Ard Biesheuvel
Add a conditional build time include of the prebuild X64 PE/COFF emulator binary to some platforms that will be able to make use of it (i.e., have usable PCI slots) Changes since v1: - add Armada entry to the shared .fdf, and drop the default FALSE value (at the request of Marcin) Ard Biesheuve

[edk2-devel] [PATCH edk2-platforms v2 3/3] Platform/MacchiatoBin: conditionally include the X64 PE/COFF emulator

2019-04-24 Thread Ard Biesheuvel
Add the X64 emulator to the build if '-D X64EMU_ENABLE=TRUE' is passed on the build command line. Note that this only works on AARCH64 builds. Also note that the edk2-non-osi repository needs to be listed in the PACKAGES_PATH environment variable. Contributed-under: TianoCore Contribution Agreemen

[edk2-devel] [PATCH edk2-platforms v2 1/3] Platform/DeveloperBox: conditionally include the X64 PE/COFF emulator

2019-04-24 Thread Ard Biesheuvel
Add the X64 emulator to the build if '-D X64EMU_ENABLE=TRUE' is passed on the build command line. Note that this only works on AARCH64 builds. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 1 + Platfor

Re: [edk2-devel] [edk2] [PATCH v2 edk2-platforms] Platform/ARM/Drivers: Add Nor Flash Driver

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 11:05, Jagadeesh Ujja wrote: > > Fwd to new EDKII development mailing list. > > hi Ard, > > Sorry about missing your previous comment and adding here. > > "Hello Jagadeesh, > > Why are you moving this driver into edk2-platforms? I'd prefer to have > > it alongside the non-

Re: [edk2-devel] [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 15:02, Gao, Liming wrote: > > Ard: > I prefer to keep them as the separate repo. One dummy Git repo can be > introduced to submodule edk2, edk2-platform, edk2-non-osi, and others. User > can use this git repo to get everything. > That is not really my point. A git subm

Re: [edk2-devel] [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg

2019-04-24 Thread Liming Gao
Ard: I prefer to keep them as the separate repo. One dummy Git repo can be introduced to submodule edk2, edk2-platform, edk2-non-osi, and others. User can use this git repo to get everything. Thanks Liming > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org]

Re: [edk2-devel] [edk2-platforms: PATCH v2 3/3] Marvell/Drivers: Add non-mmio mode to MvFvbDxe

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 09:11, Ard Biesheuvel wrote: > > On Wed, 24 Apr 2019 at 08:52, Marcin Wojtas wrote: > > > > From: Kornel Duleba > > > > This path enables support for reading variables directly from flash without > > relying on it to be memory mapped. It adds PcdSpiMemoryMapped PCD that >

Re: [edk2-devel] [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 14:46, Gao, Liming wrote: > > > So, we need to consider the combination of edk2 master + edk2-platform > master. When do the incompatible change in edk2 master, we need to update > edk2-platform master together. > Yes, it is either that, or we separate them properly, by p

Re: [edk2-devel] [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg

2019-04-24 Thread Liming Gao
So, we need to consider the combination of edk2 master + edk2-platform master. When do the incompatible change in edk2 master, we need to update edk2-platform master together. Thanks Liming > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Wednesday, April 24

[edk2-devel] Question about the Protective MBR in RedHat/Ubuntu

2019-04-24 Thread Xu, Wei6
Hi, I have a question about protective MBR. Thanks a lot for your time. Why is the StartingCHS of protective MBR partition record set to 0x000100 in RedHat / Ubuntu? While UEFI spec defines it as 0x000200. Problem Statement: I met a problem when trying to use FatPei to fetch a file on the GPT pa

Re: [edk2-devel] [PATCH V2 0/8] Decrease the name collisions

2019-04-24 Thread Laszlo Ersek
Hi Zhichao, On 04/24/19 06:58, Zhichao Gao wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1740 > > V1: > The DebugLib instances of DebugPortProtocol, ConOut and StdErr > use a global variable "mExitBootServicesEvent" which is in > conflict with the same variable in StatusCodeHandler

Re: [edk2-devel] [PATCH V2 2/2] MdeModulePkg/GraphicsConsoleDxe: Do not clean the screen

2019-04-24 Thread Laszlo Ersek
On 04/24/19 12:24, Laszlo Ersek wrote: > ... Actually, you mention "the phase immediately after the > PlatformBootManagerAfterConsole() is the best choice". So how about the > following approach: > > (1) Introduce a new protocol (an edk2 extension). The UEFI protocol > database is supposed to con

Re: [edk2-devel] [PATCH V2 2/2] MdeModulePkg/GraphicsConsoleDxe: Do not clean the screen

2019-04-24 Thread Laszlo Ersek
On 04/24/19 04:37, Gao, Zhichao wrote: > > >> -Original Message- >> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >> Laszlo Ersek >> Sent: Tuesday, April 23, 2019 9:51 PM >> To: Gao, Zhichao ; devel@edk2.groups.io >> Cc: Aaron Antone ; Wang, Jian J >> ; Wu, Hao A ;

Re: [edk2-devel] Requestion for LTS version on EDK2

2019-04-24 Thread Laszlo Ersek
On 04/23/19 19:52, Rebecca Cran wrote: > On 2019-04-18 17:26, Laszlo Ersek wrote: >> >> (1) Introduce stable *branches* to the development model. Those would be >> forked off at the stable tags (well, at some of them). > > > Would this be _re_ introducing stable branches? Yes. > As explained in

Re: 答复: [edk2-devel] Requestion for LTS version on EDK2

2019-04-24 Thread Laszlo Ersek
On 04/23/19 16:30, liyi 00215672 wrote: > Hi Laszlo, > > Glad to get your detailed advices, it's useful for us. > > We can give a label like "New feature" or "Bug fixed" to state the > patch or BZ, then the LTS maintainer can easy to distinguish whether put > them(patch or BZ) into

Re: [edk2-devel] [patch 0/7] Move BaseUefiTianoCustomDecompressLib from IntelFrameworkModulePkg to MdeModulePkg

2019-04-24 Thread Laszlo Ersek
On 04/23/19 18:26, Ard Biesheuvel wrote: > On Thu, 4 Apr 2019 at 15:52, Dandan Bi wrote: >> >> We will remove IntelFrameworkModulePkg,but BaseUefiTianoCustomDecompressLib >> in it >> may still need to be used. So move BaseUefiTianoCustomDecompressLib from >> IntelFrameworkModulePkg to MdeModulePk

Re: [edk2-devel] [edk2] Request to add new edk2-libc repository

2019-04-24 Thread Laszlo Ersek
On 04/23/19 23:43, Kinney, Michael D wrote: > Hi Laszlo, > > Many topics in here. Please let me know if I missed anything. > > 1) I did use git filter-branch to extract the history of these >packages. The script I ran is shown below. It results in >a local repo in the directory edk2-f

[edk2-devel] Regarding using any shell command in SCT

2019-04-24 Thread Prakriti Chauhan
Hi, I want to test if my interface is working or not using SCT framework, like give IP address to interface and then run ping command. Any pointers how can I achieve same? Thanks, Prakriti -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Onl

Re: [edk2-devel] [PATCH] CryptoPkg: add issetugid declaration to fix openssl build on FreeBSD

2019-04-24 Thread Philippe Mathieu-Daudé
On 4/22/19 3:46 PM, Wang, Jian J wrote: > crypto/uid.c is needed by VS201x toolchain on Windows. Let's still keep it in > inf. > That means we need this patch for build on FreeBSD. > > Reviewed-by: Jian J Wang Commit 1a734ed85fda71630c795832e6d24ea560caf739 has weird authorship again: rebecca v

[edk2-devel] [[edk2-platforms] 1/1] Platform/Intel/Stratix10: Add Stratix 10 platform support

2019-04-24 Thread Loh, Tien Hock
From: "Tien Hock, Loh" Adds support for Intel Stratix 10 Platform. Signed-off-by: "Tien Hock, Loh" Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney -- v2 - Updates ShellBinPkg with ShellPkg --- .../Drivers/IntelPlatformDxe/IntelPlatformDxe.c| 43 ++ .../Drivers/IntelPlatformD

Re: [edk2-devel] [edk2] [PATCH v2 edk2-platforms] Platform/ARM/Drivers: Add Nor Flash Driver

2019-04-24 Thread Jagadeesh Ujja
Fwd to new EDKII development mailing list. hi Ard, Sorry about missing your previous comment and adding here. "Hello Jagadeesh, Why are you moving this driver into edk2-platforms? I'd prefer to have it alongside the non-MM version instead. That would allow us to share a lot more code betwee

[edk2-devel] [PATCH 1/1] MdeModulePkg: BaseSerialPortLib16550: Add Mmio32 support

2019-04-24 Thread Loh, Tien Hock
From: "Tien Hock, Loh" Some busses doesn't allow 8 bit MMIO read/write, this adds support for 32 bits read/write Signed-off-by: "Tien Hock, Loh" Cc: Jian J Wang Cc: Hao Wu -- v3 - Updates the Pcd to be UINT8 to allow more options such as 16 bits access in the future - Updated copyright date

Re: [edk2-devel] [PATCH V2 3/8] MdePkg/UefiDebugLibStdErr: Decrease the name collisions

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 06:59, Gao, Zhichao wrote: > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1740 > > Add a 'static' descriptor to the global variables that only > used in a single file to minimize the name collisions. > This is only for the varable named 'mExitBootServicesEvent'. > >

[edk2-devel] [wiki][Patch] Move the features of IntelFrameworkXXXPkg retirement to 201908 tag

2019-04-24 Thread Liming Gao
The community feedback is to keep IntelFrameworkxxxPkg in 201905 tag. So, move this retirement to next tag 201908. Signed-off-by: Liming Gao --- EDK-II-Release-Planning.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EDK-II-Release-Planning.md b/EDK-II-Release-Planning

[edk2-devel] [RFC] Remove PI spec TemporaryRamSupport PPI from PEI Core

2019-04-24 Thread Jordan Justen
Short summary: Despite being part of the Platorm Initialization Specificication, this proposal would remove support for the TemporaryRamSupport PPI from PEI Core. Arguably, this would mean the PEI Core does not support the PI spec, but we do not currently know if any platforms require this PPI. Ma

Re: [edk2-devel] [edk2-platforms] [RFC] Migrate devel-MinPlatform branch to master branch

2019-04-24 Thread Liming Gao
Michael: I think this change is good. Could you submit one BZ for it? Thanks Liming >-Original Message- >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >Kubacki, Michael A >Sent: Friday, April 19, 2019 5:12 AM >To: 'devel@edk2.groups.io' >Subject: [edk2-devel] [ed

Re: [edk2-devel] [edk2-platforms/master] [patch 0/5] Update platforms to use UefiDecompressLib in MdeModulePkg

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 02:09, Dandan Bi wrote: > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1683 > > We have moved the BaseUefiTianoCustomDecompressLib > from IntelFrameworkModulePkg to MdeModulePkg, so > update consumers accordingly. > > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Cc: M

Re: [edk2-devel] [edk2-platforms: PATCH v2 3/3] Marvell/Drivers: Add non-mmio mode to MvFvbDxe

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 08:52, Marcin Wojtas wrote: > > From: Kornel Duleba > > This path enables support for reading variables directly from flash without > relying on it to be memory mapped. It adds PcdSpiMemoryMapped PCD that > allows to switch between the modes. When in non-memory-mapped mode

Re: [edk2-devel] [PATCH v2] MdeModulePkg/DxeCore: Please static checker for false report

2019-04-24 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 07:05, Hao Wu wrote: > > After commit 57df17fe26, some static check reports suspicous NULL pointer > deference at line: > > Entry->MachineType = Entry->Emulator->MachineType; >^^^ > > within function PeCoffEmuProtocolNotify(). > > Howeve

Re: [edk2-devel] [PATCH 1/1] MdeModulePkg: BaseSerialPortLib16550: Add Mmio32 support

2019-04-24 Thread Loh, Tien Hock
Hi Mike, Hao, Replies inlined. On Wed, 2019-04-24 at 03:45 +, Michael D Kinney wrote: > One issue I see is using a FeatureFlag PCD. > These PCDs can only be TRUE or FALSE, so they can not be > extended later. A FixedAtBuild PCD of type BOOL has the > same issue. > > It would be better to u

Re: [edk2-devel] [RFC] Propose to remove IpSecDxe

2019-04-24 Thread Liming Gao
Got it. Thanks! From: Fu, Siyuan Sent: Wednesday, April 24, 2019 2:52 PM To: Gao, Liming ; devel@edk2.groups.io Cc: Wu, Jiaxin Subject: RE: [RFC] Propose to remove IpSecDxe Hi, Liming Yes, Wang Fan already sent out the patch to remove both IpSecDxe and the IpsecConfig application. See the patc