Re: [edk2-devel] GSoC 2021

2021-03-12 Thread Nate DeSimone
Hi Kaaira, Great to meet you and welcome to the TianoCore project! Glad you hear you are interested! The MinPlatform QemuOpenBoardPkg project would be an excellent GSoC project! I was hoping that someone would pick that one! I would be happy to answer any questions you have about it. With Best

[edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP

2021-03-12 Thread Ni, Ray
MpInitLib contains a function MicrocodeDetect() which is called by all threads as an AP procedure. Today this function contains below code: if (CurrentRevision != LatestRevision) { AcquireSpinLock(&CpuMpData->MpLock); DEBUG (( EFI_D_ERROR, "Updated microcode signatu

Re: [edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP

2021-03-12 Thread Dong, Eric
Reviewed-by: Eric Dong -Original Message- From: Ni, Ray Sent: Friday, March 12, 2021 7:48 PM To: devel@edk2.groups.io Cc: Dong, Eric ; Laszlo Ersek ; Kumar, Rahul1 Subject: [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP MpInitLib contains a function MicrocodeDetect

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix dwc2 reset on raspberry pi boards

2021-03-12 Thread Samer El-Haj-Mahmoud
Reviewed-By: Samer El-Haj-Mahmoud Thanks again for this patch. This is reported to fix : https://github.com/pftf/RPi4/issues/88#issuecomment-792370668 and https://github.com/pftf/RPi4/issues/122 and possibly: https://github.com/pftf/RPi4/issues/132 Thanks, --Samer > -Original Message---

Re: [edk2-devel] [PATCH 1/3 v6] Drivers/OpTeeRpmb: Add an OP-TEE backed RPMB driver

2021-03-12 Thread PierreGondois
Hi Ilias and Achin, Thank you for the details. I don't have any more comments on the patches, Regards, Pierre -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#72717): https://edk2.groups.io/g/devel/message/72717 Mute This Topic: https://gr

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix dwc2 reset on raspberry pi boards

2021-03-12 Thread Ard Biesheuvel
On Thu, 11 Mar 2021 at 13:40, René Treffer wrote: > > DwHcReset expects attributes as the second argument. A reset is > performed if the passed attribute is valid. However 0 is not a valid > attribute and will thus never cause a controller reset. > > Passing EFI_USB_HC_RESET_HOST_CONTROLLER will r

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Silicon/Broadcom/Bcm27xx: Allow more than one device on pcie busses >1

2021-03-12 Thread Ard Biesheuvel
On Thu, 11 Mar 2021 at 23:56, René Treffer wrote: > > There is only a single pcie port on the bcm2711 so limiting the number of > devices to 1 worked as long as there is no way to add a pcie switch. > > On the compute module 4 it is possible to add a pcie switch (tested with > asm1184e) which adds

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix dwc2 reset on raspberry pi boards

2021-03-12 Thread Ard Biesheuvel
On Fri, 12 Mar 2021 at 18:42, René Treffer wrote: > > DwHcReset expects attributes as the second argument. A reset is > performed if the passed attribute is valued. However 0 is not a valid > attribute and will thus never cause a controller reset. > > Passing EFI_USB_HC_RESET_HOST_CONTROLLER will

Re: [edk2-devel] [edk2-discuss] Google Summer of Code Interested Student

2021-03-12 Thread Laszlo Ersek
On 03/12/21 06:45, Desimone, Nathaniel L wrote: > Now, here is the second bug. That BIOS setup menu page that OVMF has > for configuring the serial port has a field for setting the terminal > type. But, changing the value in that field doesn't actually change > the configuration data that is sent

Re: [edk2-devel] Conflicting virtual addresses causing Runtime Services issues

2021-03-12 Thread Laszlo Ersek
On 03/11/21 23:39, Ard Biesheuvel wrote: > On Thu, 11 Mar 2021 at 23:25, Laszlo Ersek wrote: >> >> Adding Ard and Leif, comments below: >> >> On 03/11/21 15:50, Laszlo Ersek wrote: >>> On 03/11/21 10:48, Jon Nettleton wrote: >> >> [...] >> And this is where the pointer gets remapped again and

Re: [edk2-devel] Conflicting virtual addresses causing Runtime Services issues

2021-03-12 Thread Laszlo Ersek
On 03/12/21 06:59, Jon Nettleton wrote: > On Fri, Mar 12, 2021 at 4:02 AM Jon Nettleton via groups.io > wrote: >> On Thu, Mar 11, 2021 at 11:39 PM Ard Biesheuvel wrote: >>> On Thu, 11 Mar 2021 at 23:25, Laszlo Ersek wrote: Adding Ard and Leif, comments below: On 03/11/21 15:50, La

Re: [edk2-devel] Conflicting virtual addresses causing Runtime Services issues

2021-03-12 Thread Ard Biesheuvel
On Fri, 12 Mar 2021 at 07:00, Jon Nettleton wrote: > > On Fri, Mar 12, 2021 at 4:02 AM Jon Nettleton via groups.io > wrote: > > > > On Thu, Mar 11, 2021 at 11:39 PM Ard Biesheuvel wrote: > > > > > > On Thu, 11 Mar 2021 at 23:25, Laszlo Ersek wrote: > > > > > > > > Adding Ard and Leif, comments

Re: [edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP

2021-03-12 Thread Laszlo Ersek
On 03/12/21 12:48, Ray Ni wrote: > MpInitLib contains a function MicrocodeDetect() which is called by > all threads as an AP procedure. > Today this function contains below code: > > if (CurrentRevision != LatestRevision) { > AcquireSpinLock(&CpuMpData->MpLock); > DEBUG (( >

Re: [edk2-devel] How does EDK2 detect virtio-blk-pci device as a boot device

2021-03-12 Thread Laszlo Ersek
On 03/11/21 15:48, Xiaohe Yang wrote: > Hello, I am using EDK2  OvmfPkgX64 at commit 37568365, and have a > problem. The following is the detail. > > > The Image disk that I use has EFI system partition, and is configured as > a virtio-blk-pci device. Bootorder file-entry is not added in fw_cfg >

Re: [edk2-devel] added support for DurianPkg.

2021-03-12 Thread Laszlo Ersek
Hi, On 01/15/21 09:47, Ling Jia wrote: > From: Ling > > The modules could be runed at the silicon of Phytium2000-4. > They supported Acpi parameter configuration, Pci bus scaning, > flash read-write and erase abd operating system boot function. > Maintainers.txt: Added maintainers and reviewers

[edk2-devel] GSoC 2021 (MinPlatform, Ext2, ACPICA, etc)

2021-03-12 Thread Pedro Falcato
Hi everyone! I'm Pedro Falcato, a student from FCT Nova in Lisbon, Portugal. I've gotten a bunch of experience over the years with C/C++, x86 in general and UEFI/ACPI with my hobby OS/kernel development, and I've got to say, I'm quite interested in some of the projects you've got here. So, a few

Re: [edk2-devel] [PATCH v2 1/2] OvmfPkg/IntelGvtGopDxe: Intel GVT-g GOP Implementation.

2021-03-12 Thread Gerd Hoffmann
Hi, > Thanks a lot for your comment, Laszlo! See my reply also end of the patch. > Hi Gerd, Alex, would you mind share your thoughts as well? > > (2) If the fw_cfg file in question is not found, the patch simply > > ignores it. We log a debug message about it (not even an error message), > > bu

[edk2-devel] [edk2-platforms][PATCH 1/1] Silicon/Broadcom/Bcm27xx: Allow more than one device on pcie busses >1

2021-03-12 Thread René Treffer
There is only a single pcie port on the bcm2711 so limiting the number of devices to 1 worked as long as there is no way to add a pcie switch. On the compute module 4 it is possible to add a pcie switch (tested with asm1184e) which adds 5 new pcie busses. In the current state the pci enumeration

[edk2-devel] GSoC 2021 (MinPlatform, Ext2, ACPICA, etc) (please ignore if duplicate)

2021-03-12 Thread Pedro Falcato
Hi everyone! I'm Pedro Falcato, a student from FCT Nova in Lisbon, Portugal. I've gotten a bunch of experience over the years with C/C++, x86 in general and UEFI/ACPI with my hobby OS/kernel development, and I've got to say, I'm quite interested in some of the projects you've got here. Please i

[edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix dwc2 reset on raspberry pi boards

2021-03-12 Thread René Treffer
DwHcReset expects attributes as the second argument. A reset is performed if the passed attribute is valued. However 0 is not a valid attribute and will thus never cause a controller reset. Passing EFI_USB_HC_RESET_HOST_CONTROLLER will reset the dwc2 controller as expected. This enables the USB 2

Re: [edk2-devel] GSoC 2021 (MinPlatform, Ext2, ACPICA, etc) (please ignore if duplicate)

2021-03-12 Thread Laszlo Ersek
adding Nate On 03/12/21 18:15, Pedro Falcato wrote: > Hi everyone! > > I'm Pedro Falcato, a student from FCT Nova in Lisbon, Portugal. I've gotten a > bunch of experience over the years with C/C++, x86 in general and UEFI/ACPI > with my hobby OS/kernel development, and I've got to say, I'm quit

[edk2-devel] [PATCH 1/1] MdeModulePkg/VariableRuntimeDxe: avoid double VA conversion of FVB protocol

2021-03-12 Thread Ard Biesheuvel
For historical reasons, the VariableRuntimeDxe performs virtual address conversion on the FVB protocol member pointers of the protocol instance that backs the EFI variable store. However, the driver that produces the actual instance should be doing this, as it is the owner, and provides the actual

Re: [edk2-devel] GSoC 2021 (MinPlatform, Ext2, ACPICA, etc)

2021-03-12 Thread Andrew Fish via groups.io
> On Mar 12, 2021, at 5:07 AM, Pedro Falcato wrote: > > Hi everyone! > > I'm Pedro Falcato, a student from FCT Nova in Lisbon, Portugal. I've gotten a > bunch of experience over the years with C/C++, x86 in general and UEFI/ACPI > with my hobby OS/kernel development, and I've got to say, I'm

Re: [edk2-devel] [RFC PATCH 00/14] Firmware Support for Fast Live Migration for AMD SEV

2021-03-12 Thread Yao, Jiewen
Hi We discuss the patch internally. We do see PROs and CONs with this approach. The advantage is that it is very simple. In-VM migration can save lots of effort on security context restore. On the other hand, we feel not so comfortable to reserve a dedicate CPU to achieve that. Similar to the fee

Re: [edk2-devel] [edk2-discuss] Google Summer of Code Interested Student

2021-03-12 Thread Nate DeSimone
Hi Laszlo, > -Original Message- > From: disc...@edk2.groups.io On Behalf Of > Laszlo Ersek > Sent: Friday, March 12, 2021 10:51 AM > To: Desimone, Nathaniel L ; > cadenkli...@gmail.com > Cc: disc...@edk2.groups.io; devel@edk2.groups.io > Subject: Re: [edk2-discuss] Google Summer of Code I

Re: [edk2-devel] [edk2-discuss] Google Summer of Code Interested Student

2021-03-12 Thread Nate DeSimone
I've created a new wiki page for this task with all the information I have gathered thus far. I've done some more experimentation and found that there are several newer terminal emulators that don't support DEC Special Graphics so I've reduced the number of modes where DEC Special Graphics shoul

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Silicon/Broadcom/Bcm27xx: Allow more than one device on pcie busses >1

2021-03-12 Thread Jeremy Linton
Hi, First, thanks for the patches, this really helps! On 3/12/21 12:32 PM, René Treffer wrote: There is only a single pcie port on the bcm2711 so limiting the number of devices to 1 worked as long as there is no way to add a pcie switch. On the compute module 4 it is possible to add a pcie sw