[edk2-devel] [PATCH v3 0/3] BaseTools: fix gcc workaround

2022-04-04 Thread Gerd Hoffmann
The linux kernel has a bunch of useful macros to check whenever a given compiler supports specific flags. Import them, adapt them for edk2, then put them into use to make both gcc5 and gcc12 work for BaseTools. Gerd Hoffmann (3): BaseTools: import compiler check macros from linux kernel BaseT

[edk2-devel] [PATCH v3 2/3] BaseTools: adapt comniler checks mmacros for edk2

2022-04-04 Thread Gerd Hoffmann
edk2 BaseTools use BUILD_CC not CC. Update the check macros accordingly so they actually work with BaseTools. Signed-off-by: Gerd Hoffmann --- BaseTools/Source/C/Makefiles/compiler.makefile | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/BaseTools/Source/C/M

[edk2-devel] [PATCH v3 3/3] BaseTools: fix gcc workaround

2022-04-04 Thread Gerd Hoffmann
Check whenever the compiler used knows the warning we want disable. Fixes: 22130dcd98b4 ("Basetools: turn off gcc12 warning") Reported-by: Rebecca Cran Signed-off-by: Gerd Hoffmann --- BaseTools/Source/C/DevicePath/GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[edk2-devel] [PATCH v3 1/3] BaseTools: import compiler check macros from linux kernel

2022-04-04 Thread Gerd Hoffmann
Makefile functions to check for compiler flags supported. Signed-off-by: Gerd Hoffmann --- .../Source/C/Makefiles/compiler.makefile | 76 +++ 1 file changed, 76 insertions(+) create mode 100644 BaseTools/Source/C/Makefiles/compiler.makefile diff --git a/BaseTools/Source/C/

Re: [edk2-devel] [PATCH] OvmfPkg: reserve igd memory by E820

2022-04-04 Thread Gerd Hoffmann
On Mon, Apr 04, 2022 at 08:34:48AM +0200, Corvin Köhne wrote: > Hi all, > > I'd like to discuss the following patch. At the moment, it's bhyve > specific but I'd like to merge it into stock OVMF too. I'm working > on GPU passthrough support for Intels integrated graphics devices > (Intel calls

Re: [edk2-devel] [PATCH] OvmfPkg: reserve igd memory by E820

2022-04-04 Thread Corvin Köhne
Hi Gerd, thanks for your reply. > First, there is no need to communicate memory regions from the > hypervisor to the guest. The IGD hardware has registers pointing > to the opregion and to stolen memory, so the guest can simply > allocate and initialize memory, then program the registers > accor

Re: [edk2-devel] [PATCH v3 0/3] BaseTools: fix gcc workaround

2022-04-04 Thread Pedro Falcato
Hi Gerd, These patches are a great idea but I don't know if we can take GPLv2 code like that. Are they even mergeable into the main edk2 repo (as it's not compatible with BSD-2-clause)? Thanks, Pedro On Mon, Apr 4, 2022 at 10:32 AM Gerd Hoffmann wrote: > The linux kernel has a bunch of useful

[edk2-devel] Applying for GSoC 2022: Add Rust Support to EDK II

2022-04-04 Thread Ayush Singh
Hello everyone, I am a 2nd-year University Student from India. I am interested in applying for adding Rust support to EDK2. I have already introduced myself to the mailing list earlier (https://edk2.groups.io/g/devel/message/87637) and have even submitted some patches for the edkii-rust branch in e

Re: [edk2-devel] [GSoC 2022] Introducing myself & seeking for project ideas

2022-04-04 Thread Pedro Falcato
Theo, Sorry for leaving you on read! CC'ing Nate as he knows a lot more about MinPlatform than I do! Meanwhile, you can also take a look at the MinPlatform spec: https://edk2-docs.gitbook.io/edk-ii-minimum-platform-specification/ Since you're new to UEFI, you may also want to take a brief look (

Re: [edk2-devel] [PATCH v1 00/41] Add PrmPkg

2022-04-04 Thread Leif Lindholm
Acked-by: Leif Lindholm On Fri, Apr 01, 2022 at 15:24:39 +, Michael D Kinney wrote: > Acked-by: Michael D Kinney > > > -Original Message- > > From: Michael Kubacki > > Sent: Friday, April 1, 2022 7:11 AM > > To: devel@edk2.groups.io > > Cc: Andrew Fish ; Kinney, Michael D > > ; Le

[edk2-devel] Now: Tools, CI, Code base construction meeting series - 04/04/2022 #cal-notice

2022-04-04 Thread devel@edk2.groups.io Calendar
*Tools, CI, Code base construction meeting series* *When:* 04/04/2022 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://github.com/tianocore/edk2/discussions/2614 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=1463510 ) *Description:* TianoCore community, Micros

Re: [edk2-devel] [edk2-platforms][PATCH v1 1/1] MinPlatformPkg/TestPointCheckLib: Fix mis-parsed HSTI structures

2022-04-04 Thread Michael Kubacki
Just another reminder to please merge this patch if there is no further feedback. Thanks, Michael On 4/1/2022 10:12 AM, Michael Kubacki wrote: Thanks for the review. Can you please merge this soon if there are no concerns? On 3/23/2022 2:14 AM, Chiu, Chasel wrote: Reviewed-by: Chasel Chiu

Re: [edk2-devel] [edk2-platforms][PATCH v1 1/1] MinPlatformPkg: Add missing libraries to [Components] in DSC

2022-04-04 Thread Michael Kubacki
Just another reminder to please merge this patch if there is no further feedback. Thanks, Michael On 4/1/2022 10:12 AM, Michael Kubacki wrote: Thanks for the review. Can you please merge this soon if there are no concerns? On 3/23/2022 2:15 AM, Chiu, Chasel wrote: Reviewed-by: Chasel Chiu

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - 04/05/2022 #cal-reminder

2022-04-04 Thread devel@edk2.groups.io Calendar
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:20220317T223602Z TZURL:http://tzurl.org/zoneinfo-outlook/America/Los_Angeles

Re: [edk2-devel] EDK2 CI build error "Uncrustify Coding Standard"

2022-04-04 Thread Ashish Kalra via groups.io
Hi Mike, I am following up on Brijesh's email thread amd@ashkalraubuntuserver:~/edk2-upstream$ ../.local/bin/stuart_ci_build -c .pytool/CISettings.py TOOL_CHAIN_TAG=GCC5 -p OvmfPkg SECTION - Init SDE WARNING - Using Pip Tools based BaseTools SECTION - Loading Plugins SECTION - Start

Re: [edk2-devel] EDK2 CI build error "Uncrustify Coding Standard"

2022-04-04 Thread Ashish Kalra via groups.io
Hi Mike, I am following up on Brijesh's email, i am running the CI tests related to my SEV live migration patches, which i am in process of posting. I am running the CI tests locally and getting errors while building OvmfPkg, my patches include two new header files, error log is copied below.

[edk2-devel] [edk2][PATCH V3 1/1] ArmPkg: Handle warm reboot request correctly

2022-04-04 Thread Pranav Madhu
The warm reboot requests were mapped to cold reboot as the power control module was not capable of handling the warm reboot requests. That has changed now and power control module supports warm reboot. Accordingly, update ArmSmcPsciResetSystemLib and to invoke the PSCI call with parameters for warm

[edk2-devel] [edk2-platforms][PATCH V1 1/1] Platform/Sgi: Replace EfiResetSystemLib with ResetSystemLib

2022-04-04 Thread Pranav Madhu
Replace EfiResetSystemLib library with ResetSystemLib library. UEFI ResetSystem() API is implemented in both these libraries, and the implementation is also similar. The code for EfiResetSystemLib will be removed from edk2. Update the platform build description files by replacing EfiResetSystemLib