Re: [edk2-devel] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-11 Thread Samer El-Haj-Mahmoud
> In PI, the only references I find to the protocol are in MM and SAL protocols. > And we're not even looking at EFI_MP_SERVICES_PPI at this point. The PI 1.7 spec defined the EFI_MP_SERVICES_PROTOCOL in page 2-180, with the PPI and MM versions in 1-193 and 4-57 respectively. > But it might be

Re: [edk2-devel] [PATCH] MdeModulePkg/Core/Dxe: Acquire a lock when iterating gHandleList

2021-10-11 Thread Ma, Hua
> -Original Message- > From: Michael Brown > Sent: Monday, October 11, 2021 7:28 PM > To: devel@edk2.groups.io; Ma, Hua > Cc: Wang, Jian J ; Liming Gao > ; Bi, Dandan ; Ni, Ray > > Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/Core/Dxe: Acquire a lock > when iterating gHandleList > >

Re: [edk2-devel] [PATCH] MdeModulePkg/Core/Dxe: Acquire a lock when iterating gHandleList

2021-10-11 Thread Dandan Bi
Hi Hua, One minor comment inline, please check. Thanks, Dandan > -Original Message- > From: Ma, Hua > Sent: Monday, October 11, 2021 6:45 PM > To: devel@edk2.groups.io > Cc: Ma, Hua ; Wang, Jian J ; > Liming Gao ; Bi, Dandan ; > Ni, Ray > Subject: [PATCH] MdeModulePkg/Core/Dxe:

Re: [edk2-devel] [PATCH v9 1/1] MdePkg/BaseLib: Add QuickSort function on BaseLib

2021-10-11 Thread IanX Kuo
@Liming Gao and @Kinney, Michael D May I get one of yours help for the reviewed from MdePkg maintainer side ? Have any concern, please also share for me. Thanks, Ian Kuo -Original Message- From: Ni, Ray Sent: Tuesday, October 12, 2021 10:22 AM To: Kuo, IanX ; devel@edk2.groups.io Cc:

[edk2-devel] [PATCH v2 1/1] MdeModulePkg/Sd: Corrections for Extra.uni files

2021-10-11 Thread Konstantin Aladyshev
Add correct content to the 'SdDxeExtra.uni' file. Include 'EmmcDxeExtra.uni' and 'SdDxeExtra.uni' files to their appropriate INF files. Signed-off-by: Konstantin Aladyshev --- MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf | 2 ++ MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf | 2 ++

Re: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] SecurityPkg/Library: Add Tpm2NvUndefineSpaceSpecial to Tpm2CommandLib

2021-10-11 Thread Bret Barkelew
Good question! I had a kid in September and then everything fell off my radar. I think I can find this branch and knock out a second patch, though. On Fri, Oct 8, 2021 at 7:31 PM Yao, Jiewen wrote: > Hey > > Is that any update for this patch? > > > > I did not see the v2 patch. Just want to

[edk2-devel] [Patch V4 1/1] BaseTools: Change RealPath to AbsPath

2021-10-11 Thread Yuwei Chen
Currently the realpath is used when parse modules, which shows the path with a drive letter in build log. In Windows 'subst' comand is used to associates a path with a drive letter, when use the mapped drive letter for build, with realpath function the build log will have different disk letter

Re: [edk2-devel] [PATCH V3 00/12] Migrate ArmVirtPkg modules to OvmfPkg

2021-10-11 Thread Abner Chang
Hi package maintainers, The review process of this patch set is almost done and please allow me to merge it because the corresponding changes on edk2-platform is also required to merge. Ard and Leif, do I need the Reviewed-by or Acked-by from either of you? Or I can just proceed the merge

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Remove SystemTableInfo GUID.

2021-10-11 Thread Ma, Maurice
Reviewed-by: Maurice Ma > -Original Message- > From: Kesavan Balakrishnan, ThiyaguX > > Sent: Sunday, October 10, 2021 21:30 > To: devel@edk2.groups.io > Cc: Kesavan Balakrishnan, ThiyaguX > ; Ma, Maurice > ; Dong, Guo ; Ni, Ray > ; You, Benjamin ; Liu, > Zhiguang > Subject: [PATCH]

Re: [edk2-devel] [PATCH] SpcrFeaturePkg: Close the event after first callback.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Abdul Lateef Attar > Sent: Monday, July 26, 2021 12:30 AM > To: devel@edk2.groups.io > Cc: Abdul Lateef Attar ; Oram, Isaac W > ; Desimone, Nathaniel L > ; Liming Gao > > Subject: [PATCH] SpcrFeaturePkg: Close the event after

Re: [edk2-devel] [PATCH v2 1/1] MdeModulePkg/Sd: Corrections for Extra.uni files

2021-10-11 Thread Wu, Hao A
> -Original Message- > From: Konstantin Aladyshev > Sent: Tuesday, October 12, 2021 1:01 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J ; gaolim...@byosoft.com.cn; Wu, > Hao A ; Konstantin Aladyshev > Subject: [PATCH v2 1/1] MdeModulePkg/Sd: Corrections for Extra.uni files > > Add

Re: [edk2-devel] [edk2-platforms: PATCH v3 0/9] MinPlatformPkg: Support FSP 2.3 FSP_NON_VOLATILE_STORAGE_HOB2.

2021-10-11 Thread Oram, Isaac W
The "VariableReadLib.*BaseVariableReadLibNull.inf" belongs in edk2-platforms\Platform\Intel\MinPlatformPkg\Include\Dsc\CorePeiLib.dsc. The purpose of the common include is so we can make the same change in one place, not every board port DSC file. Board ports should be exceptions to the basic

回复: [edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - 10/12/2021 #cal-reminder

2021-10-11 Thread gaoliming
Hi, all The following issues will be reviewed this week. 3683 EDK2 Code unassig...@tianocore.org UNCO Microcode must be measured by TPM. 21:37:14 longlong.y...@intel.com

[edk2-devel] [PATCH V9 2/4] OvmfPkg: Clear WORK_AREA_GUEST_TYPE in Main.asm

2021-10-11 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Previously WORK_AREA_GUEST_TYPE was cleared in SetCr3ForPageTables64. This is workable for Legacy guest and SEV guest. But it doesn't work after Intel TDX is introduced. It is because all TDX CPUs (BSP and APs) start to run from 0xfff0,

[edk2-devel] [PATCH V9 0/4] Add Intel TDX support in OvmfPkg/ResetVector

2021-10-11 Thread Min Xu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Intel's Trust Domain Extensions (Intel TDX) refers to an Intel technology that extends Virtual Machines Extensions (VMX) and Multi-Key Total Memory Encryption (MKTME) with a new kind of virutal machines guest called a Trust Domain (TD). A

[edk2-devel] [PATCH V9 3/4] OvmfPkg: Add IntelTdxMetadata.asm

2021-10-11 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 In TDX when host VMM creates a new guest TD, some initial set of TD-private pages are added using the TDH.MEM.PAGE.ADD function. These pages typically contain Virtual BIOS code and data along with some clear pages for stacks and heap. In

[edk2-devel] [PATCH V9 1/4] OvmfPkg: Copy Main.asm from UefiCpuPkg to OvmfPkg's ResetVector

2021-10-11 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Previously OvmfPkg/ResetVector uses the Main.asm in UefiCpuPkg/ReseteVector/Vtf0. In this Main.asm there is only Main16 entry point. This patch-set is to introduce Intel TDX into Ovmf. Main32 entry point is needed in Main.asm by Intel TDX.

[edk2-devel] [PATCH V9 4/4] OvmfPkg: Enable TDX in ResetVector

2021-10-11 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Intel's Trust Domain Extensions (Intel TDX) refers to an Intel technology that extends Virtual Machines Extensions (VMX) and Multi-Key Total Memory Encryption (MKTME) with a new kind of virutal machines guest called a Trust Domain (TD). A

Re: [edk2-devel] [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-11 Thread Samer El-Haj-Mahmoud
Hello Leif, > > > > But it might be good to hear something from ARM whether the use of > this > > > protocol which "must be produced on any system with more than one > logical processor" > > > *should* be able to rely on anything being set up for it, or whether we > > > need an aforementioned

Re: [edk2-devel] [PATCH v2] ArmPkg/TimerDxe: Delay End Of Interrupt Signal

2021-10-11 Thread Ard Biesheuvel
(+ Marc) On Mon, 11 Oct 2021 at 23:40, Ashish Singhal wrote: > > In an interrupt handler for the timers, it is important that > software clears the interrupt before deactivating the interrupt > in the GIC. Otherwise the GIC will re-signal the same interrupt > again. > > Signed-off-by: Ashish

[edk2-devel] [PATCH v2] ArmPkg/TimerDxe: Delay End Of Interrupt Signal

2021-10-11 Thread Ashish Singhal via groups.io
In an interrupt handler for the timers, it is important that software clears the interrupt before deactivating the interrupt in the GIC. Otherwise the GIC will re-signal the same interrupt again. Signed-off-by: Ashish Singhal --- ArmPkg/Drivers/TimerDxe/TimerDxe.c | 9 + 1 file changed,

Re: [edk2-devel] [edk2-platforms: PATCH v3 1/9] MinPlatformPkg: Support FSP 2.3 FSP_NON_VOLATILE_STORAGE_HOB2.

2021-10-11 Thread Nate DeSimone
Hi Chasel, Please see feedback inline. Thanks, Nate > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Liming Gao > ; Dong, Eric > Subject: [edk2-platforms: PATCH v3 1/9]

Re: [edk2-devel] [edk2-platforms: PATCH v3 3/9] KabylakeOpenBoardPkg/AspireVn7Dash572G:Use same variable name for FspNvsHob

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Benjamin Doron > > Subject: [edk2-platforms: PATCH v3 3/9] >

Re: [edk2-devel] [edk2-platforms: PATCH v3 4/9] KabylakeOpenBoardPkg/GalagoPro3: Use same variable name for FspNvsHob.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Jeremy Soller > Subject: [edk2-platforms: PATCH v3 4/9] > KabylakeOpenBoardPkg/GalagoPro3: Use same

Re: [edk2-devel] [edk2-platforms: PATCH v3 5/9] KabylakeOpenBoardPkg/KabylakeRvp3: Use same variable name for FspNvsHob.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > > Subject: [edk2-platforms: PATCH v3 5/9] > KabylakeOpenBoardPkg/KabylakeRvp3: Use same variable name

Re: [edk2-devel] [edk2-platforms: PATCH v3 6/9] TigerlakeOpenBoardPkg: Use same variable name for FspNvsHob.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Chaganty, Rangasai V > ; Desimone, Nathaniel L > ; Luo, Heng > Subject: [edk2-platforms: PATCH v3 6/9] TigerlakeOpenBoardPkg:

Re: [edk2-devel] [edk2-platforms: PATCH v3 7/9] WhiskeylakeOpenBoardPkg: Use same variable name for FspNvsHob.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > > Subject: [edk2-platforms: PATCH v3 7/9] WhiskeylakeOpenBoardPkg: Use > same variable name for

Re: [edk2-devel] [edk2-platforms: PATCH v3 2/9] CometlakeOpenBoardPkg: Use same variable name for FspNvsHob.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Chaganty, Rangasai V > ; Kethi Reddy, Deepika > ; Esakkithevar, Kathappan > > Subject:

Re: [edk2-devel] [edk2-platforms: PATCH v3 0/9] MinPlatformPkg: Support FSP 2.3 FSP_NON_VOLATILE_STORAGE_HOB2.

2021-10-11 Thread Nate DeSimone
Hi Chasel, There is one minor thing I found, MinPlatformPkg/FspWrapper/SaveMemoryConfig/SaveMemoryConfig.c needs to be updated to use LargeVariableLib as well since the PEI code is now using it. Other than that the change look's good! Thanks, Nate > -Original Message- > From: Chiu,

Re: [edk2-devel] [edk2-platforms: PATCH v3 8/9] WhitleyOpenBoardPkg: Support FSP 2.3 FSP_NON_VOLATILE_STORAGE_HOB2.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Oram, Isaac W > ; Desimone, Nathaniel L > > Subject: [edk2-platforms: PATCH v3 8/9] WhitleyOpenBoardPkg: Support FSP > 2.3

Re: [edk2-devel] [edk2-platforms: PATCH v3 9/9] WhitleySiliconPkg: Use same variable name for FspNvsHob.

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone > -Original Message- > From: Chiu, Chasel > Sent: Thursday, October 7, 2021 11:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Oram, Isaac W > ; Desimone, Nathaniel L > > Subject: [edk2-platforms: PATCH v3 9/9] WhitleySiliconPkg: Use same > variable

[edk2-devel] [PATCH v9 1/1] MdePkg/BaseLib: Add QuickSort function on BaseLib

2021-10-11 Thread IanX Kuo
From: IanX Kuo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3675 Add QuickSort function into BaseLib Cc: Ray Ni Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: IanX Kuo --- MdePkg/Include/Library/BaseLib.h | 49

[edk2-devel] [PATCH v9 0/1] Add function QuickSort into MdePkg/BaseLib

2021-10-11 Thread IanX Kuo
From: IanX Kuo First change 1. MdePkg/BaseLib: Add QuickSort function It need to seperate to second change 2. MdeModulePkg/SortLib: Use QuickSort instead of QuickSortWorker 3. CryptLib/CryptLib: Remove duplicate QuickSortWorker 4. CpuCacheInfoLib: Remove MdeModulePkg dependenc IanX Kuo (1):

[edk2-devel] [PATCH] Test comit please ignore this message.

2021-10-11 Thread Joseph Hemann
From: Joseph Hemann Signed-off-by: Joseph Hemann Change-Id: I11d8af6f1db0206019bd00c53c89b68323a295f7 --- patchtest | 1 + 1 file changed, 1 insertion(+) create mode 100644 patchtest diff --git a/patchtest b/patchtest new file mode 100644 index 00..484c9224ab --- /dev/null +++

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - 10/12/2021 #cal-reminder

2021-10-11 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:20201011T015911Z

Re: [edk2-devel] [PATCH v9 1/1] MdePkg/BaseLib: Add QuickSort function on BaseLib

2021-10-11 Thread Ni, Ray
Reviewed-by: Ray Ni Ian, please take the approval from maintainers of MdePkg as the formal approval. Thanks, Ray > -Original Message- > From: Kuo, IanX > Sent: Tuesday, October 12, 2021 8:06 AM > To: devel@edk2.groups.io > Cc: Chan, Amy ; Ni, Ray ; Kuo, IanX > ; Kinney, Michael D > ;

Re: [edk2-devel] [PATCH v7 1/1] MdePkg/BaseLib: Add QuickSort function on BaseLib

2021-10-11 Thread IanX Kuo
I send Patch v9, have anyone free can help me for the reviewed by. Patch v8 is "move SORT_COMPARE definition from MdeModulePkg\Include\Library\SortLib.h to MdePkg\Include\Library\BaseLib.h, and then let SortLib.h include BaseLib.h." Patch v9 is rollback to Patch v7. Thanks, Ian Kuo

Re: [edk2-devel] [edk2-platforms: PATCH v3 6/9] TigerlakeOpenBoardPkg: Use same variable name for FspNvsHob.

2021-10-11 Thread Heng Luo
Reviewed-by: Heng Luo > -Original Message- > From: Chiu, Chasel > Sent: Friday, October 8, 2021 2:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Chaganty, Rangasai V > ; Desimone, Nathaniel L > ; Luo, Heng > Subject: [edk2-platforms: PATCH v3 6/9] TigerlakeOpenBoardPkg: Use same

[edk2-devel] [Patch V3 1/1] BaseTools: Change RealPath to AbsPath

2021-10-11 Thread Yuwei Chen
Currently the realpath is used when parse modules, which shows the path with a drive letter in build log. In Windows 'subst' comand is used to associates a path with a drive letter, when use the mapped drive letter for build, with realpath function the build log will have different disk letter

Re: [edk2-devel][edk2-platforms][PATCH V2 0/5] WhitleyOpenBoardPkg: Enable VT-D support

2021-10-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: Oram, Isaac W Sent: Tuesday, October 5, 2021 4:26 PM To: devel@edk2.groups.io Cc: Chiu, Chasel ; Desimone, Nathaniel L ; DOPPALAPUDI, HARIKRISHNA ; Jha, Manish ; KARPAGAVINAYAGAM, MANICKAVASAKAM Subject:

Re: [edk2-devel] [PATCH] SpcrFeaturePkg: Close the event after first callback.

2021-10-11 Thread Nate DeSimone
Pushed: https://github.com/tianocore/edk2-platforms/commit/f539647 > -Original Message- > From: Abdul Lateef Attar > Sent: Monday, July 26, 2021 12:30 AM > To: devel@edk2.groups.io > Cc: Abdul Lateef Attar ; Oram, Isaac W > ; Desimone, Nathaniel L > ; Liming Gao > > Subject: [PATCH]

Re: [edk2-devel][edk2-platforms][PATCH V2 0/5] WhitleyOpenBoardPkg: Enable VT-D support

2021-10-11 Thread Oram, Isaac W
Pushed as f53964786a..df7fbfbaab -Original Message- From: devel@edk2.groups.io On Behalf Of Oram, Isaac W Sent: Tuesday, October 5, 2021 4:26 PM To: devel@edk2.groups.io Cc: Chiu, Chasel ; Desimone, Nathaniel L ; DOPPALAPUDI, HARIKRISHNA ; Jha, Manish ; KARPAGAVINAYAGAM,

[edk2-devel] [PATCH] ArmPkg/TimerDxe: Delay End Of Interrupt Signal

2021-10-11 Thread Ashish Singhal via groups.io
Timer interrupts are level triggered. Hence, signal end of interrupt only after current interrupt has been cleared after setting updated compare value. Signed-off-by: Ashish Singhal --- ArmPkg/Drivers/TimerDxe/TimerDxe.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[edk2-devel] [PATCH v2 3/7] DynamicTablesPkg: AML Code generation to create a named ResourceTemplate()

2021-10-11 Thread PierreGondois
From: Pierre Gondois Add AmlCodeGenNameResourceTemplate() to generate code for a ResourceTemplate(). AmlCodeGenNameResourceTemplate ("REST", ParentNode, NewObjectNode) is equivalent of the following ASL code: Name(REST, ResourceTemplate () {}) To: Sami Mujawar To: Alexei Fedorov

[edk2-devel] [PATCH v2 4/7] DynamicTablesPkg: AML Code generation to add _PRT entries

2021-10-11 Thread PierreGondois
From: Pierre Gondois _PRT entries can describe interrupt mapping for Pci devices. The object is described in ACPI 6.4 s6.2.13 "_PRT (PCI Routing Table)". Add AmlCodeGenPrtEntry() helper function to add _PRT entries to an existing _PRT object. To: Sami Mujawar To: Alexei Fedorov Reviewed-by:

[edk2-devel] [PATCH v2 7/7] DynamicTablesPkg: SSDT Pci express generator

2021-10-11 Thread PierreGondois
From: Pierre Gondois This generator allows to generate a SSDT table describing a Pci express Bus. It uses the following CmObj: - EArmObjCmRef - EArmObjPciConfigSpaceInfo - EArmObjPciAddressMapInfo - EArmObjPciInterruptMapInfo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3682 To: Sami

[edk2-devel] [PATCH v2 1/7] DynamicTablesPkg: AML Code generation for memory ranges

2021-10-11 Thread PierreGondois
From: Pierre Gondois Add helper functions to generate AML Resource Data describing memory ranges. Memory ranges can be one, double or four words long. They can be of 'normal', IO or bus number memory type. The following APIs are exposed: - AmlCodeGenRdDWordIo () - AmlCodeGenRdDWordMemory () -

[edk2-devel] [PATCH v2 2/7] DynamicTablesPkg: AML Code generation to create a named Package()

2021-10-11 Thread PierreGondois
From: Pierre Gondois Add AmlCodeGenNamePackage() to generate code for a Package(). AmlCodeGenNamePackage ("PACK", ParentNode, NewObjectNode) is equivalent of the following ASL code: Name(PACK, Package () {}) To: Sami Mujawar To: Alexei Fedorov Reviewed-by: Sami Mujawar Signed-off-by:

[edk2-devel] [PATCH v2 0/7] Create a SSDT PCIe generator

2021-10-11 Thread PierreGondois
From: Pierre Gondois As part of the DynamicTablesPkg, add a generator creating a SSDT table describing a PCIe bus. This patch-set also adds new functions to generate AML bytecode in the AmlLib. The changes can be seen at:

[edk2-devel] [PATCH v2 5/7] DynamicTablesPkg: Add AmlAttachNode()

2021-10-11 Thread PierreGondois
From: Pierre Gondois This function allows to add a node as the last node of a parent node in an AML tree. For instance, ASL code corresponding to NewNode: Name (_UID, 0) ASL code corresponding to ParentNode: Device (PCI0) { Name(_HID, EISAID("PNP0A08")) } "AmlAttachNode (ParentNode,

[edk2-devel] [PATCH v2 6/7] DynamicTablesPkg: Add Pci related objects

2021-10-11 Thread PierreGondois
From: Pierre Gondois Introduce the following CmObj in the ArmNameSpaceObjects: - CM_ARM_PCI_ADDRESS_MAP_INFO - CM_ARM_PCI_INTERRUPT_MAP_INFO These objects allow to describe address range mapping of Pci busses and interrupt mapping of Pci devices. To: Sami Mujawar To: Alexei Fedorov

Re: [edk2-devel] [edk2-rfc] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-11 Thread Leif Lindholm
Hi Samer, On Mon, Oct 11, 2021 at 14:20:17 +, Samer El-Haj-Mahmoud wrote: > > In PI, the only references I find to the protocol are in MM and SAL > > protocols. > > And we're not even looking at EFI_MP_SERVICES_PPI at this point. > > The PI 1.7 spec defined the EFI_MP_SERVICES_PROTOCOL in

Re: 回复: [edk2-devel] [PATCH v3 00/21] Create a SSDT CPU topology generator

2021-10-11 Thread PierreGondois
Hi Liming, I created: https://bugzilla.tianocore.org/show_bug.cgi?id=3681 Aside from this, it seems the DynamicTablesPkg is not available when reporting a bugzilla on a specific package. Regards, Pierre On 10/11/21 02:16, gaoliming wrote: > Pierre: > Seemly, this is a new feature. Can you

Re: [edk2-devel] [PATCH] MdeModulePkg/Core/Dxe: Acquire a lock when iterating gHandleList

2021-10-11 Thread Michael Brown
On 11/10/2021 11:45, Ma, Hua wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3680 This patch fixes the following issue: The global variable gHandleList is a linked list. This list is locked when a entry is added or removed from the list, but there is no lock when iterating this list

Re: [edk2-devel] [RFC] [PATCH 0/2] Proposal to add EFI_MP_SERVICES_PROTOCOL support for AARCH64

2021-10-11 Thread Leif Lindholm
+Samer On Fri, Oct 8, 2021 at 3:51 PM Ard Biesheuvel wrote: > > > So either we severely constrain the kind of code that we permit to run > > > on other cores, or we enable the MMU and caches on each core as it > > > comes out of reset, as well as do any other CPU specific > > > initialization

[edk2-devel] [PATCH] MdeModulePkg/Core/Dxe: Acquire a lock when iterating gHandleList

2021-10-11 Thread Ma, Hua
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3680 This patch fixes the following issue: The global variable gHandleList is a linked list. This list is locked when a entry is added or removed from the list, but there is no lock when iterating this list in function CoreValidateHandle(). It

[edk2-devel] [PATCH edk2-platforms 1/1] IntelSiliconPkg/PeiSmmAccessLib: Remove the S3 check

2021-10-11 Thread Guomin Jiang
Always install the SmmAccessPpi without checking S3 boot mode. The caller can add the S3 check to decide if it is need to install the Ppi Signed-off-by: Guomin Jiang Cc: Ray Ni Cc: Rangasai V Chaganty --- .../PeiSmmAccessLib/PeiSmmAccessLib.inf | 40 ---