Re: [edk2-devel] [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub

2023-05-10 Thread Ard Biesheuvel
(cc Liming) I'd like to merge this series before the stable tag - any objections? On Fri, 5 May 2023 at 07:28, Gerd Hoffmann wrote: > > An attempt to reduce code duplication a bit. PlatformBootManagerLibGrub > is an (outdated) copy of PlatformBootManagerLib with some policy > changes. Add a PC

Re: [edk2-devel][PATCH] UefiPayloadPkg: Fix boot shell issue for universal UEFI payload

2023-05-10 Thread Mike Maslenkin
Hi, Guo Dong Don't you need to free "Buffer" after Fv->ReadSection() call ? Regards, Mike. On Wed, May 10, 2023 at 6:58 AM Guo Dong wrote: > > From: Guo Dong > > After moving BDS driver to a new FV for universal UEFI payload, > the shell boot option path is not correct since it used the BDS >

[edk2-devel] [PATCH v4 1/3] OvmfPkg/Xen: export search of RSDP into a library function

2023-05-10 Thread Corvin Köhne
Xen and bhyve are placing ACPI tables into system memory. So, they can share the same code. Therefore, create a new library which searches and installs ACPI tables from system memory. Signed-off-by: Corvin Köhne Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: A

[edk2-devel] [PATCH v4 3/3] OvmfPkg/Bhyve: install ACPI tables from memory

2023-05-10 Thread Corvin Köhne
It's much easier to create configuration dependend ACPI tables for bhyve than for OVMF. For this reason, don't use the statically created ACPI tables provided by OVMF. Instead prefer the dynamically created ACPI tables of bhyve. If bhyve provides no ACPI tables or we are unable to detect those, fal

[edk2-devel] [PATCH v4 2/3] OvmfPkg/Xen: export AcpiTable installation into AcpiPlatformLib

2023-05-10 Thread Corvin Köhne
This makes the function reuseable by bhyve. Signed-off-by: Corvin Köhne Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Anthony Perard Cc: Julien Grall --- .../XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf | 1 - OvmfPkg/Include/Library/AcpiPlatformLib.h |

[edk2-devel] [PATCH 1/1] OvmfPkg/VirtioSerialDxe: fix RELEASE build error

2023-05-10 Thread Gerd Hoffmann
EventNames is used to pretty-print debug log messages. Add #ifdef to only include it in debug builds. Fixes a clang build failure. Reported-by: Rebecca Cran Signed-off-by: Gerd Hoffmann --- OvmfPkg/VirtioSerialDxe/VirtioSerial.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OvmfPkg/Virt

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/VirtioSerialDxe: fix RELEASE build error

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 09:34, Gerd Hoffmann wrote: > > EventNames is used to pretty-print debug log messages. > Add #ifdef to only include it in debug builds. > Fixes a clang build failure. > > Reported-by: Rebecca Cran > Signed-off-by: Gerd Hoffmann Queued up as #4381 - thanks. > --- > Ovmf

[edk2-devel] 回复: [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub

2023-05-10 Thread gaoliming via groups.io
Ard: Seemly, this patch set passed code review before the soft feature freeze. So, I am OK to merge it for this stable tag. Thanks Liming > -邮件原件- > 发件人: Ard Biesheuvel > 发送时间: 2023年5月10日 15:13 > 收件人: Gerd Hoffmann ; Liming Gao (Byosoft address) > > 抄送: devel@edk2.groups.io; Jordan J

Re: [edk2-devel] [PATCH v1 1/3] UefiCpuPkg/SecCore: Migrate page table to permanent memory

2023-05-10 Thread Gerd Hoffmann
On Wed, May 10, 2023 at 02:48:52AM +, Ni, Ray wrote: > Gerd, > My understanding is that when code dereferences memory address, the code > itself is responsible for > supplying the sign-extended linear address. > The page table creation logic still maps the entire linear memory space > support

Re: [edk2-devel] [PATCH v1 1/3] UefiCpuPkg/SecCore: Migrate page table to permanent memory

2023-05-10 Thread Ni, Ray
> -Original Message- > From: Wu, Jiaxin > Sent: Tuesday, May 9, 2023 6:23 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray ; Zeng, Star > ; Gerd Hoffmann ; Kumar, Rahul R > > Subject: [PATCH v1 1/3] UefiCpuPkg/SecCore: Migrate page table to permanent > memory > > Background: >

Re: [edk2-devel] [PATCH v1 3/3] MdeModulePkg/DxeIpl: Align Page table Level setting with previous level.

2023-05-10 Thread Gerd Hoffmann
On Wed, May 10, 2023 at 01:56:59AM +, Wu, Jiaxin wrote: > This happens to transfer PEI control to DXE. The paging is created for DXE > phase, Ah, ok. The code looks fine then. > so, here, it's means the cpu running in the ia32 pei. I will refine the > comments as below: > > If cpu has alr

Re: [edk2-devel] [PATCH v1 2/3] UefiCpuPkg/CpuMpPei: Enable PAE page table if CR0.PG is not set

2023-05-10 Thread Ni, Ray
> -Original Message- > From: Wu, Jiaxin > Sent: Tuesday, May 9, 2023 6:23 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray ; Zeng, Star > ; Gerd Hoffmann ; Kumar, Rahul R > > Subject: [PATCH v1 2/3] UefiCpuPkg/CpuMpPei: Enable PAE page table if CR0.PG > is not set > > Some sec

Re: [edk2-devel] [PATCH v1 3/3] MdeModulePkg/DxeIpl: Align Page table Level setting with previous level.

2023-05-10 Thread Ni, Ray
Minor comments: IA32 -> 32bit protected mode. X64 -> 64bit long mode. > -Original Message- > From: devel@edk2.groups.io On Behalf Of Wu, Jiaxin > Sent: Tuesday, May 9, 2023 6:23 PM > To: devel@edk2.groups.io > Cc: Bi, Dandan ; Gao, Liming > ; Dong, Eric ; Ni, Ray > ; Zeng, Star ; Gerd Hof

[edk2-devel] [edk2-redfish-client][PATCH 1/4] RedfishClientPkg: Update ETag driver

2023-05-10 Thread Nickle Wang via groups.io
Update ETag driver and use specific variable GUID. Also fix the typo in comment. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- RedfishClientPkg/RedfishClientPkg.dec| 2 +- RedfishClientPkg/RedfishETagDxe/RedfishETagDxe.h | 4 ++-- RedfishClientPkg/RedfishETa

[edk2-devel] [edk2-redfish-client][PATCH 2/4] RedfishClientPkg: Update Redfish feature core driver

2023-05-10 Thread Nickle Wang via groups.io
Update Redfish feature core driver to support Redfish resource with multiple parents. A resource may be presented in different resource and the link in different resource point to the same location. Also add interchange data interface in feature core driver so feature core driver can talk to featur

[edk2-devel] [edk2-redfish-client][PATCH 3/4] RedfishClientPkg: Update RedfishLib

2023-05-10 Thread Nickle Wang via groups.io
RedfishLib has no capability to return HTTP header in response. However, feature driver needs to know the information like "ETag" or "Location" in HTTP response header per Redfish specification. Add corresponding function to return HTTP header in response data. Signed-off-by: Nickle Wang Cc: Abne

Re: [edk2-devel] [edk2-redfish-client][PATCH 1/4] RedfishClientPkg: Update ETag driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 4:24 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PATCH 1/4] RedfishClientPkg: Update ETag > dri

Re: [edk2-devel] [edk2-redfish-client][PATCH 2/4] RedfishClientPkg: Update Redfish feature core driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 4:24 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PATCH 2/4] RedfishClientPkg: Update Redfish >

Re: [edk2-devel] [edk2-redfish-client][PATCH 3/4] RedfishClientPkg: Update RedfishLib

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 4:24 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PATCH 3/4] RedfishClientPkg: Update > RedfishL

Re: [edk2-devel] [PATCH v2 01/12] MdeModulePkg/SataControllerDxe: Clean up error handling in Start()

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > Clean up error handling using cascading labels + goto. > > (port of commit 379b179 + bcab714) > > Cc: Jian J Wang > Cc: Liming Gao > Cc: Hao A Wu > Cc: Ray Ni > Cc: Laszlo Ersek > Signed-off-by: Pedro Falcato > --- > .../Pci/SataControllerDxe/SataCon

Re: [edk2-devel] [PATCH v2 02/12] MdeModulePkg/SataControllerDxe: Log expected errors at DEBUG_INFO level

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > When a UEFI_DRIVER attempts to open a protocol interface with BY_DRIVER > attribute that it already has open with BY_DRIVER attribute, > OpenProtocol() returns EFI_ALREADY_STARTED. This is not an error. The > UEFI-2.7 spec currently says, > >> EFI_ALREADY_ST

Re: [edk2-devel] [PATCH v2 03/12] MdeModulePkg/SataControllerDxe: Remove useless null check

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > ASSERT (Private != NULL) already covers this check. > See commit 81310a6. > > Cc: Jian J Wang > Cc: Liming Gao > Cc: Hao A Wu > Cc: Ray Ni > Cc: Laszlo Ersek > Cc: Mike Maslenkin > Signed-off-by: Pedro Falcato > --- > .../Pci/SataControllerDxe/SataCo

[edk2-devel] [PATCH v1 1/1] UefiCpuPkg/CpuService.c:check cpu sync mode in SmmCpuRendezvous()

2023-05-10 Thread Li, Zhihao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4431 In Ap relaxed mode, some SMI handlers should call SmmWaitForApArrival() to let all ap arrive in SmmCpuRendezvous(). But in traditional mode, these SMI handlers don't need to call SmmWaitForApArrival() again. So it need to be check cpu syn

Re: [edk2-devel] [PATCH v1 1/1] UefiCpuPkg/CpuService.c:check cpu sync mode in SmmCpuRendezvous()

2023-05-10 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Li, Zhihao > Sent: Wednesday, May 10, 2023 4:38 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Ni, Ray > Subject: [PATCH v1 1/1] UefiCpuPkg/CpuService.c:check cpu sync mode in > SmmCpuRendezvous() > > REF: https://bugzilla.tianocore.or

Re: [edk2-devel] [PATCH v2 04/12] MdeModulePkg/SataControllerDxe: Fix up ASSERTS (Private != NULL)

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > ASSERT (Private != NULL) (where Private = CR(...)) is ineffective as > CR(Ptr, Type, Member, Sig) either returns Ptr - offsetof(Type, Member), > or ASSERTS on the signature, so it's unlikely to ever return NULL > (must be passed a pointer = member's offset, o

Re: [edk2-devel] [PATCH v2 05/12] OvmfPkg: Replace the OVMF-specific SataControllerDxe

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > Replace the OVMF-specific SataControllerDxe (to be later removed) with > the generic, MdeModulePkg one, for OvmfPkg{Ia32, X64, Ia32X64} platforms. > > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Tested-by: Gerd Hoffmann

Re: [edk2-devel] [PATCH v2 06/12] OvmfPkg/Microvm: Replace the OVMF-specific SataControllerDxe

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > Replace the OVMF-specific SataControllerDxe (to be later removed) with > the generic, MdeModulePkg one, for the Microvm platform. > > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Signed-off-by: Pedro Falcato > --- > Ovm

Re: [edk2-devel] [PATCH v2 07/12] OvmfPkg/Bhyve: Replace the OVMF-specific SataControllerDxe

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > Replace the OVMF-specific SataControllerDxe (to be later removed) with > the generic, MdeModulePkg one, for the Bhyve platform. > > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Cc: Rebecca Cran > Cc: Peter Grehan > Cc:

Re: [edk2-devel] [PATCH v2 12/12] OvmfPkg: Remove SataControllerDxe

2023-05-10 Thread Laszlo Ersek
On 5/9/23 18:32, Pedro Falcato wrote: > Now that OvmfPkg/SataControllerDxe and its MdeModulePkg counterpart have > been unified, and no in-tree uses of the OVMF variant remain, let's > delete it. > > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > Tested-by: Gerd

Re: [edk2-devel] [PATCH v4 3/3] OvmfPkg/Bhyve: install ACPI tables from memory

2023-05-10 Thread Peter Grehan
On 5/10/23 5:23 PM, Corvin Köhne wrote: It's much easier to create configuration dependend ACPI tables for bhyve than for OVMF. For this reason, don't use the statically created ACPI tables provided by OVMF. Instead prefer the dynamically created ACPI tables of bhyve. If bhyve provides no ACPI ta

Re: [edk2-devel] Side effects of enabling PML5 in EFI

2023-05-10 Thread Gerd Hoffmann
On Tue, May 09, 2023 at 06:24:03PM +0100, Pedro Falcato wrote: > Hi all, > > (+CC people vaguely related to the EFI spec, the PML5 implementation > and kernel EFI boot code) > > As a result of the latest 5-level paging patches, I've been looking > into how tiano supports PML5. > This raised a que

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/VirtioSerialDxe: fix RELEASE build error

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 09:39, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 09:34, Gerd Hoffmann wrote: > > > > EventNames is used to pretty-print debug log messages. > > Add #ifdef to only include it in debug builds. > > Fixes a clang build failure. > > > > Reported-by: Rebecca Cran > > Sign

[edk2-devel] [PATCH v5 0/4] MdePkg: Add MipiSysTLib library

2023-05-10 Thread Guo, Gua
From: Gua Guo V5: if no other open, it will be final change - https://github.com/tianocore/edk2/pull/3901 Fix random exception when long run catalog debug message V4 - https://github.com/tianocore/edk2/pull/3901 - Done Enhance SwapBytesGuid to use CopyGuid instead of CopyMem, to make impleme

[edk2-devel] [PATCH v5 2/4] MdePkg: Add NULL library of TraceHubDebugSysTLib

2023-05-10 Thread Guo, Gua
From: Gua Guo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 This Library is NULL library of TraceHubDebugSysTLib. Cc: Michael D Kinney Cc: Guo Gua Cc: Chan Laura Cc: Prakashan Krishnadas Veliyathuparambil Cc: K N Karthik Signed-off-by: VictorX Hsu --- MdePkg/Include/Library/T

[edk2-devel] [PATCH v5 1/4] MdePkg: Add MipiSysTLib library

2023-05-10 Thread Guo, Gua
From: Gua Guo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 This Library provides functions consuming MIPI SYS-T submodule. Cc: Michael D Kinney Cc: Guo Gua Cc: Chan Laura Cc: Prakashan Krishnadas Veliyathuparambil Cc: K N Karthik Signed-off-by: VictorX Hsu --- .gitmodules

[edk2-devel] [PATCH v5 4/4] Maintainers.txt: Update reviewers and maintainers for TraceHubDebugLib.

2023-05-10 Thread Guo, Gua
From: Gua Guo Update reviewers and maintainers for TraceHubDebugSysTlib. Signed-off-by: VictorX Hsu --- Maintainers.txt | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Maintainers.txt b/Maintainers.txt index 09d04af27a..30e2d2686d 100644 --- a/Maintainers.txt +++ b/Main

[edk2-devel] [PATCH v5 3/4] MdeModulePkg: Add TraceHubDebugSysTLib library

2023-05-10 Thread Guo, Gua
From: Gua Guo REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 This Library provides API to dump Trace Hub message. Cc: Michael D Kinney Cc: Guo Gua Cc: Chan Laura Cc: Prakashan Krishnadas Veliyathuparambil Cc: K N Karthik Signed-off-by: VictorX Hsu --- .../Include/Guid/TraceHub

Re: [edk2-devel] Side effects of enabling PML5 in EFI

2023-05-10 Thread Ni, Ray
Firmware chooses to use 5-level paging when the platform using this firmware claims to boot 5-level paging OS only. Usually, firmware uses 4-level paging to keep maximum OS compability. Thanks, Ray > -Original Message- > From: Gerd Hoffmann > Sent: Wednesday, May 10, 2023 5:18 PM > To:

Re: [edk2-devel] Side effects of enabling PML5 in EFI

2023-05-10 Thread Ard Biesheuvel
On Tue, 9 May 2023 at 19:24, Pedro Falcato wrote: > > Hi all, > > (+CC people vaguely related to the EFI spec, the PML5 implementation > and kernel EFI boot code) > > As a result of the latest 5-level paging patches, I've been looking > into how tiano supports PML5. > This raised a question: Doesn

[edk2-devel] [PATCH v6] MinPlatformPkg: Update HWSignature filed in FACS

2023-05-10 Thread VincentX Ke
From: VincentX Ke REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4428 Calculating CRC based on each ACPI table. Update HWSignature filed in FACS based on CRC while ACPI table changed. Change-Id: Ic0ca66ff10cda0fbcd0683020fab1bc9aea9b78c Signed-off-by: VincentX Ke Cc: Chasel Chiu Cc: Nate

Re: [edk2-devel] [PATCH v5] MinPlatformPkg: Update HWSignature filed in FACS

2023-05-10 Thread VincentX Ke
Hi, Ray To fix the concern you mentioned. [Patch V6] updated with https://edk2.groups.io/g/devel/message/104537 Please kindly code review and let me know your suggestion. Thanks a lot. Vincent -Original Message- From: Ni, Ray Sent: Monday, May 8, 2023 11:23 AM To: devel@edk2.groups.io;

[edk2-devel] [PATCH v1 1/1] MdeModulePkg/VariableSmm.c: add Ap rendezvous check before SmmSetVariable.

2023-05-10 Thread Li, Zhihao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4429 For Ap-Relaxed sync mode, SmmVariableSetVariable() need to let all Aps arrive to smm before it set the variable. If not, it would return EFI_ACCESS_DENIED. Cc: Jian J Wang Cc: Liming Gao Signed-off-by: Zhihao Li --- MdeModulePkg/Unive

Re: [edk2-devel] [edk2-stable202305 PATCH 2/4] BaseTools: Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 01:53, Rebecca Cran wrote: > > Set the OBJCOPY path for the CLANGDWARF toolchain to 'llvm-objcopy' to > override the default of 'echo'. > > Signed-off-by: Rebecca Cran This appears to break the AArch64 CLANGDWARF build. https://ci.linaro.org/job/leg-virt-tianocore-edk2-up

Re: [edk2-devel] [RFC PATCH v1 01/30] ArmVirtPkg: kvmtool: Add Emulated Runtime variable support

2023-05-10 Thread Ard Biesheuvel
On Tue, 25 Apr 2023 at 18:04, Sami Mujawar wrote: > > Although Kvmtool supports a CFI flash interface, it is currently > implemented using file backed support on the Host. This scenario > requires the VMM to be within the trust boundary. > > In Confidential Compute Architecture the VMM is outside

Re: [edk2-devel] [RFC PATCH v1 05/30] ArmPkg & ArmVirtPkg: Make PcdMonitorConduitHvc a dynamic PCD

2023-05-10 Thread Ard Biesheuvel
On Tue, 25 Apr 2023 at 18:04, Sami Mujawar wrote: > > The monitor call conduit is fixed for a platform firmware in > most scenarios. For a normal virtual machine guest firmware, > the default conduit is HVC. However, for Arm CCA the Realm > code must use SMC as the conduit. > > To have a common co

Re: [edk2-devel] [RFC PATCH v1 25/30] ArmVirtPkg: Add ArmCcaDxe for early DXE phase initialisation

2023-05-10 Thread Ard Biesheuvel
On Tue, 25 Apr 2023 at 18:05, Sami Mujawar wrote: > > Add ArmCcaDxe for early DXE phase initialisation like setting > up the monitor call conduit for Realm code > > The Realm code should use SMC as the conduit for monitor calls. > Therefore, set the PcdMonitorConduitHvc to FALSE if the code is > r

Re: [edk2-devel] [edk2-stable202305 PATCH 2/4] BaseTools: Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Rebecca Cran
On 5/10/23 05:03, Ard Biesheuvel wrote: On Wed, 10 May 2023 at 01:53, Rebecca Cran wrote: Set the OBJCOPY path for the CLANGDWARF toolchain to 'llvm-objcopy' to override the default of 'echo'. Signed-off-by: Rebecca Cran This appears to break the AArch64 CLANGDWARF build. https://ci.linaro.

Re: [edk2-devel] [edk2-stable202305 PATCH 2/4] BaseTools: Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 14:09, Rebecca Cran wrote: > > On 5/10/23 05:03, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 01:53, Rebecca Cran wrote: > >> Set the OBJCOPY path for the CLANGDWARF toolchain to 'llvm-objcopy' to > >> override the default of 'echo'. > >> > >> Signed-off-by: Rebecca Cra

[edk2-devel] [edk2-stable202305 PATCH 1/1] BaseTools: Revert Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Rebecca Cran
This reverts commit 11f62f4cc09f16d265da1a737dabfd8ed65f8c00. While GCC uses objcopy for the OBJCOPY command, it's not needed for the CLANGDWARF toolchain and can be left as echo. Signed-off-by: Rebecca Cran --- BaseTools/Conf/tools_def.template | 4 1 file changed, 4 deletions(-) diff --

Re: [edk2-devel] [edk2-stable202305 PATCH 2/4] BaseTools: Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Rebecca Cran
On 5/10/23 06:10, Ard Biesheuvel wrote: On Wed, 10 May 2023 at 14:09, Rebecca Cran wrote: On 5/10/23 05:03, Ard Biesheuvel wrote: On Wed, 10 May 2023 at 01:53, Rebecca Cran wrote: Set the OBJCOPY path for the CLANGDWARF toolchain to 'llvm-objcopy' to override the default of 'echo'. Signed-o

Re: [edk2-devel] 回复: [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 09:41, gaoliming via groups.io wrote: > > Ard: > Seemly, this patch set passed code review before the soft feature freeze. > So, I am OK to merge it for this stable tag. > Thanks Gerd, Could you run this through the CI please? I am getting errors. https://github.com/t

Re: [edk2-devel] [edk2-stable202305 PATCH 1/1] BaseTools: Revert Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Rebecca Cran
PR: https://github.com/tianocore/edk2/pull/4384 On 5/10/23 06:31, Rebecca Cran wrote: This reverts commit 11f62f4cc09f16d265da1a737dabfd8ed65f8c00. While GCC uses objcopy for the OBJCOPY command, it's not needed for the CLANGDWARF toolchain and can be left as echo. Signed-off-by: Rebecca Cran

Re: [edk2-devel] [edk2-stable202305 PATCH 1/1] BaseTools: Revert Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 14:31, Rebecca Cran wrote: > > This reverts commit 11f62f4cc09f16d265da1a737dabfd8ed65f8c00. > > While GCC uses objcopy for the OBJCOPY command, it's not needed for the > CLANGDWARF toolchain and can be left as echo. > Are you sure you want to change this for IA32 and X86 a

Re: [edk2-devel] 回复: [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 14:33, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 09:41, gaoliming via groups.io > wrote: > > > > Ard: > > Seemly, this patch set passed code review before the soft feature freeze. > > So, I am OK to merge it for this stable tag. > > > > Thanks > > Gerd, > > Could

Re: [edk2-devel] [edk2-stable202305 PATCH 1/1] BaseTools: Revert Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Rebecca Cran
On 5/10/23 06:37, Ard Biesheuvel wrote: On Wed, 10 May 2023 at 14:31, Rebecca Cran wrote: This reverts commit 11f62f4cc09f16d265da1a737dabfd8ed65f8c00. While GCC uses objcopy for the OBJCOPY command, it's not needed for the CLANGDWARF toolchain and can be left as echo. Are you sure you want

[edk2-devel] [edk2-redfish-client][PATCH 1/5] RedfishClientPkg: Rename RedfishMemoryCollection driver

2023-05-10 Thread Nickle Wang via groups.io
Rename RedfishMemoryCollectionDxe by removing Redfish prefix. Update memory collection driver to support "Identify" action and also have code refactoring to support Redfish operation. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../RedfishClientComponents.dsc.inc

[edk2-devel] [edk2-redfish-client][PATCH 2/5] RedfishClientPkg: Rename Memory feature driver

2023-05-10 Thread Nickle Wang via groups.io
Rename Memory driver by removing Redfish prefix. Update memory feature driver and support all properties under Memory schema. Also support "Identify" action in this driver. Corresponding changes are made to honor newly introduced library and protocol. Signed-off-by: Nickle Wang Cc: Abner Chang C

[edk2-devel] [edk2-redfish-client][PATCH 3/5] RedfishClientPkg: Introduce Computer System collection driver

2023-05-10 Thread Nickle Wang via groups.io
Introduce new feature driver to support Computer System Collection schema. Update corresponding FDF and DSC file to enable this feature driver. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../RedfishClientComponents.dsc.inc | 2 + RedfishClientPkg/RedfishCli

[edk2-devel] [edk2-redfish-client][PATCH 4/5] RedfishClientPkg: Introduce Computer System feature driver

2023-05-10 Thread Nickle Wang via groups.io
Introduce new feature driver to support Computer System version 1.5.0 schema. Update corresponding FDF and DSC file to enable this feature driver. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../RedfishClientComponents.dsc.inc |7 +- RedfishClientPkg/Redfi

[edk2-devel] [edk2-redfish-client][PATCH 5/5] RedfishClientPkg: Introduce Bios feature driver

2023-05-10 Thread Nickle Wang via groups.io
Introduce new feature driver to support Bios version 1.0.9 schema. Update corresponding FDF and DSC file to enable this feature driver. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- .../RedfishClientComponents.dsc.inc | 2 + RedfishClientPkg/RedfishClientLibs.

Re: [edk2-devel] [edk2-stable202305 PATCH 1/1] BaseTools: Revert Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 14:46, Rebecca Cran wrote: > > On 5/10/23 06:37, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 14:31, Rebecca Cran wrote: > >> This reverts commit 11f62f4cc09f16d265da1a737dabfd8ed65f8c00. > >> > >> While GCC uses objcopy for the OBJCOPY command, it's not needed for the

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/VirtioSerialDxe: fix RELEASE build error

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 11:18, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 09:39, Ard Biesheuvel wrote: > > > > On Wed, 10 May 2023 at 09:34, Gerd Hoffmann wrote: > > > > > > EventNames is used to pretty-print debug log messages. > > > Add #ifdef to only include it in debug builds. > > > Fix

Re: [edk2-devel] [edk2-redfish-client][PATCH 1/5] RedfishClientPkg: Rename RedfishMemoryCollection driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Please review your commit message in which the characters per line should be < 76. Reviewed-by: > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 9:04 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subj

Re: [edk2-devel] [edk2-redfish-client][PATCH 2/5] RedfishClientPkg: Rename Memory feature driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 9:04 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PATCH 2/5] RedfishClientPkg: Rename > Memory feature drive

Re: [edk2-devel] [edk2-redfish-client][PATCH 3/5] RedfishClientPkg: Introduce Computer System collection driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Please check commit message, the line seems too long. Reviewed-by: > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 9:05 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PAT

Re: [edk2-devel] [edk2-redfish-client][PATCH 4/5] RedfishClientPkg: Introduce Computer System feature driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 9:05 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PATCH 4/5] RedfishClientPkg: Introduce > Computer System f

Re: [edk2-devel] [edk2-redfish-client][PATCH 5/5] RedfishClientPkg: Introduce Bios feature driver

2023-05-10 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: > -Original Message- > From: Nickle Wang > Sent: Wednesday, May 10, 2023 9:05 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > > Subject: [edk2-redfish-client][PATCH 5/5] RedfishClientPkg: Introduce Bios > feature driv

Re: [edk2-devel] [edk2-stable202305 PATCH 1/1] BaseTools: Revert Set the CLANGDWARF OBJCOPY path in tools_def.template

2023-05-10 Thread Rebecca Cran
Mike/Liming: GitHub PR with R-B added: https://github.com/tianocore/edk2/pull/4384 -- Rebecca Cran On 5/10/23 07:51, Ard Biesheuvel wrote: On Wed, 10 May 2023 at 14:46, Rebecca Cran wrote: On 5/10/23 06:37, Ard Biesheuvel wrote: On Wed, 10 May 2023 at 14:31, Rebecca Cran wrote: This re

[edk2-devel] [PATCH] BaseTools/tools_def: Disable overzealous unused variable warning on Clang

2023-05-10 Thread Ard Biesheuvel
The warnings Clang emits when enabling -Wunneeded-internal-declaration (which is part of -Wall) are generating false positives for variables whose size gets taken but are not referenced beyond that. This may happen legitimately in debug code, so let's disable this warning for Clang, rather than ti

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable overzealous unused variable warning on Clang

2023-05-10 Thread Rebecca Cran
Reviewed-by: Rebecca Cran This should go in for the edk2-stable202305 release. -- Rebecca Cran On 5/10/23 08:50, Ard Biesheuvel wrote: The warnings Clang emits when enabling -Wunneeded-internal-declaration (which is part of -Wall) are generating false positives for variables whose size get

[edk2-devel] [edk2-platforms][PATCH v4 1/1] MinPlatformPkg: Add FspNvsBuffer compression option

2023-05-10 Thread Michael Kubacki
From: Michael Kubacki Adds a PCD called "PcdEnableCompressedFspNvsBuffer" that allows the "FspNvsBuffer" UEFI variable data to be saved as compressed data. Especially due to the nature of the data saved in this variable, it compresses well. For example, it has been found to reduce ~63KB of data

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/VirtioSerialDxe: fix RELEASE build error

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 15:54, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 11:18, Ard Biesheuvel wrote: > > > > On Wed, 10 May 2023 at 09:39, Ard Biesheuvel wrote: > > > > > > On Wed, 10 May 2023 at 09:34, Gerd Hoffmann wrote: > > > > > > > > EventNames is used to pretty-print debug log mes

Re: [edk2-devel] 回复: [PATCH v2 0/4] OvmfPkg: remove PlatformBootManagerLibGrub

2023-05-10 Thread Ard Biesheuvel
On Wed, 10 May 2023 at 14:43, Ard Biesheuvel wrote: > > On Wed, 10 May 2023 at 14:33, Ard Biesheuvel wrote: > > > > On Wed, 10 May 2023 at 09:41, gaoliming via groups.io > > wrote: > > > > > > Ard: > > > Seemly, this patch set passed code review before the soft feature > > > freeze. So, I am

[edk2-devel] [PATCH 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Marcin Juszkiewicz
Qemu has versioning for sbsa-ref platform. TF-A reads it from provided DeviceTree and provides as SMC. This change adds reading platform version into EDK2. Signed-off-by: Marcin Juszkiewicz --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc| 3 +++ .../SbsaQemuPlatformDxe/SbsaQemuPlatform

Re: [edk2-devel] [edk2-platforms][PATCH v4 1/1] MinPlatformPkg: Add FspNvsBuffer compression option

2023-05-10 Thread Isaac Oram
Reviewed-by: Isaac Oram -Original Message- From: mikub...@linux.microsoft.com Sent: Wednesday, May 10, 2023 8:02 AM To: devel@edk2.groups.io Cc: Chiu, Chasel ; Desimone, Nathaniel L ; Oram, Isaac W ; Gao, Liming ; Dong, Eric ; Gudla, Raghava Subject: [edk2-platforms][PATCH v4 1/1] M

Re: [edk2-devel] [PATCH 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Ard Biesheuvel
HI Marcin, On Wed, 10 May 2023 at 17:08, Marcin Juszkiewicz wrote: > > Qemu has versioning for sbsa-ref platform. TF-A reads it from provided > DeviceTree and provides as SMC. > > This change adds reading platform version into EDK2. > > Signed-off-by: Marcin Juszkiewicz > --- > Platform/Qemu/Sb

Re: [edk2-devel] [PATCH 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Rebecca Cran
On 5/10/23 09:08, Marcin Juszkiewicz wrote: + Result = ArmCallSmc0(SIP_FUNCTION_ID(1), &Major, &Minor, NULL); There should be space before the opening parenthesis. Also, it would be nice to avoid a magic number - i.e. define what SIP_FUNCTION_ID(1) is. -- Rebecca Cran -=-=-=-=-=-=-=-=

[edk2-devel] [PATCH edk2-platforms 1/1] Silicon/Marvell: Fix setting I2cStatus in MvI2cEnableConf

2023-05-10 Thread Rebecca Cran
Fix setting I2cStatus in MvI2cEnableConf. Signed-off-by: Rebecca Cran --- Silicon/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Silicon/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c b/Silicon/Marvell/Drivers/I2c/MvI2cDxe/MvI2cDxe.c index b

[edk2-devel] [PATCH v2 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Marcin Juszkiewicz
Qemu has versioning for sbsa-ref platform. TF-A reads it from provided DeviceTree and provides as SMC. This change adds reading platform version into EDK2. Signed-off-by: Marcin Juszkiewicz --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 +++ .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c

Re: [edk2-devel] [PATCH v2 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Marcin Juszkiewicz
W dniu 10.05.2023 o 17:40, Marcin Juszkiewicz via groups.io pisze: Qemu has versioning for sbsa-ref platform. TF-A reads it from provided DeviceTree and provides as SMC. This change adds reading platform version into EDK2. TF-A side of change: https://review.trustedfirmware.org/c/TF-A/trusted

Re: [edk2-devel] [edk2-platforms][PATCH v4 1/1] MinPlatformPkg: Add FspNvsBuffer compression option

2023-05-10 Thread Chiu, Chasel
Reviewed-by: Chasel Chiu Thanks, Chasel > -Original Message- > From: devel@edk2.groups.io On Behalf Of Michael > Kubacki > Sent: Wednesday, May 10, 2023 8:02 AM > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Desimone, Nathaniel L > ; Oram, Isaac W ; > Gao, Liming ; Dong, Eric ; > Gu

Re: [edk2-devel] [PATCH v2 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Rebecca Cran
On 5/10/23 09:40, Marcin Juszkiewicz wrote: @@ -26,6 +36,9 @@ InitializeSbsaQemuPlatformDxe ( EFI_STATUS Status; UINTN Size; VOID* Base; + UINTN Major; + UINTN Mi

Re: [edk2-devel] [edk2-platforms][PATCH v4 1/1] MinPlatformPkg: Add FspNvsBuffer compression option

2023-05-10 Thread Chiu, Chasel
Patch merged: https://github.com/tianocore/edk2-platforms/commit/dbd802cd273ad1b51be46ca09a58a15e4b70863f Thanks, Chasel > -Original Message- > From: devel@edk2.groups.io On Behalf Of Michael > Kubacki > Sent: Wednesday, May 10, 2023 8:02 AM > To: devel@edk2.groups.io > Cc: Chiu, Chas

Re: [edk2-devel] [PATCH v5 0/4] MdePkg: Add MipiSysTLib library

2023-05-10 Thread Michael D Kinney
Series Reviewed-by: Michael D Kinney Liming, this code review started well before the soft freeze. It has now passed review. We should include this in this stable-tag release. Mike > -Original Message- > From: Guo, Gua > Sent: Wednesday, May 10, 2023 2:20 AM > To: devel@edk2.groups

[edk2-devel] [PATCH v3 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Marcin Juszkiewicz
Qemu has versioning for sbsa-ref platform. TF-A reads it from provided DeviceTree and provides as SMC. This change adds reading platform version into EDK2. Signed-off-by: Marcin Juszkiewicz --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 ++ .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c

Re: [edk2-devel] [PATCH v5 0/4] MdePkg: Add MipiSysTLib library

2023-05-10 Thread Chiu, Chasel
Thanks a lot Mike for your detail reviewing and providing better implementation suggestions! > -Original Message- > From: devel@edk2.groups.io On Behalf Of Michael D > Kinney > Sent: Wednesday, May 10, 2023 9:00 AM > To: Guo, Gua ; devel@edk2.groups.io; Gao, Liming > > Cc: Kinney, Mi

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

2023-05-10 Thread Taylor Beebe
Can we schedule the meeting for Wednesday 5/17? I will be out the following week and would like to attend. Thanks :) On 5/9/2023 7:59 AM, Oliver Smith-Denny wrote: On 5/8/2023 11:59 PM, Ard Biesheuvel wrote: On Tue, 9 May 2023 at 04:04, Kinney, Michael D wrote: I would prefer next week as

Re: [edk2-devel] [PATCH v3 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Rebecca Cran
On 5/10/23 10:06, Marcin Juszkiewicz wrote: + Result = ArmCallSmc0 (SIP_SVC_VERSION, &Major, &Minor, NULL); + if (Result == SMC_ARCH_CALL_SUCCESS) + { +Result = PcdSet32S (PcdPlatformVersionMajor, Major); +ASSERT_EFI_ERROR (Result); +Result = PcdSet32S (PcdPlatformVersi

[edk2-devel] JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'"

2023-05-10 Thread Rebecca Cran
I ran my script that tries to build all Arm platforms in edk2-platforms (with the exception of known broken ones) with the GCC5/GCC toolchain, and noticed a new breakage since I last ran it a few months ago. Building JunoPkg for ARM doesn't work. I also noticed it passes both -march=armv7-a an

Re: [edk2-devel] JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'"

2023-05-10 Thread Ard Biesheuvel
Hi Rebecca, On Wed, 10 May 2023 at 18:23, Rebecca Cran wrote: > > I ran my script that tries to build all Arm platforms in edk2-platforms > (with the exception of known broken ones) with the GCC5/GCC toolchain, > and noticed a new breakage since I last ran it a few months ago. > > Building JunoPk

Re: [edk2-devel] Side effects of enabling PML5 in EFI

2023-05-10 Thread Pedro Falcato
On Wed, May 10, 2023 at 10:18 AM Gerd Hoffmann wrote: > > On Tue, May 09, 2023 at 06:24:03PM +0100, Pedro Falcato wrote: > > Hi all, > > > > (+CC people vaguely related to the EFI spec, the PML5 implementation > > and kernel EFI boot code) > > > > As a result of the latest 5-level paging patches,

Re: [edk2-devel] Side effects of enabling PML5 in EFI

2023-05-10 Thread Pedro Falcato
On Wed, May 10, 2023 at 10:34 AM Ni, Ray wrote: > > Firmware chooses to use 5-level paging when the platform using this firmware > claims to boot 5-level paging OS only. > > Usually, firmware uses 4-level paging to keep maximum OS compability. Hi Ray, So, what happens if I don't enable LA57, ha

Re: [edk2-devel] [PATCH v1] MinPlatformPkg: Fix SetLargeVariable fail issue

2023-05-10 Thread Zhang, Xiaoqiang
Thanks Nate for the comprehensive proposal! Since I found SetLargeVariable only used in SaveMemoryConfig DXE driver now, so how about we fix this issue first to unblock the verification on server platform. And after that, we can handle the case you mentioned. -Original Message- From: De

[edk2-devel] [PATCH] MdeModulePkg/Core/Pei: set AprioriCount=0 before walking through next FV

2023-05-10 Thread Wendy Liao via groups.io
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4438 The main dispatch loop in PeiDispatcher() goes through each FV and calls DiscoverPeimsAndOrderWithApriori() to search Apriori file to reorder all PEIMs then do the PEIM dispatched. DiscoverPeimsAndOrderWithApriori() calculates Apriori fil

Re: [edk2-devel] Side effects of enabling PML5 in EFI

2023-05-10 Thread Pedro Falcato
On Wed, May 10, 2023 at 10:41 AM Ard Biesheuvel wrote: > > On Tue, 9 May 2023 at 19:24, Pedro Falcato wrote: > > > > Hi all, > > > > (+CC people vaguely related to the EFI spec, the PML5 implementation > > and kernel EFI boot code) > > > > As a result of the latest 5-level paging patches, I've be

Re: [edk2-devel] JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'"

2023-05-10 Thread Rebecca Cran
Thanks. Yes, that fixes it. I also tried running the build script with CLANGDWARF, and it seems to have found some valid problems with Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c /home/bcran/src/uefi/edk2-platforms/Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c:216:11: error: variable

Re: [edk2-devel] JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'"

2023-05-10 Thread Ard Biesheuvel
(cc Leif) On Wed, 10 May 2023 at 18:52, Rebecca Cran wrote: > > Thanks. Yes, that fixes it. > > > I also tried running the build script with CLANGDWARF, and it seems to > have found some valid problems with > Platform/ARM/Library/ArmShellCmdRunAxf/RunAxf.c > Seems to me like an excellent opportu

Re: [edk2-devel] JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'"

2023-05-10 Thread Leif Lindholm
On Wed, May 10, 2023 at 18:54:04 +0200, Ard Biesheuvel wrote: > (cc Leif) > > On Wed, 10 May 2023 at 18:52, Rebecca Cran wrote: > > > > Thanks. Yes, that fixes it. > > > > > > I also tried running the build script with CLANGDWARF, and it seems to > > have found some valid problems with > > Platfo

[edk2-devel] [PATCH v4 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Marcin Juszkiewicz
Qemu has versioning for sbsa-ref platform. TF-A reads it from provided DeviceTree and provides as SMC. This change adds reading platform version into EDK2. Signed-off-by: Marcin Juszkiewicz --- Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 3 +++ .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c

Re: [edk2-devel] [PATCH v3 1/1] Platform/SbsaQemu: read platform version

2023-05-10 Thread Marcin Juszkiewicz
W dniu 10.05.2023 o 18:14, Rebecca Cran pisze: Sorry, but there are new problems. No problem. Thanks for reviewing. There should be a space before the parenthesis in the 'DEBUG' line. No problem. I hope that one day someone will run source formatter on whole edk2-platforms so it would be

  1   2   >