[edk2-devel] [edk2-platforms PATCH 4/4] Omap35xxPkg: InterruptDxe: add gEfiCpuArchProtocolGuid runtime dependency

2021-09-10 Thread Rebecca Cran
InterruptDxe requires gEfiCpuArchProtocolGuid: change the Depex line for TexasInstruments/Omap35xxPkg/InterruptDxe so the driver that provides gEfiCpuArchProtocolGuid is loaded before it. Signed-off-by: Rebecca Cran --- Silicon/TexasInstruments/Omap35xxPkg/InterruptDxe/InterruptDxe.inf | 2 +-

[edk2-devel] [edk2-platforms PATCH 1/4] BeagleBoardPkg: Remove the configuration and image headers from flash

2021-09-10 Thread Rebecca Cran
Remove the configuration and image headers from the flash image. This was likely intended for the UEFI firmware to be loaded by the ROM code, but the BeagleBoard only has 64KB SRAM and so EDK2 needs to be executed as a second stage loader. Signed-off-by: Rebecca Cran ---

[edk2-devel] [edk2-platforms PATCH 0/4] Some BeagleBoardPkg fixes

2021-09-10 Thread Rebecca Cran
Since we still have quite a lot of 32-bit ARM code in the tree, it would be nice to have a physical platform to verify that it still works correctly. I recently got one of the original BeagleBoard boards and have been working to get EDK2 booting on it again. These patches let it get further,

[edk2-devel] [edk2-platforms PATCH 2/4] BeagleBoardPkg: Remove PerformanceLib from build

2021-09-10 Thread Rebecca Cran
PerformanceLib is related to building the ACPI Firmware Performance Data Table (FPDT). Since BeagleBoardPkg targets 32-bit ARM systems where ACPI isn't relevant, remove it. Signed-off-by: Rebecca Cran --- Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc | 3 --- 1 file changed, 3

[edk2-devel] [edk2-platforms PATCH 3/4] BeagleBoardPkg: Align PE sections to 4K

2021-09-10 Thread Rebecca Cran
Add build options to BeagleBoardPkg.dsc to align PE sections to 4K. This avoids warnings during boot when loading drivers. Signed-off-by: Rebecca Cran --- Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc | 4 1 file changed, 4 insertions(+) diff --git

Re: [edk2-devel] [PATCH v7 0/9] Ovmf: Disable the TPM2 platform hierarchy

2021-09-10 Thread Yao, Jiewen
If you want, I would suggest to take 2 steps (2 separate patch sets). 1) To add the TCG2 platform auth handling the security pkg (just move the code from min-platform to securitypkg) If nothing else is changed, it can be approved easily. 2) To enable QEMU support to make platform auth + TCG PP

Re: [edk2-devel] [PATCH v7 0/9] Ovmf: Disable the TPM2 platform hierarchy

2021-09-10 Thread Yao, Jiewen
Hi Stefan I notice you signal EndOfDxe at PlatformBootManagerBeforeConsole() https://github.com/tianocore/edk2/blob/master/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c#L380 I would say, if PP is done after EndOfDxe, then the order is NOT right. This topic has been debated for years.

Re: [edk2-devel] [PATCH V5 2/2] OvmfPkg/ResetVector: Enable Intel TDX in ResetVector of Ovmf

2021-09-10 Thread Erdem Aktas via groups.io
On Mon, Aug 30, 2021 at 5:35 AM Min Xu wrote: > +; > +; Check if it is Intel Tdx > +; > +; Modified: EAX, EBX, ECX, EDX > +; > +; If it is Intel Tdx, EAX is zero > +; If it is not Intel Tdx, EAX is non-zero > +; > +IsTdx: IsTdx returns 0 when TDX is enabled in CPUID but IsTdxEnabled return 1

Re: [edk2-devel] [PATCH 07/23] MdePkg: Update BaseIoLibIntrinsicSev to support Tdx

2021-09-10 Thread Erdem Aktas via groups.io
On Thu, Aug 12, 2021 at 2:57 PM Min Xu wrote: > +UINT8 > +EFIAPI > +TdMmioRead8 ( > + IN UINTN Address > + ) > +{ > + UINT64 Value; > + UINT64 Status; > + > + Address |= TdSharedPageMask (); Why is the

Re: [edk2-devel] [PATCH 06/23] MdePkg: Add TdxLib to wrap Tdx operations

2021-09-10 Thread Erdem Aktas via groups.io
On Thu, Aug 12, 2021 at 2:57 PM Min Xu wrote: > - TdMaxVCpuNum: Get the maximum number of virutal CPUs. s/virutal/virtual > - TdVCpuNum : Get the number of virtual CPUs. (In some case VMM may > add more vCPU in runtime). s/case/cases How is this possible

Re: [edk2-devel] [PATCH 05/23] MdePkg: Add TdxProbeLib to probe Intel Tdx

2021-09-10 Thread Erdem Aktas via groups.io
On Thu, Aug 12, 2021 at 2:57 PM Min Xu wrote: > + > +#include > +#include "InternalTdxProbe.h" > + > +/** > + TDX only works in X64. So allways return -1 to indicate Non-Td. s/allways/always Also, -1 or 1? PROBE_NOT_TD_GUEST is defined as 1. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You

Re: [edk2-devel] [PATCH 03/23] OvmfPkg/ResetVector: Enable Intel TDX in ResetVector of Ovmf

2021-09-10 Thread Erdem Aktas via groups.io
On Thu, Aug 12, 2021 at 2:57 PM Min Xu wrote: > > +; > +; Check if it is Intel Tdx > +; > +; Modified: EAX, EBX, ECX, EDX > +; > +; If it is Intel Tdx, EAX is zero > +; If it is not Intel Tdx, EAX is non-zero > +; > +IsTdx: IsTdx returns 0 when TDX is enabled in CPUID but IsTdxEnabled return 1

Re: [edk2-devel] [PATCH 02/23] OvmfPkg/Sec: Update the check logic in SevEsIsEnabled

2021-09-10 Thread Erdem Aktas via groups.io
On Thu, Aug 12, 2021 at 2:57 PM Min Xu wrote: > > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 > > SevEsIsEnabled return TRUE if SevEsWorkArea->SevEsEnabled is non-zero. s/return/returns > It is correct when SevEsWorkArea is only used by SEV. After Intel TDX > is enabled in Ovmf, the

Re: [edk2-devel] [PATCH v3 0/2] ExtPkg Updates

2021-09-10 Thread Pedro Falcato
Pushed as to edk2-platforms as 71f334393361d53e805fe9a01e2cf7bc43e909ce and 7872c983ed45de4c9e4e9295aa249e1369913094, respectively. On Fri, Sep 10, 2021 at 11:11 PM Jeff Brasen wrote: > > I have been using the new Ext4Pkg and been pretty successful and it is > solving a use case we had. > > Had

Re: [edk2-devel] [PATCH v3 0/2] ExtPkg Updates

2021-09-10 Thread Pedro Falcato
Series Reviewed-by: Pedro Falcato On Fri, Sep 10, 2021 at 11:11 PM Jeff Brasen wrote: > > I have been using the new Ext4Pkg and been pretty successful and it is > solving a use case we had. > > Had a couple updates to propose > > 1. Changed the implementation of the binding protocol to both

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Abner Chang
> -Original Message- > From: Ni, Ray [mailto:ray...@intel.com] > Sent: Friday, September 10, 2021 6:07 PM > To: devel@edk2.groups.io; l...@nuviainc.com; Chang, Abner (HPS SW/FW > Technologist) > Cc: kra...@redhat.com; Yao, Jiewen ; gaoliming > ; 'Ard Biesheuvel' ; > Kinney, Michael D ;

[edk2-devel] [PATCH 1/1] MdeModulePkg: Add MpServicesTest application to exercise MP Services

2021-09-10 Thread Rebecca Cran
Add a new MpServicesTest application under MdeModulePkg/Application that exercises the EFI_MP_SERVICES_PROTOCOL. Signed-off-by: Rebecca Cran --- MdeModulePkg/Application/MpServicesTest/MpServicesTest.c | 389 MdeModulePkg/Application/MpServicesTest/MpServicesTest.inf |

Re: [edk2-devel] [edk2-platforms][PATCH v4 2/2] KabylakeOpenBoardPkg/AspireVn7Dash572G/DxeBoardInitLib: Fix byte shift

2021-09-10 Thread Chiu, Chasel
Pushed: https://github.com/tianocore/edk2-platforms/commit/057f23a2022c7efb9f99c5c523e09125cb66756b Thanks, Chasel > -Original Message- > From: Benjamin Doron > Sent: Monday, September 6, 2021 10:56 AM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > >

Re: [edk2-devel] [edk2-platforms][PATCH v4 1/2] KabylakeOpenBoardPkg/AspireVn7Dash572G/BoardEcLib: Check for NULL

2021-09-10 Thread Chiu, Chasel
Push: https://github.com/tianocore/edk2-platforms/commit/f1add54453dddb2028c87445c234e746b62d7a12 Thanks, Chasel > -Original Message- > From: Benjamin Doron > Sent: Monday, September 6, 2021 10:55 AM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > > Subject:

[edk2-devel] alderlake code build fail under win10

2021-09-10 Thread Linus Liu
Dear Sir I am trying to build the alder lake code, but got something wrong. Could you kindly give some help on it? Thanks a lot. build.py... : error C0DE: Tools code failure Please send email to devel@edk2.groups.io for help, attaching following call stack trace! Traceback (most recent

[edk2-devel] [PATCH v3 2/2] Ext4Pkg: Support uncleanly unmounted filesystems

2021-09-10 Thread Jeff Brasen via groups.io
Support for uncleanly mounted filesystems, if there is a recovery journal mark filesystem as read-only. Signed-off-by: Jeff Brasen --- Features/Ext4Pkg/Ext4Dxe/Superblock.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Features/Ext4Pkg/Ext4Dxe/Superblock.c

[edk2-devel] [PATCH v3 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Jeff Brasen via groups.io
A couple of improvements to improve performance. Add check to return ACCESS_DENIED if already connected Add check to verify superblock magic during supported to reduce start calls Signed-off-by: Jeff Brasen --- Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h| 14 +++

[edk2-devel] [PATCH v3 0/2] ExtPkg Updates

2021-09-10 Thread Jeff Brasen via groups.io
I have been using the new Ext4Pkg and been pretty successful and it is solving a use case we had. Had a couple updates to propose 1. Changed the implementation of the binding protocol to both check if the driver is already bound to the partition as well as added a really quick check to

[edk2-devel] [PATCH v2] CryptoPkg/BaseCryptLib: Eliminate extra buffer copy in Pkcs7Verify()

2021-09-10 Thread Bob Morgan via groups.io
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3617 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. Cc: Jiewen Yao Cc: Jian J Wang Cc:

Re: [edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Jeff Brasen via groups.io
We actually can't open the BlockIo protocol as BY_DRIVER as it is already owned by the DiskIoDxe driver. Will upload a v3 with the other feedback though. Thanks, Jeff From: Marvin Häuser Sent: Friday, September 10, 2021 12:09 PM To: Pedro Falcato Cc:

Re: [edk2-devel] [PATCH v7 0/9] Ovmf: Disable the TPM2 platform hierarchy

2021-09-10 Thread Stefan Berger
On 9/10/21 12:15 PM, Stefan Berger wrote: On 9/10/21 11:32 AM, Yao, Jiewen wrote: According to the security policy, PP request must be processed before EndOfDxe. May I know when you trigger PP request? OVMF has 3 implementations invoking it in PlatformBootManagerAfterConsole():

Re: [edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Marvin Häuser
On 10/09/2021 19:08, Pedro Falcato wrote: Ah yes, thanks! Although I didn't find the part where they say that you need to use the same attributes, after re-reading the spec it seems they recommend using BY_DRIVER. UEFI 2.9, 11.1, "Device Driver", 2.: "It must use the same Attribute value that

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc/Readme.md: Updated Readme.md with Python 3.6.8 License details

2021-09-10 Thread Rebecca Cran
Pushed as ce35be387725cf6bb1caefa4d4b0bd48ea72cbfa. -- Rebecca Cran On 9/8/21 10:54 AM, Jayaprakash Nevara wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3611 This commit contains updates made to the Readme.md file of edk2-libc repo to add the Python 3.6.8 license at

Re: [edk2-devel] [edk2-libc Patch 1/1] edk2-libc/Readme.md: Updated Readme.md with Python 3.6.8 License details

2021-09-10 Thread Rebecca Cran
Sorry for the delay -- I've been trying to find time to make sure I can follow the process correctly. I've just pushed the change as ce35be387725cf6bb1caefa4d4b0bd48ea72cbfa. For future patches, please add a Signed-off-by line. -- Rebecca Cran On 9/9/21 12:12 AM, Jayaprakash, N wrote:

Re: [edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Pedro Falcato
Ah yes, thanks! Although I didn't find the part where they say that you need to use the same attributes, after re-reading the spec it seems they recommend using BY_DRIVER. So, change it to BY_DRIVER. The performance should be the same and it's more consistent. On Fri, Sep 10, 2021 at 5:56 PM

Re: [edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Jeff Brasen via groups.io
Yeah we need by_driver on at least one protocol to prevent re-binding to the controller. It will return ALREADY_STARTED if this driver already has it open (from in Start) or ACCESS_DENIED if another driver is holding this. I can covert both to by_driver if that is desired. Will make the other

Re: [edk2-devel] [PATCH V5 1/2] OvmfPkg: Introduce Tdx BFV/CFV PCDs and PcdOvmfImageSizeInKb

2021-09-10 Thread Erdem Aktas via groups.io
I have few naive questions. Sorry if the answers were obvious. >>TDVF also include a configuration firmware volume (CFV) that is separated >>from the BFV. The reason is because the CFV is measured in RTMR, while >>the BFV is measured in MRTD. If I understand correctly, this means that the BFV is

Re: [edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Marvin Häuser
On 10/09/2021 18:52, Pedro Falcato wrote: Like Marvin raised in v1, it's a good idea to change the first OpenProtocol's EFI_OPEN_PROTOCOL_BY_DRIVER into EFI_OPEN_PROTOCOL_GET_PROTOCOL, for consistency's sake. Since we're not keeping these protocols open, using BY_DRIVER makes no difference.

Re: [edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Pedro Falcato
Like Marvin raised in v1, it's a good idea to change the first OpenProtocol's EFI_OPEN_PROTOCOL_BY_DRIVER into EFI_OPEN_PROTOCOL_GET_PROTOCOL, for consistency's sake. Since we're not keeping these protocols open, using BY_DRIVER makes no difference. You didn't update Ext4SuperblockCheckMagic's

Re: [edk2-devel] [PATCH 1/2] Ext4Pkg: Improve Binding support behavior

2021-09-10 Thread Marvin Häuser
Good day, On 09/09/2021 22:41, Jeff Brasen via groups.io wrote: A couple improvements to improve performance. Add check to return ACCESS_DENIED if already connected This "performance improvement" actually aligns the load behaviour with the UEFI spec, maybe it should be mentioned? Add

Re: [edk2-devel] [PATCH v7 0/9] Ovmf: Disable the TPM2 platform hierarchy

2021-09-10 Thread Stefan Berger
On 9/10/21 11:32 AM, Yao, Jiewen wrote: According to the security policy, PP request must be processed before EndOfDxe. May I know when you trigger PP request? OVMF has 3 implementations invoking it in PlatformBootManagerAfterConsole():

[edk2-devel] [PATCH v2 2/2] Ext4Pkg: Support uncleanly unmounted filesystems

2021-09-10 Thread Jeff Brasen via groups.io
Support for uncleanly mounted filesystems, if there is a recovery journal mark filesystem as read-only. Signed-off-by: Jeff Brasen --- Features/Ext4Pkg/Ext4Dxe/Superblock.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Features/Ext4Pkg/Ext4Dxe/Superblock.c

[edk2-devel] [PATCH v2 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Jeff Brasen via groups.io
A couple of improvements to improve performance. Add check to return ACCESS_DENIED if already connected Add check to verify superblock magic during supported to reduce start calls Signed-off-by: Jeff Brasen --- Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h| 14 +++

[edk2-devel] [PATCH v2 0/2] ExtPkg Updates

2021-09-10 Thread Jeff Brasen via groups.io
I have been using the new Ext4Pkg and been pretty successful and it is solving a use case we had. Had a couple updates to propose 1. Changed the implementation of the binding protocol to both check if the driver is already bound to the partition as well as added a really quick check to

Re: [edk2-devel] [PATCH v7 0/9] Ovmf: Disable the TPM2 platform hierarchy

2021-09-10 Thread Yao, Jiewen
According to the security policy, PP request must be processed before EndOfDxe. May I know when you trigger PP request? Thank you Yao Jiewen > -Original Message- > From: Stefan Berger > Sent: Friday, September 10, 2021 10:25 PM > To: devel@edk2.groups.io; stef...@linux.vnet.ibm.com >

Re: [edk2-devel] [PATCH v7 0/9] Ovmf: Disable the TPM2 platform hierarchy

2021-09-10 Thread Stefan Berger
On 9/9/21 1:35 PM, Stefan Berger wrote: This series imports code from the edk2-platforms project related to disabling the TPM2 platform hierarchy in Ovmf. It addresses the Ovmf aspects of the following bugs: https://bugzilla.tianocore.org/show_bug.cgi?id=3510

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Ni, Ray
I asked similar question to Mike who initially set up the CI. The answer was: it's ok to pull a edk2-platform code in CI process to verify edk2 code change. > -Original Message- > From: devel@edk2.groups.io On Behalf Of Leif Lindholm > Sent: Friday, September 10, 2021 5:55 PM > To:

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Add script to build UniversalPayload in UefiPayloadPkg

2021-09-10 Thread Ni, Ray
+ Bob for general python language level review. more comments embedded. > +def BuildUniversalPayload(args, MacroList): > +build_target = args.Target > +tool_chain_tag = args.ToolChain > +elf_tool_chain = 'CLANGDWARF' > +entry_module_inf = os.path.join("UefiPayloadPkg",

Re: [edk2-devel] [RFC] RISC-V QEMU virtual package

2021-09-10 Thread Leif Lindholm
On Fri, Sep 10, 2021 at 00:08:12 +, Chang, Abner (HPS SW/FW Technologist) wrote: > > Move it to OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibMMIO.{c,inf} ? > The naming sounds good to me. > > Another question, > Can CI build the package with dependency of edk2-platform? Currently > RiscVPkg in

[edk2-devel] [PATCH v6 06/10] Silicon/Phytium: Added Spi driver support to FT2000/4

2021-09-10 Thread Ling Jia
The SpiDxe is to provide Spi bus read-write interfaces. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec | 9 + Platform/Phytium/DurianPkg/DurianPkg.dsc| 5 +

[edk2-devel] [PATCH v6 10/10] Maintainers.txt: Added maintainers and reviewers for the DurianPkg

2021-09-10 Thread Ling Jia
Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Maintainers.txt | 8 1 file changed, 8 insertions(+) diff --git a/Maintainers.txt b/Maintainers.txt index 979553b610..c839c71b22 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -371,3 +371,11 @@ F: Silicon/SiFive/ M: Abner

[edk2-devel] [PATCH v6 09/10] Silicon/Phytium: Added Rtc driver to FT2000/4

2021-09-10 Thread Ling Jia
The RealTimeClockLib implemented EFI RealTimeClock runtime services via RTC Lib. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec | 1 + Platform/Phytium/DurianPkg/DurianPkg.dsc

[edk2-devel] [PATCH v6 07/10] Silicon/Phytium: Added flash driver support to Phytium Silicon

2021-09-10 Thread Ling Jia
The SpiNorFlashDxe provided norflash initialization, read-write, erase and other interfaces. This is a set of special communication protocol for ft2000/4 chip QSPI controller. Signed-off-by: Ling Jia --- Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec | 1 +

[edk2-devel] [PATCH v6 08/10] Silicon/Phytium: Added fvb driver for norflash

2021-09-10 Thread Ling Jia
The FlashFvbDxe provided the fvb protocol, which requested by the flash operators. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Platform/Phytium/DurianPkg/DurianPkg.dsc |1 + Platform/Phytium/DurianPkg/DurianPkg.fdf |1 +

[edk2-devel] [PATCH v6 05/10] Silicon/Phytium: Added PciHostBridgeLib to FT2000/4

2021-09-10 Thread Ling Jia
The Pci host bridge library is mainly to get Pci bridge information. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Platform/Phytium/DurianPkg/DurianPkg.dsc | 9 + Platform/Phytium/DurianPkg/DurianPkg.fdf | 6 +

[edk2-devel] [PATCH v6 04/10] Silicon/Phytium: Added PciSegmentLib to FT2000/4

2021-09-10 Thread Ling Jia
The PCI Segment Library for Phytium platform. with multiple RCs. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Platform/Phytium/DurianPkg/DurianPkg.dsc|9 +- Silicon/Phytium/FT2000-4Pkg/Library/PciSegmentLib/PciSegmentLib.inf | 28 +

[edk2-devel] [PATCH v6 03/10] Silicon/Phytium: Added SMBIOS support to FT2000/4

2021-09-10 Thread Ling Jia
This driver installs SMBIOS information for FT2000/4. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Platform/Phytium/DurianPkg/DurianPkg.dsc| 6 + Platform/Phytium/DurianPkg/DurianPkg.fdf| 6 +

[edk2-devel] [PATCH v6 01/10] Silicon/Phytium: Added PlatformLib to FT2000/4

2021-09-10 Thread Ling Jia
The PlatformLib supported the system library for FT2000/4 chip. Platform/Phytium: Added the dsc and fdf files of DurianPkg. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Silicon/Phytium/PhytiumCommonPkg/PhytiumCommonPkg.dec | 41 +++

[edk2-devel] [PATCH v6 02/10] Silicon/Phytium: Added Acpi support to FT2000/4

2021-09-10 Thread Ling Jia
Added Acpi driver and table to FT2000/4, the ACPI Tables providing library AcpiTables.inf uses a lot of information that is available in the form of PCDs for differnt platforms. Signed-off-by: Ling Jia Reviewed-by: Leif Lindholm --- Platform/Phytium/DurianPkg/DurianPkg.dsc

[edk2-devel] [PATCH v6 00/10] Added support for FT2000/4 chip

2021-09-10 Thread Ling Jia
This series added packages to support FT2000/4 chip. Platform/Phytium: Added DurianPkg, include DurianPkg.dsc and DurianPkg.fdf. Silicon/Phytium: Added FT2000-4Pkg and PhytiumCommonPkg. The modules could be runed at the silicon of FT2000/4. They supported Acpi parameter configuration, Pci bus

Re: [edk2-devel] [PATCH V5 2/2] OvmfPkg/ResetVector: Enable Intel TDX in ResetVector of Ovmf

2021-09-10 Thread Gerd Hoffmann
Hi, > > If we can use 4-level paging initially, then we surely should go for option > > (1) > > and simply not touch the reset vectors paging code. > After PoC I find this option is not a good one. Though the reset > vectors is not touched, there are tricky changes in DxeIpl. To set up >

[edk2-devel] [PATCH] UefiPayloadPkg: Add script to build UniversalPayload in UefiPayloadPkg

2021-09-10 Thread duntan
Add script to build UniversalPayload, which can be used after edksetup rebuild The final UPL.elf will be located at root folder of edk2 Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Zhiguang Liu Signed-off-by: Dun Tan --- UefiPayloadPkg/UniversalPayloadBuild.py | 95

[edk2-devel] [PATCH] UefiPayloadPkg: Add script to build UniversalPayload in UefiPayloadPkg

2021-09-10 Thread duntan
Add script to build UniversalPayload, which can be used after edksetup rebuild The final UPL.elf will be located at root folder of edk2 Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Zhiguang Liu Signed-off-by: Dun Tan --- UefiPayloadPkg/UniversalPayloadBuild.py | 95

[edk2-devel] [PATCH] UefiPayloadPkg: Add script to build UniversalPayload in UefiPayloadPkg

2021-09-10 Thread duntan
Add script to build UniversalPayload, which can be used after edksetup rebuild The final UPL.elf will be located at root folder of edk2 Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Zhiguang Liu Signed-off-by: Dun Tan --- UefiPayloadPkg/UniversalPayloadBuild.py | 95

[edk2-devel] [Patch V3 2/2] UefiPayloadPkg: Dump hob info from gEdkiiBootManagerMenuFileGuid

2021-09-10 Thread duntan
From: duntan V1: Dump this hob infomation from gEdkiiBootManagerMenuFileGuid V2: Delete the duplicated assertions V3: Add input parameter in Comment Cc: Guo Dong Reviewed-by: Ray Ni Cc: Maurice Ma Cc: Benjamin You Reviewed-by: Zhiguang Liu Signed-off-by: Dun Tan ---

[edk2-devel] [Patch V3 1/2] UefiPayloadPkg: Fix the bug in dump guid HOB info functions

2021-09-10 Thread duntan
From: duntan The input HobLength of PrintHandler should be data size instead of whole length of HOB Cc: Guo Dong Reviewed-by: Ray Ni Cc: Maurice Ma Cc: Benjamin You Reviewed-by: Zhiguang Liu Signed-off-by: Dun Tan --- UefiPayloadPkg/UefiPayloadEntry/PrintHob.c | 10 +++--- 1 file

[edk2-devel] [Patch V3 0/2] Fix and enhancement in Payload Entry DumpHob funcs

2021-09-10 Thread duntan
Fix the bug in dump guid HOB info functions Dump hob info from gEdkiiBootManagerMenuFileGuid duntan (2): UefiPayloadPkg: Fix the bug in dump guid HOB info functions UefiPayloadPkg: Dump hob info from gEdkiiBootManagerMenuFileGuid UefiPayloadPkg/UefiPayloadEntry/PrintHob.c|

Re: [edk2-devel] [PATCH V2] MdeModulePkg/BootManagerMenuApp: Limit string drawing within one line

2021-09-10 Thread Gao, Zhichao
No. My point is the HII usage would require the HII browser engine. That's too complex for this simple app. Dandan, If I am wrong, please help to correct. Thanks, Zhichao > -Original Message- > From: Ni, Ray > Sent: Thursday, September 9, 2021 10:55 PM > To: Gao, Zhichao ; Bi, Dandan