回复: [edk2-devel] [PATCH v2 34/34] BaseTools: Add LoongArch64 binding.

2022-09-14 Thread gaoliming via groups.io
Chao: This change should be placed together with other changes in BaseTools. I mean their commits can be placed together. The code change is good to me. Reviewed-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Chao Li > 发送时间: 2022年9月14日 17:43 > 收件人: devel@edk2

[edk2-devel] 回复: [PATCH v2 17/34] BaseTools: BaseTools changes for LoongArch platform.

2022-09-14 Thread gaoliming via groups.io
Chao: This change is to update BaseTools build tool to support new LoongArch. Please update commit message title. The code change is good to me. Reviewed-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: Chao Li > 发送时间: 2022年9月14日 17:41 > 收件人: devel@edk2.groups.io > 抄送: Bob Feng ; Liming

[edk2-devel] 回复: [PATCH v2 16/34] BaseTools: BaseTools changes for LoongArch platform.

2022-09-14 Thread gaoliming via groups.io
Chao: This change is to update GCC5 tool chain to support LoongArch. So, the commit message title should be updated for GCC5 tool chain. The code change is good to me. Reviewed-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: Chao Li > 发送时间: 2022年9月14日 17:40 > 收件人: devel@edk2.groups.io

[edk2-devel] 回复: [PATCH v2 15/34] BaseTools: BaseTools changes for LoongArch platform.

2022-09-14 Thread gaoliming via groups.io
Chao: This change is for BaseTools C tools . The commit message can be BaseTools: Update GenFw/GenFv to support LoongArch platform. The code change is good to me. Reviewed-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: Chao Li > 发送时间: 2022年9月14日 17:40 > 收件人: devel@edk2.groups.io > 抄送:

回复: [edk2-devel] [PATCH v6 1/1] NetworkPkg/HttpBootDxe: Add Support for HTTPS Proxy Server for HTTP Boot

2022-09-14 Thread gaoliming via groups.io
Saloni: This change requests the change in UEFI spec. Please follow the code first process (https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Code-First-Pro cess) And, for the code changes, please separate them for the different packages. Thanks Liming > -邮件原件- > 发件人: deve

Re: 回复: [edk2-devel] [PATCH]Shell screen will show a redundant symbol after using Hexedit command under command line

2022-09-14 Thread sivaparvathi C via groups.io
Hi gaolim...@byosoft.com.cn, The redundant symbol is available after using Hexedit and Edit command in the shell. I have tried these 2 commands only. These changes are required for Hexedit and Edit commands only. Thanks, Sivaparvathi C From: gaoliming Sent: T

Re: [edk2-devel] [PATCH] Maintainers.txt: Update email address

2022-09-14 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Thursday, September 15, 2022 10:20 AM > To: devel@edk2.groups.io > Cc: Andrew Fish ; Leif Lindholm > ; Michael D Kinney ; > Chang, Abner > Subject: [PATCH] Maintainers.txt: Updat

Re: [edk2-devel] [PATCH v1] MdeModulePkg/AhciPei: Fix MMIO base assignment

2022-09-14 Thread Wu, Hao A
Pushed via: PR - https://github.com/tianocore/edk2/pull/3338 Commit - https://github.com/tianocore/edk2/commit/1dccbd1a382aa57719e4e0432b3bd6a03a888507 Best Regards, Hao Wu > -Original Message- > From: devel@edk2.groups.io On Behalf Of Wu, Hao > A > Sent: Tuesday, September 13, 2022 12:

Re: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/XhciDxe: Fix the Bug of clean InputContext in XhcEvaluateContext64();

2022-09-14 Thread Wu, Hao A
Hello, My take to the purpose of calling XhcEvaluateContext/XhcEvaluateContext64 functions is to “inform the xHC of the change to the Default Control endpoint’s Max Packet Size parameter.” That is why the function only set bit 1 (Add Context bit 1) to inform the xHC only Endpoint Context for EP

Re: [edk2-devel] How to guard CAR's stack overflow

2022-09-14 Thread Ni, Ray
It’s doable. You need to enable paging and mark the very low 4K area of the stack as not-present. You could use the UefiCpuPkg/Library/CpuPageTableLib to help you create the 1:1 page table with the specific 4K area as not-present (if you are using x86 processors). Thanks, Ray From: devel@edk2.g

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Guo, Gua
So if you run the stuart command with that plugin available on Linux/GCC, then both the .gcda and HTML content is always generated and local user can either view HTML content with browser or view the results in VS Code with the .gcda files. Correct? Yes, Correct. I think there ways to run the

[edk2-devel] Event: TianoCore Community Meeting - APAC/NAMO - 09/15/2022 #cal-reminder

2022-09-14 Thread Group Notification
*Reminder: TianoCore Community Meeting - APAC/NAMO* *When:* 09/15/2022 7:30pm to 8:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_Y2M1NDE3ODYtN2M3Yy00MDMxLTk3OWYtMTlkNjhlNWFlMjA2%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e344-4ed4-8496-

[edk2-devel] How to guard CAR's stack overflow

2022-09-14 Thread Tiger Liu(BJ-RD)
Hi, Experts: Usually, we use Cache As Ram to setup stack and heap for C language running environment before permanent memory has been initialized. So, is there a method to guard this phase's stack overflow? Note: I find udk has introduced a method to guard stack overflow after memory has been i

[edk2-devel] [PATCH v2 2/3] DynamicTablesPkg: AML Code generation to add _CPC entries

2022-09-14 Thread Jeff Brasen via groups.io
_CPC entries can describe CPU performance information. The object is described in ACPI 6.4 s8.4.7.1. "_CPC (Continuous Performance Control)". Add AmlCreateCpcNode() helper function to add _CPC entries to an existing CPU object. Signed-off-by: Jeff Brasen --- .../Include/Library/AmlLib/

[edk2-devel] [PATCH v2 1/3] DynamicTablesPkg: Add CM_ARM_CPC_INFO object

2022-09-14 Thread Jeff Brasen via groups.io
Introduce the CM_ARM_CPC_INFO CmObj in the ArmNameSpaceObjects. This allows to describe CPC information, as described in ACPI 6.4, s8.4.7.1 "_CPC (Continuous Performance Control)". Signed-off-by: Jeff Brasen --- .../Include/ArmNameSpaceObjects.h | 148 -- .../C

[edk2-devel] [PATCH v2 3/3] DynamicTablesPkg: SSDT CPU _CPC generator

2022-09-14 Thread Jeff Brasen via groups.io
Add code to use a token attached to GICC to generate _CPC object on cpus. Signed-off-by: Jeff Brasen --- .../SsdtCpuTopologyGenerator.c| 223 +- 1 file changed, 217 insertions(+), 6 deletions(-) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCpuTo

[edk2-devel] [PATCH v2 0/3] DynamicTablesPkg: _CPC support

2022-09-14 Thread Jeff Brasen via groups.io
Add generator for creating the _CPC object for CPU nodes. If viewing this review by a pull request is helpful one exists here: https://github.com/NVIDIA/edk2/pull/12 Change Log: v1 - Initial Revision v2 - Added revision to object, improved error handling, changed to ACPI 6.4 structures. Jeff Br

[edk2-devel] [PATCH v6 1/1] NetworkPkg/HttpBootDxe: Add Support for HTTPS Proxy Server for HTTP Boot

2022-09-14 Thread Saloni Kasbekar
Add CONNECT HTTP command to create a tunnel from Proxy to EndPoint Server. Add support to connect through proxy server using multi-URI DevicePath sent to the Boot Manager. Cc: Maciej Rabeda Cc: Wu Jiaxin Cc: Siyuan Fu Cc: Jian J Wang Cc: Liming Gao Signed-off-by: Saloni Kasbekar --- .../Lib

Re: [edk2-devel][edk2-platforms][PATCH V3 0/4] QemuOpenBoardPkg: Add QemuOpenBoardPkg

2022-09-14 Thread Isaac Oram
Series pushed as 9a7234827f..f4679715a4 -Original Message- From: Kinney, Michael D Sent: Tuesday, September 13, 2022 2:51 PM To: Oram, Isaac W ; Theo Jehl ; devel@edk2.groups.io; Kinney, Michael D Cc: Leif Lindholm ; Pedro Falcato ; Gerd Hoffmann ; Stefan Hajnoczi Subject: RE: [edk2

[edk2-devel] [PATCH] NetworkPkg: Add WiFi profile sync protocol support

2022-09-14 Thread Clark-williams, Zachary
From: Zachary Clark-Williams REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3845 Enables KVM and One Click Recovery WLAN capability with WiFi Profile Sync feature and protocol. Adding WiFiProfileSyncProtocol, which supports the profilesync driver operations for transferring WiFi profiles fr

[edk2-devel][edk2-platforms][PATCH V1 2/2] MinPlatformPkg/S3: Use EFI_PHYSICAL_ADDRESS for address

2022-09-14 Thread Isaac Oram
This change fixes build warnings with type casts from some compilers. Also changes type for ACPI_S3_MEMORY S3PeiMemBase to EFI_PHYSICAL_ADDRESS. This generally makes code eaiser to understand as opposed to UINT64. Cc: Sai Chaganty Cc: Nate DeSimone Cc: Liming Gao Cc: Chasel Chiu Cc: Eric Dong

[edk2-devel][edk2-platforms][PATCH V1 0/2] Platforms/Intel: Build fixes

2022-09-14 Thread Isaac Oram
The S3FeaturePkg changes in [edk2-platforms][PATCH v3 2/4] S3FeaturePkg: Implement working S3 resume Introduces some build issues with standalone package build for S3FeaturePkg and AdvancedFeaturePkg. There are also some type cast related compiler warnings. We do not currently have continuous

[edk2-devel][edk2-platforms][PATCH V1 1/2] S3FeaturePkg/Build: Add libraries needed by S3FeaturePkg

2022-09-14 Thread Isaac Oram
This change is needed for proposed S3FeaturePkg additions. Changes ensure standalone build for S3FeaturePkg and AdvancedFeaturePkg Cc: Sai Chaganty Cc: Nate DeSimone Cc: Liming Gao Cc: Benjamin Doron Signed-off-by: Isaac Oram --- Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc |

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Michael D Kinney
So if you run the stuart command with that plugin available on Linux/GCC, then both the .gcda and HTML content is always generated and local user can either view HTML content with browser or view the results in VS Code with the .gcda files. Correct? I think there ways to run the stuart comman

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Michael D Kinney
For VS builds, I have heard that OpenCppCoverage is a good option: https://github.com/OpenCppCoverage/OpenCppCoverage I think Sean has done some initial evaluation. Would be great to see this enabled for local users for VS20xx tool chains. Mike From: Guo, Gua Sent: Tuesday, September 13, 20

Re: [edk2-devel] [PATCH v2] UnitTestFrameworkPkg: Add code coverage support for GCC

2022-09-14 Thread Michael D Kinney
Does that mean that the patch under discussion here is still valuable for local users? I want to make sure it is easy for local users to see the coverage as unit tests are implemented locally for Windows and Linux OSes. The ci plugin you have looks valuable for CI testing to provide feedback to

Re: [edk2-devel] [PATCH 2/2] DynamicTablesPkg: Add Smbios Type17 Table generator

2022-09-14 Thread Sami Mujawar
Hi Abner, Please see my response inline marked [SAMI]. Regards, Sami Mujawar On 13/09/2022, 04:00, "Chang, Abner" wrote: [AMD Official Use Only - General] One question in below with tag [Abner], > -Original Message- > From: devel@edk2.groups.io On Behalf Of Sami

Re: [edk2-devel] [PATCH edk2-platforms 1/1] Platform/ARM: Update Morello and SgiPkg for ARM_CORE_INFO Mpidr change

2022-09-14 Thread Sami Mujawar
Hi Rebecca, Your changes for Morello appear to be fine. However, I am not so sure about SgiPkg and why only one core is described. Maybe Thomas can provide more insight. Regards, Sami Mujawar -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Onli

[edk2-devel] Event: TianoCore Community Meeting - EMEA / NAMO - 09/15/2022 #cal-reminder

2022-09-14 Thread Group Notification
*Reminder: TianoCore Community Meeting - EMEA / NAMO* *When:* 09/15/2022 8:00am to 9:00am (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_N2UyMTVhZjUtOTk3Ni00MmI0LTg0NmItNzIwYTkyMGJhYzNh%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e344-4ed4-849

Re: [edk2-devel] [PATCH] DynamicTablesPkg: AcpiSsdtPcieLibArm: Allow use of segment number as UID

2022-09-14 Thread PierreGondois
Hello Jeff, The patch looks good to me: Reviewed-by: Pierre Gondois On 9/6/22 22:33, Jeff Brasen wrote: Add support for selecting to use index or segment number as UID and name. This allows the path of the nodes to be well known. For example, if the PCIe node needs to be notified from by an int

[edk2-devel] [PATCH v2 34/34] BaseTools: Add LoongArch64 binding.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 ProcessorBin.h and add LoongArch to Makefiles. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang --- BaseTools/Source/C/GNUmakefile| 3 + .../C/Include/Loon

[edk2-devel] [PATCH v2 33/34] NetworkPkg: Add LoongArch64 architecture.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 architecture in to NetworkPkg. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Chao Li --- NetworkPkg/Network.dsc.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NetworkPkg/Networ

[edk2-devel] [PATCH v2 32/34] MdeModulePkg/DxeIplPeim : LoongArch DxeIPL implementation.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Implement LoongArch DxeIPL instance. Cc: Liming Gao Cc: Guomin Jiang Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang --- MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf | 6 +- .../Core/DxeIplPeim/LoongArch64/DxeLoadFunc.c | 63

[edk2-devel] [PATCH v2 31/34] MdeModulePkg/CapsuleRuntimeDxe: Add LoongArch64 architecture.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch in INF for building CapsuleRuntimeDxe LoongArch64 image. Cc: Liming Gao Cc: Guomin Jiang Sigend-off-by: Chao Li --- .../Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf| 9 + 1 file changed, 5 insertions(+),

[edk2-devel] [PATCH v2 30/34] MdeModulePkg/Logo: Add LoongArch64 architecture.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 architecture to the Logo. Cc: Zhichao Gao Cc: Ray Ni Signed-off-by: Chao Li --- MdeModulePkg/Logo/Logo.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Logo/Logo.inf b/MdeModulePkg/

[edk2-devel] [PATCH v2 29/34] MdePkg/BaseSafeIntLib: Add LoongArch64 architecture for BaseSafeIntLib.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 architecture for BaseSafeIntLib library. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf | 9 + 1 file changed, 5 insertions(+),

[edk2-devel] [PATCH v2 28/34] MdePkg/BaseSynchronizationLib: LoongArch cache related code.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Support LoongArch cache related functions. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang --- .../BaseSynchronizationLib.inf| 5 + .../LoongArch64/Synchroniza

[edk2-devel] [PATCH v2 27/34] MdePkg/BaseCpuLib: LoongArch Base CPU library implementation.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Implement LoongArch CPU related functions in BaseCpuLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | 7 ++- MdePkg/Library/BaseCpuLib/BaseCpu

[edk2-devel] [PATCH v2 26/34] MdePkg/BasePeCoff: Add LoongArch PE/Coff related code.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch image relocation. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang --- MdePkg/Library/BasePeCoffLib/BasePeCoff.c | 3 +- .../Library/BasePeCoffLib/BasePeCoffL

[edk2-devel] [PATCH v2 25/34] MdePkg/BaseIoLibIntrinsic: IoLibNoIo for LoongArch architecture.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 LoongArch MMIO library instance, use the IoLibNoIo. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- .../Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | 10 +++--- MdePkg/Library/BaseIoLibIntrin

[edk2-devel] [PATCH v2 22/34] MdePkg/Include: LoongArch definitions.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch processor related definitions. For the Http boot and PXE boot types seeing this URL section "Processor Architecture Type" for the LOONGARCH values: https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml Fo

[edk2-devel] [PATCH v2 24/34] MdePkg/BaseCacheMaintenanceLib: LoongArch cache maintenance implementation.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Implement LoongArch cache maintenance functions in BaseCacheMaintenanceLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- .../BaseCacheMaintenanceLib.inf | 6 +- .../BaseCacheMaintenan

[edk2-devel] [PATCH v2 23/34] MdePkg/BaseLib: BaseLib for LOONGARCH64 architecture.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch LOONGARCH64 BaseLib functions. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang --- MdePkg/Include/Library/BaseLib.h | 24 MdePkg/Library/Base

[edk2-devel] [PATCH v2 21/34] MdePkg: Add LoongArch LOONGARCH64 binding

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 sections in MdePkg.dec and LOONGARCH64 ProcessorBind.h Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang Co-authored-by: Dongyan Qian --- MdePkg/Include/LoongArch

[edk2-devel] [PATCH v2 20/34] .pytool: Add LoongArch64 architecture on LoongArch64 EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 architecture on LoongArch64 EDK2 CI testing. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Chao Li --- .pytool/CISettings.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pytool/CISetting

[edk2-devel] [PATCH v2 19/34] .azurepipelines: Add LoongArch64 architecture on LoongArch64 EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch64 architecture on LoongArch64 EDK2 CI. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Chao Li --- .azurepipelines/Ubuntu-GCC5.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azurepipelines/U

[edk2-devel] [PATCH v2 18/34] BaseTools: Enable LoongArch64 architecture for LoongArch64 EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 EDK CI for LoongArch64 architecture Enable LoongArch64 architecture for LoongArch64 EDK2 CI testing. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Chao Li --- ...gcc_loongarch64_unknown_linux_ext_dep.yaml | 22 +++

[edk2-devel] [PATCH v2 17/34] BaseTools: BaseTools changes for LoongArch platform.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Python code changes for building EDK2 LoongArch platform. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Chao Li Co-authored-by: Baoqi Zhang --- BaseTools/Source/Python/Common/DataType.py| 21 ++-- .../Sour

[edk2-devel] [PATCH v2 16/34] BaseTools: BaseTools changes for LoongArch platform.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 BaseTools define template files changes for building EDK2 LoongArch platform. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Chao Li Co-authored-by: Dongyan Qian Co-authored-by: Baoqi Zhang --- BaseTools/Conf/tools_def.te

[edk2-devel] [PATCH v2 15/34] BaseTools: BaseTools changes for LoongArch platform.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 C code changes for building EDK2 LoongArch platform. For definitions of PE/COFF and LOONGARCH relocation types, see the "Machine Types" and "Basic Relocation Types" sections of this URL for LOONGARCH values: https://docs.microsoft.com/en-us

[edk2-devel] [PATCH v2 14/34] .python/SpellCheck: Add "Loongson" and "LOONGARCH" to "words" section

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add Loongson and LOONGARCH to "words" section in cspell.base.yaml file to avoid spelling check error. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Chao Li --- .pytool/Plugin/SpellCheck/cspell.base.yaml | 4 +++- 1 file changed, 3

[edk2-devel] [PATCH v2 13/34] MdeModulePkg: Use LockBoxNullLib for LOONGARCH64

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 LoongArch doesn't have SMM by now. Cc: Jian J Wang Cc: Liming Gao Signed-off-by: Chao Li --- MdeModulePkg/MdeModulePkg.dsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModul

[edk2-devel] [PATCH v2 12/34] MdePkg/DxeServicesLib: Add LOONGARCH64 architecture

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture to MdePkg/DxeServiceLib. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- MdePkg/Library/DxeServicesLib/DxeServicesLib.inf | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[edk2-devel] [PATCH v2 11/34] UnitTestFrameworkPkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture to UnitTestFramworkPkg for LOONGARCH64 EDK2 CI. Cc: Michael D Kinney Signed-off-by: Chao Li --- UnitTestFrameworkPkg/UnitTestFrameworkPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[edk2-devel] [PATCH v2 02/34] MdePkg: Added LoongArch jump buffer register definition to MdePkg.ci.yaml

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 If the new Arch register is defined in BaseLib.h when running the CI tests, it will give an ECC check error. Add the LoongArch register defined in the IgnoreFiles field to make the CI ECC check pass. Cc: Michael D Kinney Cc: Liming Gao Cc

[edk2-devel] [PATCH v2 10/34] ShellPkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture to ShellPkg for EDK2 CI testing. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Chao Li --- ShellPkg/ShellPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ShellPkg/ShellPkg.dsc b/She

[edk2-devel] [PATCH v2 07/34] CryptoPkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture for EDK2 CI testing. Cc: Jiewen Yao Cc: Jian J Wang Cc: Xiaoyu Lu Cc: Guomin Jiang Signed-off-by: Chao Li --- CryptoPkg/CryptoPkg.dsc | 3 ++- CryptoPkg/Library/BaseCry

[edk2-devel] [PATCH v2 04/34] FmpDevicePkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture for EDK2 CI testing. Cc: Liming Gao Cc: Michael D Kinney Cc: Guomin Jiang Cc: Wei6 Xu Signed-off-by: Chao Li --- FmpDevicePkg/FmpDevicePkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[edk2-devel] [PATCH v2 01/34] MdePkg: Added file of DebugSupport.h to MdePkg.ci.yaml

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 DebugSupport.h is all defined by UEFI Spec, most of the code doesn't fit EDKII coding style, add it to IgnoreFiles field to make CI ECC check pass. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Signed-off-by: Chao Li --- MdePkg

[edk2-devel] [PATCH v2 09/34] SecurityPkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture to SecurityPkg for EDK2 CI testing. Cc: Jiewen Yao Cc: Jian J Wang Signed-off-by: Chao Li --- SecurityPkg/SecurityPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SecurityPkg/Se

[edk2-devel] [PATCH v2 06/34] NetworkPkg/HttpBootDxe: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH architecture for EDK2 CI testing. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Chao Li --- NetworkPkg/HttpBootDxe/HttpBootDhcp4.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NetworkPkg/HttpBoot

[edk2-devel] [PATCH v2 08/34] MdePkg/Include: Add LOONGARCH related definitions EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 HTTP/PXE boot LOONGARCH64 related definitions for EDK2 CI. For the LOONGARCH values, please seeing following URL section "Processor Architecture Types": https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml Cc: Michael

[edk2-devel] [PATCH v2 05/34] NetworkPkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture for EDK2 CI testing. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Chao Li --- NetworkPkg/NetworkPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NetworkPkg/Netw

[edk2-devel] [PATCH v2 03/34] FatPkg: Add LOONGARCH64 architecture for EDK2 CI.

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LOONGARCH64 architecture for EDK2 CI testing. Cc: Ray Ni Signed-off-by: Chao Li --- FatPkg/FatPkg.dsc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc index 6fa439e440..076

[edk2-devel] [PATCH v2 00/34] Add a new architecture called LoongArch in EDK II

2022-09-14 Thread Chao Li
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 UEFI Spec V2.10 already supports LoongArch and all changes of this commit passwed Azure CI testing, so let's enable it in EDK2. This commit contains 35 patchs, with patch 0 is the cover and the rest being the LoongArch base code. Changes fr

Re: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/XhciDxe: Fix the Bug of clean InputContext in XhcEvaluateContext64();

2022-09-14 Thread Jiading Zhang
When I use the newest XhciDxe driver in Phytium Platform( ARM) ,  I found if clearing “Input Context” in XhcEvaluateContext64(), the usb KB doesn't work, and mark the  code   ZeroMem (InputContext, sizeof (INPUT_CONTEXT_64));  it works. I viewed the code again, maybe change the ZeroMem (InputCon

Re: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/XhciDxe: Fix the Bug of clean InputContext in XhcEvaluateContext64();

2022-09-14 Thread Wu, Hao A
Hello, For the proposed patch, may I know what kind of issue was met? After referring to the xHCI spec, my take is that the “Input Context” is different (and should be re-initialed) for each xHC command. 1. Under section 4.6.5 Address Device of the xHCI 1.1 spec: The Add Context flags A0 and A1

[edk2-devel] [Patch V1] [Patch V1][edk2-basetools]BaseTools:Convert the C tool of calculating the crc32 into a python tool

2022-09-14 Thread liwenzha
description This patch converts the C tool of calculating the crc32 value of file into a python file. To realize this,after reading the data into the file in binary form from an original file,a lookup table is listed to do XOR and shifting calculation for each bit in the file.The 32-bit result

[edk2-devel] [Patch V1] [Patch V1][edk2-basetools]BaseTools:Convert the C tool of

2022-09-14 Thread liwenzha
description This patch converts the C tool of calculating the crc32 value of file into a python file. To realize this,after reading the data into the file in binary form from an original file,a lookup table is listed to do XOR and shifting calculation for each bit in the file.The 32-bit result

[edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/XhciDxe: Fix the Bug of clean InputContext in XhcEvaluateContext64();

2022-09-14 Thread Jiading Zhang
The value of InputContext structure is initialized in XhcInitializeDeviceSlot/XhcInitializeDeviceSlot64, it shouldn't be cleared when used in XhcEvaluateContext64(). Signed-off-by: jdzhang --- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 1 - 1 file changed, 1 deletion(-) diff --git a/MdeModulePk