Re: [edk2-devel] [PATCH v2] MdePkg: Update smbiosview type 9 with SMBIOS 3.5 fields

2022-04-18 Thread Gao, Zhichao
Hi Liming, Mike, Can you help to create the PR of these patch set? This is the first patch and the second one is ShellPkg with the same titile. Thanks, Zhichao > -Original Message- > From: devel@edk2.groups.io On Behalf Of > gaoliming > Sent: Sunday, April 17, 2022 11:25 AM > To:

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Yao, Jiewen
OK. Let me describe what I think. PCI Express BAR need to be initialized by someone in the platform. This initialization may require CFG8. That is understandable. A good design is that: After the PCIE BAR is initialized, it can be accessed. Requires additional step (such as clear C-bit) means

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Yao, Jiewen
Can SEV clear the C-bit in SEC phase? I think that is right way to ensure PCI Express can always be accessed by anyone. > -Original Message- > From: Xu, Min M > Sent: Tuesday, April 19, 2022 12:39 PM > To: Yao, Jiewen ; devel@edk2.groups.io > Cc: Brijesh Singh ; Aktas, Erdem > ; James

[edk2-devel] Some questions about Azure CI

2022-04-18 Thread Chao Li
Hi Sean and Bret, I prepare submit a new architecture code to edk2, and I have applied for an Azure ID. There have two questions when trigger the Azure CI, please refer to the following two links:

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Min Xu
In AmdSevDxe's entry point it clears the C-bit from PcdPciExpressBaseAddress and other memory spaces if needed. Please see https://github.com/tianocore/edk2/blob/master/OvmfPkg/AmdSevDxe/AmdSevDxe.c#L81-L95. After that OVMF can use PCI express. This broken is caused by the call sequence of

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Yao, Jiewen
Do you mean, with SEV introduced, OVMF cannot use PCI express any more? Thank you Yao Jiewen > -Original Message- > From: Xu, Min M > Sent: Tuesday, April 19, 2022 11:05 AM > To: Yao, Jiewen ; devel@edk2.groups.io > Cc: Brijesh Singh ; Aktas, Erdem > ; James Bottomley ; Tom > Lendacky

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Min Xu
On April 19, 2022 10:54 AM, Yao Jiewen wrote: > > Why does TdxDxe call TdxMailbox in an SEV platform? > Or why does TdxMailbox call SynchronizationLib in an SEV platform? > TdxDxe will not call TdxMailbox/SynchronizationLib in SEV platform. The problem is in the lib constructor. When TdxDxe

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Fix IA32 entry build failure

2022-04-18 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Tan, Dun > Sent: Tuesday, April 19, 2022 8:51 AM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Dong, Guo ; You, Benjamin > ; Liu, > Zhiguang > Subject: [PATCH] UefiPayloadPkg: Fix IA32 entry build failure > > The ObjCopyFlag and

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Yao, Jiewen
Why does TdxDxe call TdxMailbox in an SEV platform? Or why does TdxMailbox call SynchronizationLib in an SEV platform? There are many places we can do CcProbe to stop action. Why we need do it in DSC? In general, DSC lib override should be the last option, because it requires the platform

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Min Xu
On April 19, 2022 10:08 AM, Yao Jiewen wrote: > > If TdxDxe breaks SEV, should we skip the TdxDxe in SEV path? > > I don't understand why we need use Cfg8. > In TdxDxe driver we need to relocate APs and it requires the TdxMailboxLib. The lib chain is that TdxMailbox -> SynchronizationLib ->

Re: [edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Yao, Jiewen
Hi If TdxDxe breaks SEV, should we skip the TdxDxe in SEV path? I don't understand why we need use Cfg8. Thank you Yao Jiewen > -Original Message- > From: devel@edk2.groups.io On Behalf Of Min Xu > Sent: Tuesday, April 19, 2022 9:58 AM > To: devel@edk2.groups.io > Cc: Xu, Min M ;

[edk2-devel] [PATCH] OvmfPkg: Set PciLib for TdxDxe driver

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3904 TdxDxe driver is introduced for Intel TDX feature. Unfortunately, this driver also breaks boot process in SEV-ES guest. The root cause is in the PciLib which is imported by TdxDxe driver. In a SEV-ES guest the AmdSevDxe driver performs a

[edk2-devel] [PATCH v1 1/1] PrmPkg/DxePrmContextBufferLib: Fix unit test GCC compilation errors

2022-04-18 Thread Michael Kubacki
From: Michael Kubacki https://bugzilla.tianocore.org/show_bug.cgi?id=3905 Fixes GCC compilation errors in DxePrmContextBufferLibUnitTest.c. Cc: Michael Kubacki Cc: Nate DeSimone Cc: Ankit Sinha Signed-off-by: Michael Kubacki ---

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - 04/19/2022 #cal-reminder

2022-04-18 Thread devel@edk2.groups.io Calendar
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:PUBLISH REFRESH-INTERVAL;VALUE=DURATION:PT1H X-PUBLISHED-TTL:PT1H CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20220317T223602Z

Re: [edk2-devel] [PATCH V4 0/7] Introduce CcProbe in MdePkg

2022-04-18 Thread Yao, Jiewen
Thanks Min. Merged - https://github.com/tianocore/edk2/pull/2790 > -Original Message- > From: Xu, Min M > Sent: Tuesday, April 19, 2022 8:26 AM > To: devel@edk2.groups.io > Cc: Xu, Min M ; Kinney, Michael D > ; Gao, Liming ; Liu, > Zhiguang ; James Bottomley ; > Yao, Jiewen ; Gerd

Re: [edk2-devel] [PATCH 1/4] CryptoPkg: Add instrinsics to support building ECC on IA32 windows

2022-04-18 Thread yi1 li
Hi Mike, This is a wrong email sequence due to my mishandling, sorry for confusing, please ignore this patch. -Original Message- From: Kinney, Michael D Sent: Monday, April 18, 2022 11:24 PM To: devel@edk2.groups.io; Li, Yi1 ; Gerd Hoffmann ; Kinney, Michael D Subject: RE:

[edk2-devel] [PATCH] UefiPayloadPkg: Fix IA32 entry build failure

2022-04-18 Thread duntan
The ObjCopyFlag and EntryOutputDir need to be modified when building IA32 UniversalPayload Entry Signed-off-by: Dun Tan Cc: Ray Ni Cc: Guo Dong Cc: Benjamin You Cc: Zhiguang Liu --- UefiPayloadPkg/UniversalPayloadBuild.py | 18 -- 1 file changed, 12 insertions(+), 6

Re: [edk2-devel] [PATCH 1/4] CryptoPkg: Add instrinsics to support building ECC on IA32 windows

2022-04-18 Thread Yao, Jiewen
Hi I am confused. This patch set has already been merged. Why it is sent again? Have you rebased to latest tree, before you send out patch? Thank you Yao Jiewen > -Original Message- > From: devel@edk2.groups.io On Behalf Of yi1 li > Sent: Monday, April 18, 2022 9:03 PM > To:

[edk2-devel] [PATCH V4 7/7] OvmfPkg: Call CcProbe in SecMain.c instead of TsIsEnabled

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 TdIsEnabled() uses the CPUID instruction. At this point, exception handling is not established and a CPUID instruction will generate a #VC and cause the booting guest to crash. CcProbe() checks Ovmf work area to return the guest type. So

[edk2-devel] [PATCH V4 6/7] MdePkg: Probe Cc guest in BaseIoLibIntrinsicSev

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 Bad IO performance in SEC phase is observed after TDX features was introduced. (after commit b6b2de884864 - "MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic"). This is because IsTdxGuest() will be called in each MMIO operation. It

[edk2-devel] [PATCH V4 5/7] OvmfPkg: Add CcProbeLib in *.dsc

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 CcProbeLib is imported in BaseIoLibIntrinsicSev. OvmfPkg/Library/CcProbeLib is the OvmfPkg version which checks OvmfWorkArea to return the Cc guest type. It is included in OvmfPkgX64.dsc and IntelTdx/IntelTdxX64.dsc. Other .dsc include the

[edk2-devel] [PATCH V4 4/7] OvmfPkg: Add CcProbeLib

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 This is the OvmfPkg specific CcProbeLib. It checks the Ovmf WorkArea (PcdOvmfWorkAreaBase) to return the guest type. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: James Bottomley Cc: James Bottomley Cc: Jiewen Yao Cc: Gerd

[edk2-devel] [PATCH V4 3/7] MdePkg: Add CcProbeLibNull

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 CcProbeLib is used to probe the Confidential Computing guest type. This library is designed to run on SEC / PEI / DXE phases. A null instance of the library always returns CCGuestTypeNonEncrypted. A platform specific CcProbeLib will be

[edk2-devel] [PATCH V4 2/7] OvmfPkg: Replace GUEST_TYPE with CC_GUEST_TYPE

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 Replace GUEST_TYPE with CC_GUEST_TYPE which is defined in MdePkg/Include/ConfidentialComputingGuestAttr.h. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: James Bottomley Cc: Jiewen Yao Cc: Gerd Hoffmann Cc: Brijesh Singh

[edk2-devel] [PATCH V4 1/7] MdePkg: Add CC_GUEST_TYPE in ConfidentialComputingGuestAttr.h

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 The confidential computing guest type (GUEST_TYPE) was defined in OvmfPkg/Include/WorkArea.h. Now it is to be moved to MdePkg/Include/ConfidentialComputingGuestAttr.h and renamed as CC_GUEST_TYPE. There are 2 reasons for this change. 1.

[edk2-devel] [PATCH V4 0/7] Introduce CcProbe in MdePkg

2022-04-18 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 Bad IO performance in SEC phase is observed after TDX features was introduced. (after commit b6b2de884864 - "MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic"). This is because IsTdxGuest() will be called in each MMIO operation. It

Re: [edk2-devel] [PATCH V3 0/7] Introduce CcProbe in MdePkg

2022-04-18 Thread Min Xu
On April 18, 2022 11:27 PM, Lendacky, Thomas wrote: > After working around the PCI library issue (for which Min will be submitting a > patch), this series boots successfully for SEV, SEV-ES and SEV-SNP when built > as X64. I documented the issue that SEV has with > Ia32X64 in patch 5/7 and I'll

[edk2-devel] [edk2-platforms][PATCH v1 1/1] IntelSiliconPkg/SpiFvbService: Add support for VariableFlashInfoLib

2022-04-18 Thread Michael Kubacki
From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3478 Adds support for getting the variable flash information from VariableFlashInfoLib. This library abstracts the source of flash information so platforms could expect the information to come from a different source in

[edk2-devel] Now: Tools, CI, Code base construction meeting series - 04/18/2022 #cal-notice

2022-04-18 Thread devel@edk2.groups.io Calendar
*Tools, CI, Code base construction meeting series* *When:* 04/18/2022 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://github.com/tianocore/edk2/discussions/2614 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=1467817 ) *Description:* TianoCore community,

[edk2-devel] HpPrep with perf build error.

2022-04-18 Thread Wang . Hughes 王嘉駿 IEC1
Hi, Devel: We would like to build a code for perf but facing a error as below, Please help give some suggestion to us , thanks a lot. BIOS version: 004000_ULTRON. - build.py... : error C0DE: Unknown fatal

Re: [edk2-devel] [edk2-platforms][PATCH V2 0/9] Upadate the ACPI tables for RD platforms

2022-04-18 Thread Thomas Abraham
On 4/18/22 12:54, Pranav Madhu via groups.io wrote: Changes since V1: - Rebased on top of latest master branch. - Rebased on top of patch to remove SLC cache entries from PPTT (link for the same in edk2.groups.io is provided below) Arm infrastructure reference design platforms uses ACPI

Re: [edk2-devel] [edk2-discuss] GSoC Proposal

2022-04-18 Thread Brian J. Johnson
On 4/15/22 23:23, Desimone, Nathaniel L wrote: Hi Marvin, -Original Message- From: Marvin Häuser Sent: Friday, April 15, 2022 9:44 AM To: disc...@edk2.groups.io; Johnson, Brian ; Desimone, Nathaniel L ; Andrew Fish ; devel@edk2.groups.io Cc: Pedro Falcato ; adachristin...@gmail.com;

Re: [edk2-devel] [PATCH V3 2/9] CryptoPkg: Add SecCryptLib

2022-04-18 Thread Michael D Kinney
Hi, Did you evaluate the use of the following PCD to make an SEC version? ## Enable/Disable the families and individual services produced by the # EDK II Crypto Protocols/PPIs. The default is all services disabled. # This Structured PCD is associated with

Re: [edk2-devel] [PATCH V3 0/7] Introduce CcProbe in MdePkg

2022-04-18 Thread Lendacky, Thomas via groups.io
On 4/16/22 22:01, Min Xu wrote: BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 Bad IO performance in SEC phase is observed after TDX features was introduced. (after commit b6b2de884864 - "MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic"). This is because IsTdxGuest() will be

Re: [edk2-devel] [PATCH 1/4] CryptoPkg: Add instrinsics to support building ECC on IA32 windows

2022-04-18 Thread Michael D Kinney
There are other patch series to move intrinsics to the MdePkg for OpenSSL 3.0 enabling. I recommend you work with Gerd on the intrinsic topic. Mike > -Original Message- > From: devel@edk2.groups.io On Behalf Of yi1 li > Sent: Monday, April 18, 2022 6:03 AM > To: devel@edk2.groups.io >

Re: [edk2-devel] [PATCH 3/4] CryptoPkg: Make EC source file config-able

2022-04-18 Thread Michael D Kinney
A new top level PCD should not be added. There is already a structured PCD to enable/disable crypto features. We take advantage of compiler optimizations to remove unused functions, so filtering the source files using a PCD should not be required. I want to make sure we use a consistent method

Re: [edk2-devel] [PATCH V3 5/7] OvmfPkg: Add CcProbeLib in *.dsc

2022-04-18 Thread Lendacky, Thomas via groups.io
On 4/16/22 22:01, Min Xu wrote: BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 CcProbeLib is imported in BaseIoLibIntrinsicSev. OvmfPkg/Library/CcProbeLib is the OvmfPkg version which checks OvmfWorkArea to return the Cc guest type. It is included in OvmfPkgX64.dsc and

Re: [edk2-devel] [edk2-platforms][PATCH V1 1/1] Platform/Sgi: Remove SLC entry from PPTT table

2022-04-18 Thread Thomas Abraham
On Mon, Apr 18, 2022 at 01:14 AM, Pranav Madhu wrote: > > Remove system level cache (SLC) entry from ACPI PPTT table. SLC on the > Neoverse reference design platforms is the memory side cache and so it > is removed from PPTT table. > > Signed-off-by: Pranav Madhu > --- >

Re: [edk2-devel] [PATCH V3 1/7] MdePkg: Add CC_GUEST_TYPE in ConfidentialComputingGuestAttr.h

2022-04-18 Thread Min Xu
On April 18, 2022 9:48 PM, Tom Lendacky wrote: > > +// > > +// Confidential computing guest type > > +// > > +typedef enum { > > + CCGuestTypeNonEncrypted = 0, > > + CCGuestTypeAmdSev, > > + CCGuestTypeIntelTdx, > > +} CC_GUEST_TYPE; > > Should these be CcGuest... ? The precedent seems to be

Re: [edk2-devel] [PATCH V3 1/7] MdePkg: Add CC_GUEST_TYPE in ConfidentialComputingGuestAttr.h

2022-04-18 Thread Lendacky, Thomas via groups.io
On 4/16/22 22:01, Min Xu wrote: BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3902 The confidential computing guest type (GUEST_TYPE) was defined in OvmfPkg/Include/WorkArea.h. Now it is to be moved to MdePkg/Include/ConfidentialComputingGuestAttr.h and renamed as CC_GUEST_TYPE. There are

Re: [edk2-devel] [PATCH V12 42/47] OvmfPkg: Add TdxDxe driver

2022-04-18 Thread Lendacky, Thomas via groups.io
On 4/16/22 19:56, Xu, Min M wrote: On April 16, 2022 11:09 PM, Lendacky, Thomas wrote: On 4/15/22 20:57, Xu, Min M wrote: On April 16, 2022 4:52 AM, Lendacky, Thomas wrote: Unfortunately, this driver also breaks SEV-ES. I bypassed the TDX code in the SEC library, but then hit an issue

[edk2-devel] [PATCH 4/4] CryptoPkg: Add PcdEcEnabled to Base/Pei/SmmCryptLib.inf

2022-04-18 Thread yi1 li
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828 Base/Pei/SmmCryptLib.inf will use openssllib, and the header file opensslconf.h in openssllib will use PCD, but it is not declared in the inf file, which will cause warnings in some

[edk2-devel] [PATCH 3/4] CryptoPkg: Make EC source file config-able

2022-04-18 Thread yi1 li
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828 Use PCD gEfiCryptoPkgTokenSpaceGuid.PcdEcEnabled to config-able source files list in OpensslLib.inf and OpensslLibCrypto.inf. If PcdEcEnabled equals to FALSE, this file will not be

[edk2-devel] [PATCH 2/4] CryptoPkg: Reconfigure OpensslLib to add EC algorithms

2022-04-18 Thread yi1 li
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828 Reconfigure OpensslLib to add elliptic curve cipher algorithms. Signed-off-by: yi1 li --- .../Library/Include/openssl/opensslconf.h | 3 --

[edk2-devel] [PATCH 1/4] CryptoPkg: Add instrinsics to support building ECC on IA32 windows

2022-04-18 Thread yi1 li
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679 This dependency is needed to build openssl lib with ECC ciphers under IA32 Windows and adds implementation for _allmul and _allshr instrinsics. It is taken from Project Mu: microsoft/mu_basecore@b55b341 Signed-off-by: yi1 li ---

[edk2-devel] [PATCH 0/4] !!TEST Fix warnings of EC feature

2022-04-18 Thread yi1 li
As subject. yi1 li (4): CryptoPkg: Add instrinsics to support building ECC on IA32 windows CryptoPkg: Reconfigure OpensslLib to add EC algorithms CryptoPkg: Make EC source file config-able CryptoPkg: Add PcdEcEnabled to Base/Pei/SmmCryptLib.inf CryptoPkg/CryptoPkg.dec

[edk2-devel] [edk2-platforms][PATCH V2 7/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-V1-MC platform

2022-04-18 Thread Pranav Madhu
Update the Rd-V1 multichip platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdV1Mc/Hmat.aslc | 64 Platform/ARM/SgiPkg/AcpiTables/RdV1Mc/Madt.aslc | 165 ++--

[edk2-devel] [edk2-platforms][PATCH V2 9/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-N2-Cfg1 platform

2022-04-18 Thread Pranav Madhu
Update the Rd-N2-Cfg1 platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1/Madt.aslc | 112 ++-- Platform/ARM/SgiPkg/AcpiTables/RdN2Cfg1/Pptt.aslc | 73 ++--- 2 files changed, 93 insertions(+), 92

[edk2-devel] [edk2-platforms][PATCH V2 8/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-N2 platform

2022-04-18 Thread Pranav Madhu
Update the Rd-N2 platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdN2/Madt.aslc | 163 ++-- Platform/ARM/SgiPkg/AcpiTables/RdN2/Pptt.aslc | 77 - 2 files changed, 124 insertions(+), 116 deletions(-)

[edk2-devel] [edk2-platforms][PATCH V2 6/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-V1 platform

2022-04-18 Thread Pranav Madhu
Update the Rd-V1 platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdV1/Madt.aslc | 159 ++-- Platform/ARM/SgiPkg/AcpiTables/RdV1/Pptt.aslc | 77 +- 2 files changed, 122 insertions(+), 114 deletions(-)

[edk2-devel] [edk2-platforms][PATCH V2 4/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-N1-Edge-X2 platform

2022-04-18 Thread Pranav Madhu
Update the Rd-N1-Edge multichip platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Hmat.aslc | 52 --- Platform/ARM/SgiPkg/AcpiTables/RdN1EdgeX2/Madt.aslc | 151 ++--

[edk2-devel] [edk2-platforms][PATCH V2 5/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-E1-Edge platform

2022-04-18 Thread Pranav Madhu
Update the Rd-E1-Edge platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdE1Edge/Madt.aslc | 247 ++-- Platform/ARM/SgiPkg/AcpiTables/RdE1Edge/Pptt.aslc | 106 - 2 files changed, 181 insertions(+), 172

[edk2-devel] [edk2-platforms][PATCH V2 3/9] Platform/Sgi: Update ACPI version to v6.4 for Rd-N1-Edge platform

2022-04-18 Thread Pranav Madhu
Update the Rd-N1-Edge platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/RdN1Edge/Madt.aslc | 105 +++- Platform/ARM/SgiPkg/AcpiTables/RdN1Edge/Pptt.aslc | 88 2 files changed, 101 insertions(+),

[edk2-devel] [edk2-platforms][PATCH V2 2/9] Platform/Sgi: Update ACPI version to v6.4 for SGI-575 platform

2022-04-18 Thread Pranav Madhu
Update the SGI-575 platform specific ACPI tables to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/AcpiTables/Sgi575/Madt.aslc | 105 +++- Platform/ARM/SgiPkg/AcpiTables/Sgi575/Pptt.aslc | 86 2 files changed, 100 insertions(+), 91

[edk2-devel] [edk2-platforms][PATCH V2 1/9] Platform/Sgi: Update ACPI version to v6.4

2022-04-18 Thread Pranav Madhu
Update the common ACPI tables used by all the Neoverse Reference Design platforms to ACPI version v6.4. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h | 219 ++-- Platform/ARM/SgiPkg/AcpiTables/Dbg2.aslc| 30 +--

[edk2-devel] [edk2-platforms][PATCH V2 0/9] Upadate the ACPI tables for RD platforms

2022-04-18 Thread Pranav Madhu
Changes since V1: - Rebased on top of latest master branch. - Rebased on top of patch to remove SLC cache entries from PPTT (link for the same in edk2.groups.io is provided below) Arm infrastructure reference design platforms uses ACPI tables to provide the hardware information to the operating

Re: [edk2-devel] [staging/LoongArch RESEND PATCH v1 19/33] MdePkg: Add LoongArch LOONGARCH64 binding

2022-04-18 Thread Chao Li
Hi Abner, I see, the C Coding Standards Spec tells us that "macro guard" should be like "ifndef PROCESSOR_BIND_H_", but there is very little attention in the current edk2 repo. Anyway, I will fix it in the next version. -- Thanks, Chao On 4月 16 2022, at 10:58 晚上,

[edk2-devel] [PATCH 1/1] BaseTools: Move gPlatformFinalPcd to Datapipe and optimize size

2022-04-18 Thread yi1 li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3828 This is a bugfix of bf9230a9f3dde065c3c8b4175ccd32e44e8f0362. 1.In the current code, gPlatformFinalPcd will save all PCDs used at whole compile process, which wastes runtime memory and is unnecessary. This patch makes gPlatformFinalPcd

[edk2-devel] [edk2-platforms][PATCH V1 1/1] Platform/Sgi: Remove SLC entry from PPTT table

2022-04-18 Thread Pranav Madhu
Remove system level cache (SLC) entry from ACPI PPTT table. SLC on the Neoverse reference design platforms is the memory side cache and so it is removed from PPTT table. Signed-off-by: Pranav Madhu --- Platform/ARM/SgiPkg/Include/SgiAcpiHeader.h | 4 +---