[edk2-devel] UEFI BUG

2021-02-07 Thread 宋涛
Hi,I face a problem, and it suggested that I can ask help from you. The following is the call stack trace. The privacy is replaced with "***" build.py... : error C0DE: Unknown fatal error when processing [/home/disk/***/EblCmdLib/EblCmdLib.inf [AARCH64, CLANG100LINUX, RELEASE]] (Please send

[edk2-devel] Does EDK2 ArmVirtPkg has support for a virtio-mmio-blk device

2021-02-07 Thread Ying Fang
Hi, Does anybody know whether the EDK2 ArmVirtPkg has support for a virtio-mmio-device ? I am using EDK2 ArmVirtPkg v2.70 as the default UEFI for my devel program. Since we have not implemented the PCI/PCIe suff, a virtio-mmio-blk device is used as the image disk. We can boot the EDK2 ArmVirtP

[edk2-devel] Does EDK2 ArmVirtPkg support virtio-mmio-blk device ?

2021-02-07 Thread Ying Fang
Hi, Does anybody know that whether EDK2 ArmVirtPkg has support for a virtio-mmio-blk device ? I am using EDK2 ArmVirtPkg as the default UEFI for my devel program. Since I did not have the PCI/PCIe stuff implemented but just using the virtio mmio transport. I can boot with EDK2 ArmVirtPkg into a

[edk2-devel] Cancelled Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, 16 February 2021 #cal-cancelled

2021-02-07 Thread devel@edk2.groups.io Calendar
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:CANCELLED CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20201011T015911Z TZURL:http://tzurl.org/zoneinfo-outlook/America/Los_Angeles X-LIC-LOCATION:America/Los_Angeles BEGIN:DAYLIGHT TZNAM

Re: [edk2-devel] [PATCH] RedfishPkg/JsonLib: Fix build errors

2021-02-07 Thread Abner Chang
> -Original Message- > From: Chang, Abner (HPS SW/FW Technologist) > Sent: Thursday, January 28, 2021 10:31 PM > To: Leif Lindholm > Cc: devel@edk2.groups.io; Wang, Nickle (HPS SW) ; > Michael D Kinney > Subject: RE: [edk2-devel] [PATCH] RedfishPkg/JsonLib: Fix build errors > > > >

[edk2-devel] [PATCH v4] IntelFsp2Pkg: Add YAML file generation support

2021-02-07 Thread Tung Lun
Add support for YAML format file generation in addition to current BSF structure. Configuration of YAML format output will be supported by an open source ConfigEditor. Reference to YAML code, test and ConfigEditor is at https://github.com/joshloo/fsp_yaml_cfg/tree/master/Tools A unit test is also

Re: [edk2-devel] [PATCH v6 7/9] OvmfPkg/CpuHotplugSmm: add CpuEject()

2021-02-07 Thread Ankur Arora
On 2021-02-05 8:06 a.m., Laszlo Ersek wrote: Hi Ankur, I figure it's prudent for me to follow up here too: On 02/04/21 03:49, Ankur Arora wrote: On 2021-02-03 12:58 p.m., Laszlo Ersek wrote: On 02/03/21 07:45, Ankur Arora wrote: On 2021-02-02 6:15 a.m., Laszlo Ersek wrote: On 02/02/21 15:00

[edk2-devel] [PATCH v3] IntelFsp2Pkg: Add YAML file generation support

2021-02-07 Thread Tung Lun
Add support for YAML format file generation in addition to current BSF structure. Configuration of YAML format output will be supported by an open source ConfigEditor. Reference to YAML code, test and ConfigEditor is at https://github.com/joshloo/fsp_yaml_cfg/tree/master/Tools A unit test is also

[edk2-devel] Cancelled Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, 9 February 2021 #cal-cancelled

2021-02-07 Thread devel@edk2.groups.io Calendar
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:CANCELLED CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20201011T015911Z TZURL:http://tzurl.org/zoneinfo-outlook/America/Los_Angeles X-LIC-LOCATION:America/Los_Angeles BEGIN:DAYLIGHT TZNAM

Re: [edk2-devel] [PATCH v8 00/21] ArmPkg,MdePkg: Add Universal/Smbios, and related changes

2021-02-07 Thread Rebecca Cran
Personal github PR: https://github.com/tianocore/edk2/pull/1411 On 2/7/21 5:52 PM, Rebecca Cran wrote: Much of the data for the SMBIOS tables is generic, and need not be duplicated for each platform. This patch series introduces ArmPkg/Universal/Smbios, which is largely copied from edk2-platform

[edk2-devel] [PATCH v8 21/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe

2021-02-07 Thread Rebecca Cran
SmbiosMiscDxe provides SMBIOS tables 0, 1, 2, 3, 13, and 32. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Samer El-Haj-Mahmoud --- ArmPkg/ArmPkg.dsc | 1 + ArmPkg/Universal/Smbios/SmbiosMiscDxe/SmbiosMiscDxe.inf| 89

[edk2-devel] [PATCH v8 20/21] ArmPkg: Add SMBIOS PCDs to ArmPkg.dec

2021-02-07 Thread Rebecca Cran
Platforms are expected to override these PCDs to provide relevant information to SMBIOS. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm --- ArmPkg/ArmPkg.dec | 17 + 1 file changed, 17 insertions(+) diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index eaf1072d9ef3..

[edk2-devel] [PATCH v8 19/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe/Type32

2021-02-07 Thread Rebecca Cran
This code provides information for the SMBIOS Type 32 table. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Samer El-Haj-Mahmoud --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/MiscBootInformationData.c | 32 + ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type32/Mis

[edk2-devel] [PATCH v8 18/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe/Type13

2021-02-07 Thread Rebecca Cran
This code provides information for the SMBIOS Type 13 table. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLanguagesData.c | 33 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type13/MiscNumberOfInstallableLang

[edk2-devel] [PATCH v8 17/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe/Type03

2021-02-07 Thread Rebecca Cran
This code provides information for the SMBIOS Type 3 table. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Samer El-Haj-Mahmoud --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/MiscChassisManufacturerData.c | 52 + ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type03/Mis

[edk2-devel] [PATCH v8 16/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe/Type02

2021-02-07 Thread Rebecca Cran
This code provides information for the SMBIOS Type 2 table. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Samer El-Haj-Mahmoud --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerData.c | 46 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/M

[edk2-devel] [PATCH v8 15/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe/Type01

2021-02-07 Thread Rebecca Cran
This code provides information for the SMBIOS Type 1 table. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Samer El-Haj-Mahmoud --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerData.c | 36 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscS

[edk2-devel] [PATCH v8 14/21] ArmPkg: Add Universal/Smbios/SmbiosMiscDxe/Type00

2021-02-07 Thread Rebecca Cran
This code provides information for the SMBIOS Type 0 table. Signed-off-by: Rebecca Cran Reviewed-by: Samer El-Haj-Mahmoud Reviewed-by: Leif Lindholm --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendorData.c | 93 ++ ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVen

[edk2-devel] [PATCH v8 13/21] ArmPkg: Add Universal/Smbios/ProcessorSubClassDxe

2021-02-07 Thread Rebecca Cran
ProcessorSubClassDxe provides SMBIOS CPU information using generic methods combined with calls into OemMiscLib. Signed-off-by: Rebecca Cran Reviewed-by: Samer El-Haj-Mahmoud --- ArmPkg/ArmPkg.dsc | 2 + ArmPkg/Universal/Smbios/Processor

[edk2-devel] [PATCH v8 12/21] ArmPkg: Add Universal/Smbios/OemMiscLibNull

2021-02-07 Thread Rebecca Cran
Add a Null implementation of OemMiscLib. OemMiscLib provides functions that platforms implement to fill in SMBIOS information for the SmbiosMiscDxe and ProcessSubClassDxe drivers. Signed-off-by: Rebecca Cran Acked-by: Leif Lindholm --- ArmPkg/ArmPkg.dsc

[edk2-devel] [PATCH v8 11/21] ArmPkg: Add Library/OemMiscLib.h

2021-02-07 Thread Rebecca Cran
OemMiscLib.h provides the interface which platforms should implement to interact with the SmbiosMiscDxe and ProcessorSubClassDxe drivers to update SMBIOS tables. Signed-off-by: Rebecca Cran Acked-by: Leif Lindholm --- ArmPkg/Include/Library/OemMiscLib.h | 167 1 file change

[edk2-devel] [PATCH v8 10/21] ArmPkg: Add helper to read the CCSIDR2 register

2021-02-07 Thread Rebecca Cran
Add helper function to read the CCSIDR2 register. This is used when CCIDX is supported in AARCH32 mode. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm --- ArmPkg/Library/ArmLib/ArmLibPrivate.h | 11 +++ ArmPkg/Library/ArmLib/Arm/ArmLibSupportV7.S | 10 ++ ArmPk

[edk2-devel] [PATCH v8 09/21] ArmPkg: Add helper to read CCIDX status

2021-02-07 Thread Rebecca Cran
Add a helper function to determine CCIDX support. Signed-off-by: Rebecca Cran Reviewed-by: Sami Mujawar Reviewed-by: Leif Lindholm --- ArmPkg/Include/Library/ArmLib.h| 11 +++ ArmPkg/Library/ArmLib/AArch64/AArch64Lib.c | 19 ++- ArmPkg/Library/ArmLib/Arm/Arm

[edk2-devel] [PATCH v8 08/21] ArmPkg: Add definition of the maximum cache level in ARMv8-A

2021-02-07 Thread Rebecca Cran
The ARM Architecture Reference Manual for ARMv8-A defines up to seven levels of cache, L1 through L7. Define MAX_ARM_CACHE_LEVEL to be 7. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Sami Mujawar --- ArmPkg/Include/Library/ArmLib.h | 4 1 file changed, 4 insertions(

[edk2-devel] [PATCH v8 06/21] ArmPkg: Fix the return type of the ReadCCSIDR function

2021-02-07 Thread Rebecca Cran
When CCIDX is supported, the Current Cache Size ID Register contains data above 32 bits: namely the number of sets. Avoid truncating this by returning a UINTN instead of UINT32. On AARCH32, the expanded number of sets data can be read via the CCSIDR2 register. Also, add Doxygen comments for the fu

[edk2-devel] [PATCH v8 07/21] ArmPkg: Update ArmLibPrivate.h with cache register definitions

2021-02-07 Thread Rebecca Cran
Update the cache definitions in ArmLibPrivate.h based on current ARMv8 documentation. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Sami Mujawar --- ArmPkg/Library/ArmLib/ArmLibPrivate.h | 97 1 file changed, 97 insertions(+) diff --git a/ArmPkg/Libr

[edk2-devel] [PATCH v8 05/21] ArmPkg: Add helper function to read the Memory Model Feature Register 4

2021-02-07 Thread Rebecca Cran
In AARCH32, CCIDX support is indicated in the MMFR4 register - unlike under AARCH64 where it's in MMFR2. Add a helper function to read it. Signed-off-by: Rebecca Cran Reviewed-by: Sami Mujawar Reviewed-by: Leif Lindholm --- ArmPkg/Library/ArmLib/Arm/ArmV7Lib.h | 8 ++-- ArmPkg/Lib

[edk2-devel] [PATCH v8 04/21] ArmPkg: Add helper to read the Memory Model Features Register 2

2021-02-07 Thread Rebecca Cran
Add helper function to read the MMFR2 register. We will need this to determine CCIDX support. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Sami Mujawar --- ArmPkg/Library/ArmLib/AArch64/AArch64Lib.h | 11 +++ ArmPkg/Library/ArmLib/AArch64/AArch64Support.S |

[edk2-devel] [PATCH v8 03/21] ArmPkg: Add register encoding definition for MMFR2

2021-02-07 Thread Rebecca Cran
Add register encoding definition for Memory Model Feature Register 2. We need to define it here because we build for ARMv8.0, which doesn't have it. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Sami Mujawar --- ArmPkg/Include/Chipset/AArch64.h | 4 1 file changed, 4

[edk2-devel] [PATCH v8 02/21] MdePkg: Update IndustryStandard/SmBios.h with processor status data

2021-02-07 Thread Rebecca Cran
Add a bitfield that describes the structure of the byte in the Status field of the SMBIOS Type 4 Processor Information table. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Acked-by: Sami Mujawar --- MdePkg/Include/IndustryStandard/SmBios.h | 13 + 1 file changed, 13 insert

[edk2-devel] [PATCH v8 01/21] ArmPkg: Add ARM SMC Architecture functions to ArmStdSmc.h

2021-02-07 Thread Rebecca Cran
The ARM SMC Architecture functions were missing from ArmStdSmc.h. Add them, based on the SMC Calling Convention version 1.2 specification. Signed-off-by: Rebecca Cran Reviewed-by: Leif Lindholm Reviewed-by: Sami Mujawar --- ArmPkg/Include/IndustryStandard/ArmStdSmc.h | 16 1 f

[edk2-devel] [PATCH v8 00/21] ArmPkg,MdePkg: Add Universal/Smbios, and related changes

2021-02-07 Thread Rebecca Cran
Much of the data for the SMBIOS tables is generic, and need not be duplicated for each platform. This patch series introduces ArmPkg/Universal/Smbios, which is largely copied from edk2-platforms/Silicon/HiSilicon/Drivers/Smbios and generates SMBIOS tables 0,1,2,3,4,7,13,32 and uses a combination of