[edk2-devel] ArmCallSmc() and SMCCC specification

2024-05-31 Thread Marcin Juszkiewicz
EDK2/ArmPkg/Library/ArmSmcLib has code to do SMC calls. There are ArmCallSmc[0-3]() functions for up to 3 arguments/results and ArmCallSmc() function which can use 7 arguments and get 4 results back. This implementation looks like version B (Nov 2016) of SMCCC specification [1] with one more

Re: [edk2-devel] Is DEBUG output function safe for MP case?

2024-05-31 Thread Andrew Fish via groups.io
I think the generic answer is no DEBUG() is not guaranteed to be MP safe. Jeff is pointing out in the edk2 your platform build can control what libraries are used to implement DEBUG(), so you might be able to make it work in your case. Base libs are libraries that don’t depend on other things

Re: [edk2-devel] Is DEBUG output function safe for MP case?

2024-05-31 Thread Andrew Fish via groups.io
There is also one extra caveat about UEFI runtime that I forgot to mention. There is no way to share the hardware between UEFI and the OS, so UEFI really needs dedicated hardware. Thanks, Andrew Fish PS This makes me think of a Windows story from the 1990’s when Windows added Plug-and-Play fo

Re: [edk2-devel] [PATCH] ASpeed/ASpeedGopBinPkg: Update X64/AArch64 Gop UEFI Driver

2024-05-31 Thread Nhi Pham via groups.io
On 5/30/2024 8:33 AM, Tommy Huang wrote>> On 5/29/2024 8:18 PM, Leif Lindholm via groups.io wrote: +Nhi, Could you check/verify these work fine on your systems? Yes, I can. Thanks Leif for reaching out to me. Hi Tommy Huang - Could you please create a Pull Request (PR) or share a branch so I

Re: [edk2-devel] [PATCH v3 1/1] MdeModulePkg: Add the EFI_RESOURCE_ATTRIBUTE_SPECIAL_PURPOSE attribute

2024-05-31 Thread Oliver Smith-Denny
On 5/30/2024 8:44 PM, Du Lin wrote: Is there any feedback from CXL stakeholders? I am meeting with some folks today and will follow up on this thread. It is OK if more time is needed to check with CXL stakeholders. But looks like we all agree that the GCD attribute conversion table shall be