Re: [edk2-devel] [PATCH] PcAtChipsetPkg: Change the flow of PcRtcInit()

2022-04-28 Thread Zhuoran Chao
Hi Liming: Could you help to give a nudge on the below issue because it is related to a bug fixing of Intel server platform enabling team. Thanks Zhuoran -Original Message- From: Chao, Zhuoran Sent: Monday, April 25, 2022 11:47 PM To: devel@edk2.groups.io Cc: Chao, Zhuoran ; Ni, Ray

Re: [edk2-devel] [PATCH 1/1] OvmfPkg: Add README for TDVF

2022-04-28 Thread Min Xu
On April 25, 2022 3:00 PM, Gerd Hoffmann wrote: > > +Usage > > +- > > + > > +Assuming TDX-QEMU/TDX-KVM are already built, one can start a TD > > +virtual machine as follows: > > Not working (yet) with upstream qemu. This needs a clarification which > qemu repository you are talking about

Re: [edk2-devel] [PATCH 1/1] UefiCpuPkg: Save PcdConfidentialComputingGuestAttr in mCcGuestAttr

2022-04-28 Thread Ni, Ray
Min, You cannot use C global variable in PEIM. Can you add a new field in _CPU_MP_DATA? > -Original Message- > From: Xu, Min M > Sent: Friday, April 29, 2022 11:03 AM > To: devel@edk2.groups.io > Cc: Xu, Min M ; Brijesh Singh ; > Aktas, Erdem ; > James Bottomley ; Yao, Jiewen ; Tom >

[edk2-devel] [PATCH 1/1] UefiCpuPkg: Save PcdConfidentialComputingGuestAttr in mCcGuestAttr

2022-04-28 Thread Min Xu
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3918 There is an issue reported when booting multiple vCPU guests (regular and SEV). This issues consist of EfiAcquireLock() / EfiReleaseLock() ASSERTS and TPL level ASSERTS that occur during ExitBootServices when the APs are being parked by

Re: [edk2-devel] [PATCH V12 14/47] UefiCpuPkg: Enable Tdx support in MpInitLib

2022-04-28 Thread Min Xu
On April 28, 2022 9:16 PM, Tom Lendacky wrote: > > + if (CC_GUEST_IS_TDX (PcdGet64 (PcdConfidentialComputingGuestAttr))) > { > > +*ProcessorNumber = 0; > > +return EFI_SUCCESS; > > + } > > + > > I've narrowed down this change as causing issues when booting multiple > vCPU guests

[edk2-devel] Cancelled Event: TianoCore Design Meeting - APAC/NAMO - Friday, April 29, 2022 #cal-cancelled

2022-04-28 Thread devel@edk2.groups.io Calendar
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:CANCELLED REFRESH-INTERVAL;VALUE=DURATION:PT1H X-PUBLISHED-TTL:PT1H CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:Asia/Shanghai LAST-MODIFIED:20220317T223602Z TZURL:http://tzurl.org/zoneinfo-outlook/Asia/Shanghai

[edk2-devel] [PATCH v1 1/1] ShellPkg: Add revision check for DSDT Header

2022-04-28 Thread Edward Pickup
From: Edward ACPI 6.4 spec states that if the revision field in the DSDT header is less than 2, then all integers are restricted in width to 32 bits, including in SSDTs. Adds a check for this field and raise warning if revision is less than 2. Signed-off-by: Edward Pickup --- The changes can

[edk2-devel] Now: TianoCore edk2-test Bug Triage Meeting - 04/28/2022 #cal-notice

2022-04-28 Thread devel@edk2.groups.io Calendar
*TianoCore edk2-test Bug Triage Meeting* *When:* 04/28/2022 10:00pm to 11:00pm (UTC+08:00) Asia/Shanghai *Where:* https://armltd.zoom.us/j/93809865843?pwd=dU1hSzk4NHM2RGhaRDRyWWZxUzY5dz09=addon *Organizer:* Edhaya Chandran edhaya.chand...@arm.com (

[edk2-devel] TCP/IP Connection

2022-04-28 Thread M.T.
Hello I'm very new to edk2 and I've been trying to figure out how to get a TCP/IP connection going from a UEFI Shell app. The intention is to have a simple client which will connect to a host that will send over some data for testing. I am using qemu and I also have a system which this is going

[edk2-devel] Event: TianoCore edk2-test Bug Triage Meeting - 04/28/2022 #cal-reminder

2022-04-28 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:Asia/Shanghai LAST-MODIFIED:20220317T223602Z TZURL:http://tzurl.org/zoneinfo-outlook/Asia/Shanghai

Re: [edk2-devel] [PATCH V12 14/47] UefiCpuPkg: Enable Tdx support in MpInitLib

2022-04-28 Thread Lendacky, Thomas via groups.io
On 3/29/22 18:46, Min Xu wrote: RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 In TDVF BSP and APs are simplified. BSP is the vCPU-0, while the others are treated as APs. So MP intialization is rather simple. ApWorker is not supported, BSP is always the working processor, while the

[edk2-devel] Proposal to merge python FMMT tool from edk2-staging to edk2 repo

2022-04-28 Thread Yuwei Chen
Hi all, Currently python FMMT tool has finished final tests on several scenarios and made some functions' optimization. All the changes have already been merged into edk2-staging PyFMMT branch. Since it have been under review for a long time Liming has ever given the agreement, I propose to

[edk2-devel] [PATCH v2 1/1] Platform/ARM: FVP: set IORT RC address limit for FVP RevC

2022-04-28 Thread Edward Pickup
When booting Linux on FVP RevC, Linux reports the following error: ACPI: IORT: [Firmware Bug]: Root complex missing memory address limit This issue is due to the RC Address Limit not being configured in the configuration manager for the platform. Set the value to 64 as the RevC FVP can use the

[edk2-devel] About PE/COFF base relocation type numbers

2022-04-28 Thread Chao Li
Hi All, I have two more questions about PE/COFF base relocation types: The base types 1-4 and 10 are the generic types, and the No.6 is reserved in PE/COFF SPEC. If it only can use 10 numbers, then that number may not be enough, because in some other architectures are needs more than 4 or 5

Re: [edk2-devel] [PATCH edk2-platforms v1 1/1] Platform/ARM: FVP: set IORT RC address limit for FVP RevC

2022-04-28 Thread Edward Pickup
Hello Collin, thank you for your comments On 27/04/2022 12:36, Ard Biesheuvel wrote: Hello Edward, Thanks for the patch. On Wed, 27 Apr 2022 at 10:59, Edward Pickup wrote: When booting Linux on FVP RevC, Linux reports the following error: ACPI: IORT: [Firmware Bug]: Root complex missing

Re: [edk2-devel] [PATCH v2 11/14] SourceLevelDebugPkg: Remove UefiCpuLib from module INFs.

2022-04-28 Thread Wu, Hao A
Acked-by: Hao A Wu Best Regards, Hao Wu > -Original Message- > From: Pu, Yu > Sent: Tuesday, April 12, 2022 10:52 PM > To: devel@edk2.groups.io > Cc: Pu, Yu ; Wu, Hao A > Subject: [PATCH v2 11/14] SourceLevelDebugPkg: Remove UefiCpuLib from > module INFs. > > Because

Re: [edk2-devel] [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine HOB

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Tan, Dun > Sent: Thursday, April 28, 2022 2:46 PM > To: devel@edk2.groups.io > Cc: Tan, Dun ; Ni, Ray ; Dong, Guo > ; You, Benjamin > ; Rhodes, Sean ; Liu, Zhiguang > > Subject: [Patch V2] UefiPayloadPkg: Add definition for

[edk2-devel] [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine HOB

2022-04-28 Thread duntan
From: duntan Add definition for UNIVERSAL_PAYLOAD_COMMAND_LINE Hob. This Hob is used to pass command Line to Payload. Signed-off-by: Dun Tan Cc: Ray Ni Cc: Guo Dong Cc: Benjamin You Cc: Sean Rhodes Cc: Zhiguang Liu Signed-off-by: Dun Tan ---

Re: [edk2-devel] [PATCH v2 01/14] MdePkg: Add CpuLib to module INFs that depend on UefiCpuLib.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89365): https://edk2.groups.io/g/devel/message/89365 Mute This Topic: https://groups.io/mt/90431718/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 02/14] IntelFsp2Pkg: Add CpuLib to module INFs that depend on UefiCpuLib

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89364): https://edk2.groups.io/g/devel/message/89364 Mute This Topic: https://groups.io/mt/90431719/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 14/14] UefiCpuLib: Remove UefiCpuLib.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89363): https://edk2.groups.io/g/devel/message/89363 Mute This Topic: https://groups.io/mt/90431731/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 13/14] UefiPayloadPkg: Remove UefiCpuLib from module INFs.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89362): https://edk2.groups.io/g/devel/message/89362 Mute This Topic: https://groups.io/mt/90431730/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 12/14] UefiCpuPkg: Remove UefiCpuLib from module INFs.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89361): https://edk2.groups.io/g/devel/message/89361 Mute This Topic: https://groups.io/mt/90431729/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 11/14] SourceLevelDebugPkg: Remove UefiCpuLib from module INFs.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89360): https://edk2.groups.io/g/devel/message/89360 Mute This Topic: https://groups.io/mt/90431728/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 10/14] PcAtChipsetPkg: Remove UefiCpuLib from module INFs.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89359): https://edk2.groups.io/g/devel/message/89359 Mute This Topic: https://groups.io/mt/90431727/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 06/14] UefiPayloadPkg: Add CpuLib to module INFs that depend on UefiCpuLib.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89358): https://edk2.groups.io/g/devel/message/89358 Mute This Topic: https://groups.io/mt/90431723/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH v2 05/14] UefiCpuPkg: Add CpuLib to module INFs that depend on UefiCpuLib.

2022-04-28 Thread Ni, Ray
Reviewed-by: Ray Ni -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89357): https://edk2.groups.io/g/devel/message/89357 Mute This Topic: https://groups.io/mt/90431722/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: