Re: [edk2-devel] [PATCH v2 1/1] MdePkg/BaseLib: Add SpeculationBarrier implementation for RiscV64

2023-06-05 Thread Li, Yong
Hi Michael, I updated the commit messages and the EDK II CI passes, The PR link is as below. https://github.com/tianocore/edk2/pull/4480 Please help merge, thanks for the helping On 2023/6/3 14:13, Li, Yong wrote: > Hi Michael > > This is the change to MdePkg/Library/BaseLib/RiscV64. > Sinc

[edk2-devel] [PATCH 1/1] BaseTools: FMMT GuidTool Auto Select Config file

2023-06-05 Thread Yuwei Chen
Currently, Python FMMT tool does not support automatically select FMMTConf.ini file which saves GuidTool settings. This patch support this features. Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Signed-off-by: Yuwei Chen --- BaseTools/Source/Python/FMMT/core/GuidTools.py | 2 +- 1 file changed

Re: [edk2-devel] [PATCH 2/2] MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix UNUSED_VALUE Coverity issue

2023-06-05 Thread Ard Biesheuvel
On Mon, 5 Jun 2023 at 10:10, Ranbir Singh wrote: > > I counted myself as not the right person to decide what all to do if Status > is not successful. Adding the DEBUG statement from the Coverity aspect > doesn't count as a fix as RELEASE mode behavior remains the same. > > In the comments / desc

Re: [edk2-devel] [PATCH 1/2] MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix SIGN_EXTENSION Coverity issue

2023-06-05 Thread Ard Biesheuvel
On Mon, 5 Jun 2023 at 09:54, Ranbir Singh wrote: > > Please read the Coverity report attached in BZ 4204 for more details on > sign-extension issue. > I did read it - explanation below. > The data types of logic_sector_size_hi and logic_sector_size_lo are UINT16 > and Isn't the return type of

Re: [edk2-devel] [Patch V1 1/3] BaseTools: fixing FMMT ShrinkFv issue

2023-06-05 Thread Bob Feng
This patch is good to me. Reviewed-by: Bob Feng Thanks, Bob -Original Message- From: Chen, Christine Sent: Tuesday, April 18, 2023 5:53 PM To: devel@edk2.groups.io Cc: Rebecca Cran ; Gao, Liming ; Feng, Bob C Subject: [Patch V1 1/3] BaseTools: fixing FMMT ShrinkFv issue 1. FvLength

Re: [edk2-devel] [Patch V1 2/3] BaseTools: FMMT replace output file is not generated successfully

2023-06-05 Thread Bob Feng
Reviewed-by: Bob Feng -Original Message- From: Chen, Christine Sent: Tuesday, April 18, 2023 5:53 PM To: devel@edk2.groups.io Cc: Rebecca Cran ; Feng, Bob C ; Gao, Liming Subject: [Patch V1 2/3] BaseTools: FMMT replace output file is not generated successfully For replace function,

Re: [edk2-devel] [Patch V1 3/3] BaseTools: FMMT support ELF UPLD parser

2023-06-05 Thread Bob Feng
Reviewed-by: Bob Feng -Original Message- From: Chen, Christine Sent: Tuesday, April 18, 2023 5:55 PM To: devel@edk2.groups.io Cc: Rebecca Cran ; Feng, Bob C ; Gao, Liming Subject: [Patch V1 3/3] BaseTools: FMMT support ELF UPLD parser FMMT add new function to support the .elf file pa

Re: [edk2-devel] [PATCH v13 0/8] Adds AmdSmmCpuFeaturesLib and MmSaveStateLib

2023-06-05 Thread Ni, Ray
I spent some time to verify if the IntelMmSaveStateLib behaves the same as the default implementation in CpuSmm driver. The result looks good with following embedded test code in BSPHandler(): for (Cpu = 0; Cpu < mMaxNumberOfCpus; Cpu++) { DEBUG ((DEBUG_INFO, "Testing SMRAM Read CPU[%d]

Re: [edk2-devel] [PATCH 0/3] use XHCI to replace EHCI

2023-06-05 Thread Ard Biesheuvel
On Mon, 5 Jun 2023 at 12:50, Yuquan Wang wrote: > > This patchset implements XHCI on sbsa-ref board to replace EHCI. > As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI > that only has 32-bit DMA capablity. Now this board has XHCI as > an available usb controller with 64-bit DMA capa

Re: [edk2-devel] [PATCH 0/3] use XHCI to replace EHCI

2023-06-05 Thread Ard Biesheuvel
On Mon, 5 Jun 2023 at 12:53, wangyuquan1236 wrote: > > Sorry for my awkward operations, because I felt the email refused problem > with devel@edk2.groups.io; Are you subscribed to the mailing list? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply

[edk2-devel] [PATCH 1/3] Platform/Qemu/SbsaQemu/SbsaQemu.dsc: define XHCI Pcd settings

2023-06-05 Thread wangyuquan1236
Define the pcd settings for identifying the base address of XHCI and XHCI's mmio size, and remove relevant EHCI settings. Signed-off-by: Yuquan Wang Change-Id: Ic144e7125332de5f2f2151f3b6856bd095c95a58 --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletio

[edk2-devel] [PATCH 0/3] use XHCI to replace EHCI

2023-06-05 Thread wangyuquan1236
This patchset implements XHCI on sbsa-ref board to replace EHCI. As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI that only has 32-bit DMA capablity. Now this board has XHCI as an available usb controller with 64-bit DMA capablity. Yuquan Wang (3): Platform/Qemu/SbsaQemu/SbsaQe

[edk2-devel] [PATCH 3/3] SbsaQemu: AcpiTables: Add XHCI info into DSDT

2023-06-05 Thread wangyuquan1236
As sbsa-ref board uses xhci to replace ehci, the DSDT is updated to match the platform xhci controller. This also removes previous ehci structure. Signed-off-by: Yuquan Wang Change-Id: I7f7d6f69e3091f036ff086722ea5847ba2a1e27c --- .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 4 +- Silicon/Q

[edk2-devel] [PATCH 2/3] SbsaQemu: Drivers: Add initial support for XHCI

2023-06-05 Thread wangyuquan1236
This registers the non-discoverable XHCI for sbsa-ref. Signed-off-by: Yuquan Wang Change-Id: Iace5a04ea6087de6b0d855e84c90b4754a66594a --- .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 40 ++- .../SbsaQemuPlatformDxe.inf | 2 + Silicon/Qemu/SbsaQemu/SbsaQemu.

Re: [edk2-devel] [PATCH 0/3] use XHCI to replace EHCI

2023-06-05 Thread wangyuquan1236
Yes, at the third time I found I need to subscribe this channel, so I succeeded. Now, I can send the patch normally. Thanks for your guidance. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105717): https://edk2.groups.io/g/devel/message

Re: [edk2-devel] [PATCH 0/3] use XHCI to replace EHCI

2023-06-05 Thread wangyuquan1236
Sorry for my awkward operations, because I felt the email refused problem with devel@edk2.groups.io; ( devel@edk2.groups.io, ) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#105716): https://edk2.groups.io/g/devel/message/105716 Mute Thi

[edk2-devel] [PATCH] OvmfPkg/README: Document Secure Boot

2023-06-05 Thread Joursoir
Add the new section for Secure Boot. Signed-off-by: Alexander Goncharov --- OvmfPkg/README | 36 1 file changed, 36 insertions(+) diff --git a/OvmfPkg/README b/OvmfPkg/README index 0a408abf01..e106e19818 100644 --- a/OvmfPkg/README +++ b/OvmfPkg/README @@ -1

Re: [edk2-devel] [PATCH 1/2] MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix SIGN_EXTENSION Coverity issue

2023-06-05 Thread Ranbir Singh
Please read the Coverity report attached in BZ 4204 for more details on sign-extension issue. The data types of logic_sector_size_hi and logic_sector_size_lo are UINT16 and Isn't the return type of *sizeof* already unsigned ? Now I have no means to run Coverity and test further changes. Anyway, m

Re: [edk2-devel] [PATCH 2/2] MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix UNUSED_VALUE Coverity issue

2023-06-05 Thread Ranbir Singh
I counted myself as not the right person to decide what all to do if *Status* is not successful. Adding the DEBUG statement from the Coverity aspect doesn't count as a fix as RELEASE mode behavior remains the same. In the comments / description, I already mentioned - Assuming, this non-usage is de

Re: [edk2-devel] [PATCH 1/2] MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix SIGN_EXTENSION Coverity issue

2023-06-05 Thread Ranbir Singh
Thanks Ard for adding the explanation. Ok, so retaining outer cast along with intermediate casting BlockSize = (UINT32)(((UINT32)(IdentifyData->AtaData.logic_sector_size_hi << 16) | IdentifyData->AtaData.logic_sector_size_lo) * sizeof (UINT16)); should be acceptable. I considered outer cast is b

[edk2-devel] PCD usage error

2023-06-05 Thread Jagadeesh, PithaniX
Hi team, could you please help in analysis over the error which was mentioned:: (Python 3.8.8 on win32) Traceback (most recent call last): File "C:\gnr\edk2\BaseTools\Source\Python\build\build.py", line 2697, in Main MyBuild.Launch() File "C:\gnr\edk2\BaseTools\Source\Python\build\build.

Re: [edk2-devel] [PATCH 0/3] use XHCI to replace EHCI

2023-06-05 Thread Leif Lindholm
On 2023-06-05 11:51, Ard Biesheuvel wrote: On Mon, 5 Jun 2023 at 12:50, Yuquan Wang wrote: This patchset implements XHCI on sbsa-ref board to replace EHCI. As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI that only has 32-bit DMA capablity. Now this board has XHCI as an availabl

[edk2-devel] [PATCH v1 2/3] SbsaQemu: Drivers: Add initial support for XHCI

2023-06-05 Thread wangyuquan1236
This registers the non-discoverable XHCI for sbsa-ref. Signed-off-by: Yuquan Wang --- .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 40 ++- .../SbsaQemuPlatformDxe.inf | 2 + Silicon/Qemu/SbsaQemu/SbsaQemu.dec| 4 +- 3 files changed, 35 insertion

[edk2-devel] [PATCH v1 1/3] Platform/Qemu/SbsaQemu/SbsaQemu.dsc: define XHCI Pcd settings

2023-06-05 Thread wangyuquan1236
Define the pcd settings for identifying the base address of XHCI and XHCI's mmio size, and remove relevant EHCI settings. Signed-off-by: Yuquan Wang --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Platform/Qemu/SbsaQemu/SbsaQemu.d

[edk2-devel] [PATCH v1 0/3] use XHCI to replace EHCI

2023-06-05 Thread wangyuquan1236
This patchset implements XHCI on sbsa-ref board to replace EHCI. As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI that only has 32-bit DMA capablity. Now this board has XHCI as an available usb controller with 64-bit DMA capablity. This version(v1) has removed Change-Id from patch

[edk2-devel] [PATCH v1 3/3] SbsaQemu: AcpiTables: Add XHCI info into DSDT

2023-06-05 Thread wangyuquan1236
As sbsa-ref board uses xhci to replace ehci, the DSDT is updated to match the platform xhci controller. This also removes previous ehci structure. Signed-off-by: Yuquan Wang --- .../Qemu/SbsaQemu/AcpiTables/AcpiTables.inf | 4 +- Silicon/Qemu/SbsaQemu/AcpiTables/Dsdt.asl | 125 ++

Re: [edk2-devel] [PATCH v1 0/3] use XHCI to replace EHCI

2023-06-05 Thread Ard Biesheuvel
On Mon, 5 Jun 2023 at 14:48, Yuquan Wang wrote: > > This patchset implements XHCI on sbsa-ref board to replace EHCI. > As sbsa-ref does not have DRAM below 4G, it cannot utilize EHCI > that only has 32-bit DMA capablity. Now this board has XHCI as > an available usb controller with 64-bit DMA capa

[edk2-devel] [edk2-redfish-client][PATCH 0/9] Fix RedfishClientPkg build errors

2023-06-05 Thread Nickle Wang via groups.io
Fix RedfishClientPkg build errors and typos. The compiler toolchain is GCC5. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Nickle Wang (9): RedfishClientPkg/ConverterLib: Fix unused-but-set-variable error RedfishClientPkg/RedfishAddendumLib: Fix build error RedfishClien

[edk2-devel] [edk2-redfish-client][PATCH 2/9] RedfishClientPkg/RedfishAddendumLib: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
Rename ProvisioningCallback() to GetData() and OemCallback() to GetOemData() and fix build error Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../Library/RedfishAddendumLib/RedfishAddendumLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

[edk2-devel] [edk2-redfish-client][PATCH 3/9] RedfishClientPkg/EdkIIRedfishResourceConfigLib: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
Remove uncessary parameter and fix build error. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../EdkIIRedfishResourceConfigLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RedfishClientPkg/Library/EdkIIRedfishResour

[edk2-devel] [edk2-redfish-client][PATCH 4/9] RedfishClientPkg/RedfishFeatureUtilityLib: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
Follow latest definition of EDKII_REDFISH_VALUE_TYPES and rename all corresponding variable in RedfishFeatureUtilityLib. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../RedfishFeatureUtilityLib.c| 50 +-- 1 file changed, 25 insertions(+),

[edk2-devel] [edk2-redfish-client][PATCH 5/9] RedfishClientPkg/RedfishETagDxe: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
- Fix missing "EFIAPI" build error. - Fix typos. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../Include/Protocol/EdkIIRedfishETagProtocol.h | 2 +- RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.c| 13 - 2 files changed, 9 insertions(+), 6 deletion

[edk2-devel] [edk2-redfish-client][PATCH 6/9] RedfishClientPkg/RedfishConfigLangMapDxe: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
Add missing "EFIAPI" and fix build error Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.c

[edk2-devel] [edk2-redfish-client][PATCH 7/9] RedfishClientPkg/BiosDxe: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
- Fix "variable set but not used" error. - Fix missing "EFIAPI" error. - Fix typos. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../Features/Bios/v1_0_9/Dxe/BiosDxe.c| 20 ++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Redfish

[edk2-devel] [edk2-redfish-client][PATCH 8/9] RedfishClientPkg/MemoryDxe: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
- Fix "variable set but not used" error. - Fix missing "EFIAPI" error. - Fix typos. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../Features/Memory/V1_7_1/Dxe/MemoryDxe.c| 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Redfish

[edk2-devel] [edk2-redfish-client][PATCH 9/9] RedfishClientPkg/ComputerSystemDxe: Fix build error

2023-06-05 Thread Nickle Wang via groups.io
- Fix "variable set but not used" error. - Fix missing "EFIAPI" error. - Fix typos. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../v1_5_0/Dxe/ComputerSystemDxe.c| 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Redfis

[edk2-devel] [PATCH] RedfishPkg: update Readme.md

2023-06-05 Thread Nickle Wang via groups.io
RedfishClientPkg is moved from edk2-staging repository to edk2-redfish-client repository. Update the link in Readme.md to new location. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- RedfishPkg/Readme.md | 22 +++--- 1 file changed, 11 insertions(+), 11 del

Re: [edk2-devel] [PATCH] SecurityPkg/SecureBoot: Support RSA 512 and RSA 384

2023-06-05 Thread Chen, Zeyi
Review-by -Original Message- From: devel@edk2.groups.io On Behalf Of Sheng, W Sent: Thursday, May 25, 2023 1:23 PM To: devel@edk2.groups.io Cc: Yao, Jiewen ; Wang, Jian J ; Xu, Min M ; Chen, Zeyi ; Wang, Fiona Subject: [edk2-devel] [PATCH] SecurityPkg/SecureBoot: Support RSA 512 and RS

Re: [edk2-devel] [PATCH 1/3] Platform/Qemu/SbsaQemu/SbsaQemu.dsc: define XHCI Pcd settings

2023-06-05 Thread Chen Baozi
Hi, Yuquan > On Jun 5, 2023, at 16:54, Yuquan Wang wrote: > > Define the pcd settings for identifying the base address of XHCI > and XHCI's mmio size, and remove relevant EHCI settings. > > Signed-off-by: Yuquan Wang > Change-Id: Ic144e7125332de5f2f2151f3b6856bd095c95a58 Please remove Change-

[edk2-devel] [PATCH] Maintainers.txt: Drop Radoslaw from sbsa-ref maintainers

2023-06-05 Thread Radoslaw Biernacki via groups.io
Regardless of the long standing desire to resume involvement in the project, I'm unable to double the time in a day. That's why I'm removing myself from sbsa-ref maintainers. Signed-off-by: Radoslaw Biernacki --- Maintainers.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/Maintainers.txt

[edk2-devel] Updated Event: Tools, CI, Code base construction meeting series #cal-invite

2023-06-05 Thread Group Notification
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:20230407T050750Z TZURL:https://www.tzurl.org/zoneinfo-outlook/America/Los_An

[edk2-devel] Event: Tools, CI, Code base construction meeting series - Monday, June 5, 2023 #cal-reminder

2023-06-05 Thread Group Notification
*Reminder: Tools, CI, Code base construction meeting series* *When:* Monday, June 5, 2023 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDI2ZDg4NmMtMjI1My00MzI5LWFmYjAtMGQyNjUzNTBjZGYw%40thread.v2/0?context=%7b%22Tid%22%3a%2272f98

[edk2-devel] Now: Tools, CI, Code base construction meeting series - Monday, June 5, 2023 #cal-notice

2023-06-05 Thread Group Notification
*Tools, CI, Code base construction meeting series* *When:* Monday, June 5, 2023 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_ZDI2ZDg4NmMtMjI1My00MzI5LWFmYjAtMGQyNjUzNTBjZGYw%40thread.v2/0?context=%7b%22Tid%22%3a%2272f988bf-86f1-4

Re: [edk2-devel] [PATCH] IntelSiliconPkg/IntelVTdDmarPei: Fix build error when disable optimization

2023-06-05 Thread Huang, Jenny
Reviewed by Jenny Huang -Original Message- From: devel@edk2.groups.io On Behalf Of Sheng, W Sent: Tuesday, May 23, 2023 1:11 AM To: devel@edk2.groups.io Cc: Ni, Ray ; Chaganty, Rangasai V ; Huang, Jenny ; Kowalewski, Robert Subject: [edk2-devel] [PATCH] IntelSiliconPkg/IntelVTdDmarPei

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, June 6, 2023 #cal-reminder

2023-06-05 Thread Group Notification
*Reminder: TianoCore Bug Triage - APAC / NAMO* *When:* Tuesday, June 6, 2023 6:30pm to 7:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_OTk1YzJhN2UtOGQwNi00NjY4LWEwMTktY2JiODRlYTY1NmY0%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e344-4ed4

Re: [edk2-devel] [edk2-platforms] Platform/Loongson: Pre-allocate 0-4K memory during the Pei phase

2023-06-05 Thread Chao Li
Reviewed-by: Chao Li Thanks, Chao 在 2023/6/1 19:19, xianglai 写道: When 0 address protection is enabled, 0-4k memory needs to be preallocated to prevent UEFI applications from allocating use, such as grub. Cc: Ard Biesheuvel Cc: Bibo Mao Cc: Chao Li Cc: Leif Lindholm Cc: Liming Gao Cc: Michael

Re: [edk2-devel] [PATCH v1 1/1] ArmPkg: CpuDxe: Sync GCD Capabilities With Page Table Attributes

2023-06-05 Thread Michael Kubacki
Hi Ray, I still haven't seen a calendar invitation. Could you please send one for us to reserve the slot on our calendars? Thanks, Michael On 6/1/2023 11:09 PM, Michael Kubacki wrote: Sounds good, thanks for the quick response. Can you please send a calendar invite when you get a chance? O

Re: [edk2-devel] [PATCH] MdeModulePkg: Fix port multiplier port in AhciPei PEIM

2023-06-05 Thread Wu, Hao A
Add Stewards. I cannot merge PR https://github.com/tianocore/edk2/pull/4478 due to constant cancelled CI tests. Could someone help with the situation or help to merge the change? Thanks in advance. Best Regards, Hao Wu From: devel@edk2.groups.io On Behalf Of Wu, Hao A Sent: Monday, June 5, 20

[edk2-devel] Event: UEFI Memory Map, GCD, Page Table discussion - ARM/X86 (2nd session) - Wednesday, June 7, 2023 #cal-invite

2023-06-05 Thread Group Notification
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:20230407T050750Z TZURL:https://www.tzurl.org/zoneinfo-outlook/Asia/Shanghai X-LIC-

Re: [edk2-devel] [edk2-platforms] Platform/Loongson: Revise the Readme

2023-06-05 Thread Chao Li
Reviewed-by: Chao Li Thanks, Chao 在 2023/6/1 19:20, xianglai 写道: Fix some errors in the Readme file. Cc: Ard Biesheuvel Cc: Bibo Mao Cc: Chao Li Cc: Leif Lindholm Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: xianglai li --- Platform/Loongson/LoongArchQemuPkg/Readme.md | 2 +- 1 file

Re: [edk2-devel] [PATCH v1 1/1] ArmPkg: CpuDxe: Sync GCD Capabilities With Page Table Attributes

2023-06-05 Thread Ni, Ray
I just set it up. It's in https://edk2.groups.io/g/devel/calendar, also in attachment. > -Original Message- > From: devel@edk2.groups.io On Behalf Of Michael > Kubacki > Sent: Tuesday, June 6, 2023 10:14 AM > To: Ni, Ray ; devel@edk2.groups.io > Cc: Leif Lindholm ; Ard Biesheuvel > ; Sami

Re: [edk2-devel] [PATCH v1 1/1] MdeModulePkg: UsbBusDxe: Build Descriptor table after resetting port

2023-06-05 Thread Wu, Hao A
Sorry for the late response, inline comments below: > -Original Message- > From: brit.ches...@amd.com > Sent: Wednesday, May 17, 2023 6:16 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J ; Gao, Liming > ; Wu, Hao A ; Ni, Ray > > Subject: [PATCH v1 1/1] MdeModulePkg: UsbBusDxe: Build De

[edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib

2023-06-05 Thread Zhiguang Liu
This library supports a PeiServicesTablePointerLib implementation that allows code dependent upon PeiServicesTable to operate in an isolated execution environment such as within the context of a host-based unit test framework. The unit test should initialize the PeiServicesTable database with any

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add UnitTestPeiServicesTablePointerLib

2023-06-05 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: devel@edk2.groups.io On Behalf Of Zhiguang Liu > Sent: Tuesday, June 6, 2023 1:40 PM > To: devel@edk2.groups.io > Cc: Liu, Zhiguang ; Kinney, Michael D > ; Michael Kubacki > ; Sean Brogan > Subject: [edk2-devel] [PATCH v2] UnitTestFramewo

[edk2-devel] [PATCH] ShellPkg: Increase PcdShellPrintBufferSize from UINT16 to UINT32

2023-06-05 Thread Giri Mudusuru via groups.io
Increase max buffer size to support more than 64K. Signed-off-by: Giri Mudusuru Cc: Ray Ni Cc: Zhichao Gao Cc: Andrew Fish --- ShellPkg/Application/Shell/Shell.c | 5 +++-- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 19 ++- ShellPkg/ShellPkg.dec

[edk2-devel] [PATCH v14 0/8] Adds AmdSmmCpuFeaturesLib and MmSaveStateLib

2023-06-05 Thread Abdul Lateef Attar via groups.io
Backward-compatibility changes: This patch series removes the SmmCpuFeaturesReadSaveStateRegister and SmmCpuFeaturesWriteSaveStateRegister interface/function. SmmReadSaveState() and SmmWriteSaveState() now directly invokes MmSaveStateLib routines to save/restore registers. PR: https://gith

[edk2-devel] [PATCH v14 2/8] UefiCpuPkg: Adds MmSaveStateLib library class

2023-06-05 Thread Abdul Lateef Attar via groups.io
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Adds MmSaveStateLib Library class in UefiCpuPkg.dec. Adds function declaration header file. Cc: Paul Grimes Cc: Abner Chang Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Signed-off-by: Abdul Lateef Attar Reviewed-by: Abn

[edk2-devel] [PATCH v14 3/8] UefiCpuPkg: Implements MmSaveStateLib library instance

2023-06-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Implements MmSaveStateLib Library class for AMD cpu family. Cc: Paul Grimes Cc: Abner Chang Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Signed-off-by: Abdul Lateef Attar Reviewed-by: Abner Ch

[edk2-devel] [PATCH v14 4/8] UefiCpuPkg/SmmCpuFeaturesLib: Restructure arch-dependent code

2023-06-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 moves Intel-specific code to the arch-dependent file. Other processor families might have different implementation of these functions. Hence, moving out of the common file. Cc: Abner Chang Cc: Paul Grimes Cc: Eri

[edk2-devel] [PATCH v14 1/8] MdePkg: Adds AMD SMRAM save state map

2023-06-05 Thread Abdul Lateef Attar via groups.io
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Adds an SMM SMRAM save-state map for AMD processors. SMRAM save state maps for the AMD processor family are now supported. Save state map structure is added based on AMD64 Architecture Programmer's Manual, Volume 2, Section 10.2. The AMD le

[edk2-devel] [PATCH v14 5/8] UefiCpuPkg: Implements SmmCpuFeaturesLib for AMD Family

2023-06-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Implements interfaces to read and write save state registers of AMD's processor family. Initializes processor SMMADDR and MASK depends on PcdSmrrEnable flag. Program or corrects the IP once control returns from SMM.

[edk2-devel] [PATCH v14 6/8] UefiCpuPkg: Implements MmSaveStateLib for Intel

2023-06-05 Thread Abdul Lateef Attar via groups.io
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Implements MmSaveStateLib library interfaces to read and write save state registers for Intel processor family. Moves Intel and AMD common functionality to common area. Cc: Paul Grimes Cc: Abner Chang Cc: Eric Dong Cc: Ray Ni Cc: Rahul

[edk2-devel] [PATCH v14 7/8] UefiCpuPkg: Removes SmmCpuFeaturesReadSaveStateRegister

2023-06-05 Thread Abdul Lateef Attar via groups.io
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Removes SmmCpuFeaturesReadSaveStateRegister and SmmCpuFeaturesWirteSaveStateRegister function from SmmCpuFeaturesLib library. MmSaveStateLib library replaces the functionality of the above functions. Platform old/new need to use MmSaveStateL

[edk2-devel] [PATCH v14 8/8] OvmfPkg: Uses MmSaveStateLib library

2023-06-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4182 Uses new MmSaveStateLib library instance. Cc: Paul Grimes Cc: Abner Chang Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Signed-off-by: Abdul

Re: [edk2-devel] [edk2-platforms][PATCH 0/4] Add support new SMBIOS Tables and refactor to adapt with ArmPkg/SMBIOS

2023-06-05 Thread Nhi Pham via groups.io
Hi Ard, The error is created by this commit https://github.com/tianocore/edk2/commit/e6447d2a08f5ca585816d093e79a01dad3781f98. We are investigating and will get back to you soon. Thanks for merging our patches. -Nhi On 6/2/2023 7:48 PM, Ard Biesheuvel wrote: On Wed, 24 May 2023 at 02:41, M