Re: [edk2-devel] [PATCH v8 9/9] OvmfPkg: Uses SmmSmramSaveStateLib library

2023-04-17 Thread Ni, Ray
Abdul, What prevents you implementing the OVMF version MmSaveStateLib? Or I assume OVMF is emulating AMD CPU, why AMD version MmSaveStateLib cannot support OVMF? Thanks, Ray From: Attar, AbdulLateef (Abdul Lateef) Sent: Tuesday, April 18, 2023 1:22 PM To: Ni, Ray ; devel@edk2.groups.io;

Re: [edk2-devel] [edk2][PATCH v2 1/1] MdeModulePkg: Add EDKII Platform Boot Manager Protocol v2

2023-04-17 Thread Tinh Nguyen via groups.io
Hi Ray, Many thanks for your feedback. Yes, but it is just for Boot Options that are automatically created by BDS. If users/OS input 2, 3, 4 … boot options without option data (mBmAutoCreateBootOptionGuid), the RefreshAllBootOptions() API should not modify/delete them, right? Users will be

Re: [edk2-devel] [PATCH] MdePkg/Include: Add DMTF PLDM Base definitions

2023-04-17 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Hi Maintainers, Please review this. Thanks Abner > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chang, > Abner via groups.io > Sent: Sunday, April 2, 2023 9:52 AM > To: devel@edk2.groups.io > Cc: Michael D Kinney ; Liming Gao > ;

Re: [edk2-devel] [PATCH] MdePkg/Include: Add DMTF PLDM SMBIOS definitions

2023-04-17 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Hi Maintainers, Please review this. Thanks Abner > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chang, > Abner via groups.io > Sent: Sunday, April 2, 2023 9:57 AM > To: devel@edk2.groups.io > Cc: Michael D Kinney ; Liming Gao > ;

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, April 18, 2023 #cal-reminder

2023-04-17 Thread Group Notification
*Reminder: TianoCore Bug Triage - APAC / NAMO* *When:* Tuesday, April 18, 2023 6:30pm to 7:30pm (UTC-07:00) America/Los Angeles *Where:*

Re: [edk2-devel] [edk2][PATCH v2 1/1] MdeModulePkg: Add EDKII Platform Boot Manager Protocol v2

2023-04-17 Thread Ni, Ray
RefreshAllBootOptions() API internally can keep an ordering rule so that platform-level-higher-priority boot options are before those platform-level-lower-priority options. So, that means, you could only change RefreshAllOptions() implementation to control the order without adding a new API.

[edk2-devel] Now: Tools, CI, Code base construction meeting series - Monday, April 17, 2023 #cal-notice

2023-04-17 Thread Group Notification
*Tools, CI, Code base construction meeting series* *When:* Monday, April 17, 2023 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=1868164 ) *Description:* TianoCore

[edk2-devel] Event: Tools, CI, Code base construction meeting series - Monday, April 17, 2023 #cal-reminder

2023-04-17 Thread Group Notification
*Reminder: Tools, CI, Code base construction meeting series* *When:* Monday, April 17, 2023 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=1868164 ) *Description:*

[edk2-devel] [PATCH v2 1/2] ArmPkg/AsmMacroIoLibV8: Introduce ASM_FUNC_ALIGN()

2023-04-17 Thread Marvin Häuser
With the current ASM_FUNC() macro, there is no good way to declare an alignment constraint for a function. As ASM_FUNC() switches sections, declaring the constraint before the macro invocation applies it to the current location in the previous section. Declaring the constraint after the macro

[edk2-devel] [PATCH v2 2/2] ArmPkg/ArmMmuLib: Fix ArmReplaceLiveTranslationEntry() alignment

2023-04-17 Thread Marvin Häuser
As the ASM_FUNC() macro performs a section switch, the preceding .balign directive applies the alignment constraint to the current location in the previous section. As the linker may not merge the sections in-order, ArmReplaceLiveTranslationEntry() may be left unaligned. Replace the explicit

Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introduce ASM_FUNC_ALIGN()

2023-04-17 Thread Ard Biesheuvel
On Mon, 17 Apr 2023 at 21:52, Leif Lindholm wrote: > > Hi Marvin, > > First of all - many thanks for tracking down the bug that creates the > need for this. > > On Mon, Apr 17, 2023 at 18:09:15 +, Marvin Häuser wrote: > > With the current ASM_FUNC() macro, there is no good way to declare an

Re: [edk2-devel] [PATCH 2/2] ArmPkg/ArmMmuLib: Fix ArmReplaceLiveTranslationEntry() alignment

2023-04-17 Thread Leif Lindholm
On Mon, Apr 17, 2023 at 18:09:16 +, Marvin Häuser wrote: > As the ASM_FUNC() macro performs a section switch, the preceding > .balign directive applies the alignment constraint to the current > location in the previous section. As the linker may not merge the > sections in-order,

Re: [edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introduce ASM_FUNC_ALIGN()

2023-04-17 Thread Leif Lindholm
Hi Marvin, First of all - many thanks for tracking down the bug that creates the need for this. On Mon, Apr 17, 2023 at 18:09:15 +, Marvin Häuser wrote: > With the current ASM_FUNC() macro, there is no good way to declare an > alignment constraint for a function. As ASM_FUNC() switches

[edk2-devel] [PATCH 2/2] ArmPkg/ArmMmuLib: Fix ArmReplaceLiveTranslationEntry() alignment

2023-04-17 Thread Marvin Häuser
As the ASM_FUNC() macro performs a section switch, the preceding .balign directive applies the alignment constraint to the current location in the previous section. As the linker may not merge the sections in-order, ArmReplaceLiveTranslationEntry() may be left unaligned. Replace the explicit

[edk2-devel] [PATCH 1/2] ArmPkg/AsmMacroIoLibV8: Introduce ASM_FUNC_ALIGN()

2023-04-17 Thread Marvin Häuser
With the current ASM_FUNC() macro, there is no good way to declare an alignment constraint for a function. As ASM_FUNC() switches sections, declaring the constraint before the macro invocation applies it to the current location in the previous section. Declaring the constraint after the macro

Re: [edk2-devel] [PATCH 2/5] RedfishPkg: Prevent assertion of allocate zero length region

2023-04-17 Thread Minh Nguyen OS via groups.io
Hi Wang, Thanks for this point, you're right. It's a redundant change and I will update in v2 patches, but the second change is necessary. How do you think about that? Thanks, Minh Nguyen -Original Message- From: Nickle Wang Sent: Friday, April 14, 2023 4:04 PM To: Minh Nguyen OS ;

Re: [edk2-devel] [PATCH 2/5] RedfishPkg: Prevent assertion of allocate zero length region

2023-04-17 Thread Minh Nguyen via groups.io
Hi Wang, Thanks for this point, you're right. It's a redundant change and I will update in v2 patches, but the second change is necessary. How do you think about that? Thanks, Minh Nguyen -Original Message- From: Nickle Wang Sent: Friday, April 14, 2023 4:04 PM To: Minh Nguyen OS ;

[edk2-devel] [PATCH 5/5] RedfishPkg: Fix compile issue on Linux

2023-04-17 Thread Minh Nguyen via groups.io
From: Vu Nguyen It requires a fixed size array to store the content of device path PCD. Add the array size to solve this issue. Signed-off-by: Minh Nguyen --- RedfishPkg/Include/Pcd/RestExServiceDevicePath.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[edk2-devel] [PATCH 4/5] RedfishPkg: Add missing newline character

2023-04-17 Thread Minh Nguyen via groups.io
From: Nhi Pham This adds a missing newline character to make the error log readable in case the module is failed. Signed-off-by: Minh Nguyen --- RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[edk2-devel] [PATCH 3/5] RedfishPkg: Create RestEx child on selected interface

2023-04-17 Thread Minh Nguyen via groups.io
From: Vu Nguyen When a MAC address matching interface is found, a RestEx child will be created to provide the Redfish communication on that interface. Currently, It will try to locate all RestEx binding services and choose the first satisfied instance without taking care about current selected

[edk2-devel] [PATCH 2/5] RedfishPkg: Prevent assertion of allocate zero length region

2023-04-17 Thread Minh Nguyen via groups.io
From: Vu Nguyen This change also fix miscellaneous errors on condition checking and debug argument missing. Signed-off-by: Minh Nguyen --- RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[edk2-devel] [PATCH 1/5] RedfishPkg: Correct variable type to prevent memory corruption

2023-04-17 Thread Minh Nguyen via groups.io
From: Vu Nguyen Id will be casted by CoreOpenProtocol, declare this variable with a wrong type might result in the corruption of other local variables. Signed-off-by: Minh Nguyen --- RedfishPkg/RedfishRestExDxe/RedfishRestExDriver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[edk2-devel] [PATCH 0/5] Adding necessary changes for RedfishPkg

2023-04-17 Thread Minh Nguyen via groups.io
This patchset adds necessary changes for RedfishPkg to avoid some unexpected cases and fix compilation. Nhi Pham (1): RedfishPkg: Add missing newline character Vu Nguyen (4): RedfishPkg: Correct variable type to prevent memory corruption RedfishPkg: Prevent assertion of allocate zero

Re: [edk2-devel] [PATCH v4 3/3] Maintainers.txt: Adds AMD/AmdMinBoardPkg maintainers

2023-04-17 Thread Attar, AbdulLateef (Abdul Lateef) via groups.io
[AMD Official Use Only - General] Hi @Ard Biesheuvel , @Leif Lindholm, @Michael D Kinney, I had renamed the folder from MinBoardPkg to AmdMinBoardPkg, could you please review it. Thanks AbduL -Original Message- From: devel@edk2.groups.io On Behalf Of Abdul Lateef Attar via

Re: [edk2-devel] [PATCH v8 2/9] UefiCpuPkg: Adds SmmSmramSaveStateLib library class

2023-04-17 Thread Attar, AbdulLateef (Abdul Lateef) via groups.io
[AMD Official Use Only - General] Thanks for review comment, will update accordingly. -Original Message- From: Ni, Ray Sent: 11 April 2023 13:21 To: devel@edk2.groups.io; Attar, AbdulLateef (Abdul Lateef) Cc: Grimes, Paul ; Kirkendall, Garrett ; Chang, Abner ; Dong, Eric ; Kumar,

Re: [edk2-devel] [edk2-platforms][PATCH 2/3] ManageabilityPkg: Use SMBUS I2C instead of I2C

2023-04-17 Thread Attar, AbdulLateef (Abdul Lateef) via groups.io
[AMD Official Use Only - General] Hi Abner, I think EDK2 uses the below naming convention for variables which are acronyms. First letter is capitalized, and rest all are smaller. Its better to rename below variables from I2C to I2c. -Original Message- From: Chang, Abner Sent:

Re: [edk2-devel] [edk2-platforms][PATCH 1/3] ManageabilityPkg/IpmiPpi: Fix duplicate library instance

2023-04-17 Thread Attar, AbdulLateef (Abdul Lateef) via groups.io
[AMD Official Use Only - General] Reviewed-by: Abdul Lateef Attar -Original Message- From: Chang, Abner Sent: Saturday, April 15, 2023 5:27 PM To: devel@edk2.groups.io Cc: Isaac Oram ; Attar, AbdulLateef (Abdul Lateef) ; Nickle Wang ; Tinh Nguyen Subject: [edk2-platforms][PATCH

Re: [edk2-devel] [edk2-platforms][PATCH 3/3] ManageabilityPkg: Support AARCH64

2023-04-17 Thread Attar, AbdulLateef (Abdul Lateef) via groups.io
[AMD Official Use Only - General] Reviewed-by: Abdul Lateef Attar -Original Message- From: Chang, Abner Sent: Saturday, April 15, 2023 5:27 PM To: devel@edk2.groups.io Cc: Isaac Oram ; Attar, AbdulLateef (Abdul Lateef) ; Nickle Wang ; Tinh Nguyen Subject: [edk2-platforms][PATCH

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/BhyveBhf: install bhyve's ACPI tables

2023-04-17 Thread Corvin Köhne
On Mon, 2023-04-17 at 14:14 +0200, Gerd Hoffmann wrote: > On Mon, Apr 17, 2023 at 01:46:01PM +0200, 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

[edk2-devel] [PATCH v2 1/1] OvmfPkg/BhyveBhf: install bhyve's ACPI tables

2023-04-17 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,

Re: [edk2-devel] [edk2-platforms][PATCH V2 2/3] ManageabilityPkg: Use SMBUS I2C instead of I2C

2023-04-17 Thread Tinh Nguyen via groups.io
|||Reviewed-by: Tinh Nguyen | On 4/17/2023 7:55 PM, abner.ch...@amd.com wrote: From: Abner Chang Signed-off-by: Abner Chang Cc: Isaac Oram Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Tinh Nguyen --- Features/ManageabilityPkg/ManageabilityPkg.dec | 10 +-

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/BhyveBhf: install bhyve's ACPI tables

2023-04-17 Thread Gerd Hoffmann
> Hi Gerd, > > thanks for your reply. It's mostly the same code. Only the start and > end of the scanned range differ. So, it does make sense to share the > same implementation. > Where's the right place for this shared implementation? Is it > "OvmfPkg/Library"? Yes. take care, Gerd

Re: [edk2-devel] [PATCH v3 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-17 Thread Rebecca Cran
On 4/17/23 5:03 AM, Gerd Hoffmann wrote: Does it make sense to have a separate prefix for each gcc variant? I guess it makes sense for the existing GCC5 and GCC4x configs for backward compatibility reasons, but for the new GCC / GCCNOLTO variants not so much. I think I'd prefer to add the new

Re: [edk2-devel] [PATCH v4 0/2] Set Firmware Version from build command line

2023-04-17 Thread Rebecca Cran
On 4/17/23 4:17 AM, Gerd Hoffmann wrote: On Fri, Apr 14, 2023 at 06:13:03AM -0600, Rebecca Cran wrote: Sorry for not commenting on this earlier. Would it be better to have people use the build `--pcd` option instead? e.g. build

[edk2-devel] [PATCH edk2-platforms v1 1/1] Platform/ARM: Reduce System Memory Size for FVP with RME extensions

2023-04-17 Thread Sami Mujawar
For older FVPs (without support for RME extension) the top 16MB of DRAM1 is reserved as Trusted DRAM. However, the latest FVP Base RevC AEM Model [1] has support for RME extension. When RME extension is present the top 64MB of DRAM1 (i.e. at the top of the 32bit address space) is carved out for

Re: [edk2-devel] [edk2-platforms][PATCH 1/3] ManageabilityPkg/IpmiPpi: Fix duplicate library instance

2023-04-17 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Sure, I fixed it. Please check V2 Thanks Abner > -Original Message- > From: Tinh Nguyen > Sent: Monday, April 17, 2023 6:40 PM > To: Chang, Abner ; devel@edk2.groups.io > Cc: Isaac Oram ; Attar, AbdulLateef (Abdul Lateef) > ; Nickle Wang > Subject:

[edk2-devel] [edk2-platforms][PATCH V2 3/3] ManageabilityPkg: Support AARCH64

2023-04-17 Thread Chang, Abner via groups.io
From: Abner Chang Add AARCH64 support in Manageability.dsc Signed-off-by: Abner Chang Cc: Isaac Oram Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Tinh Nguyen Reviewed-by: Abdul Lateef Attar Reviewed-by: Tinh Nguyen --- .../ManageabilityPkg/Include/Dsc/Manageability.dsc| 11 +--

[edk2-devel] [edk2-platforms][PATCH V2 2/3] ManageabilityPkg: Use SMBUS I2C instead of I2C

2023-04-17 Thread Chang, Abner via groups.io
From: Abner Chang Signed-off-by: Abner Chang Cc: Isaac Oram Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Tinh Nguyen --- Features/ManageabilityPkg/ManageabilityPkg.dec | 10 +- .../BaseManageabilityTransportHelper.inf | 2 +- .../BaseManageabilityTransportHelper.c

[edk2-devel] [edk2-platforms][PATCH V2 1/3] ManageabilityPkg/IpmiPpi: Fix duplicate library instance

2023-04-17 Thread Chang, Abner via groups.io
From: Abner Chang Remove duplicate library instance in [LibraryClass] section. Signed-off-by: Abner Chang Cc: Isaac Oram Cc: Abdul Lateef Attar Cc: Nickle Wang Cc: Tinh Nguyen Reviewed-by: Abdul Lateef Attar Reviewed-by: Tinh Nguyen ---

Re: [edk2-devel] [PATCH tianocore-docs v3 2/2] Readme.md: Update the Gitbook documentation section

2023-04-17 Thread Leif Lindholm
Hi Mike, Have been thinking on this (and been on holiday last week). On Thu, Apr 06, 2023 at 16:28:57 +, Michael D Kinney wrote: > I am not sure. The current contributors agreement has support for code and > documentation. > > The specific sections on documents are: > * >

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/BhyveBhf: install bhyve's ACPI tables

2023-04-17 Thread Gerd Hoffmann
On Mon, Apr 17, 2023 at 01:46:01PM +0200, 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.

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/BhyveBhf: install bhyve's ACPI tables

2023-04-17 Thread Rebecca Cran
On 4/17/23 5:46 AM, Corvin Köhne wrote: + +/** + Get the address of bhyve's ACPI Root System Description Pointer (RSDP). + + @param RsdpPtr Return pointer to RSDP. + + @return EFI_SUCCESS Bhyve's RSDP successfully found. + @return EFI_NOT_FOUND Couldn't find

Re: [edk2-devel] [PATCH v4 3/3] Maintainers.txt: Adds AMD/AmdMinBoardPkg maintainers

2023-04-17 Thread Leif Lindholm
On Mon, Apr 17, 2023 at 05:56:37 +, Attar, AbdulLateef (Abdul Lateef) wrote: > [AMD Official Use Only - General] > > Hi @Ard Biesheuvel , @Leif Lindholm, @Michael D Kinney, > I had renamed the folder from MinBoardPkg to AmdMinBoardPkg, could > you please review it. Ah, sorry, didn't

Re: [edk2-devel] [edk2-platforms][PATCH] ManageabilityPkg: add support for the phosphor ipmi blob transfer protocol

2023-04-17 Thread Mike Maslenkin
Hello Nick, CalculateCrc16 function has already defined in edk2-platforms/Platform/Intel/WhitleyOpenBoardPkg/Include/Library/CrcLib.h and edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c. This patch adds another CalculateCrc16 declaration. There was an attempt to unify

Re: [edk2-devel] [PATCH v3 00/13] BaseTools,CryptoPkg,EmulatorPkg,MdePkg,others: Delete CLANG35,CLANG38,VS2008-2013,EBC, deprecate GCC48,GCC49,GCC5, add GCC and GCCNOLTO, update CLANGDWARF

2023-04-17 Thread Gerd Hoffmann
On Sun, Apr 16, 2023 at 11:05:19AM -0600, Rebecca Cran wrote: > Update the toolchain definitions: > > - Delete the CLANG35 and CLANG38 toolchains, and replace CLANG38 with > CLANGDWARF, updating it to support ARM and AARCH64 in addition to X64 > and IA32. ARM not working for me in the cross

Re: [edk2-devel] [PATCH v3 09/13] BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains

2023-04-17 Thread Gerd Hoffmann
> +DEFINE GCCNOLTO_IA32_PREFIX= ENV(GCCNOLTO_BIN) > +DEFINE GCCNOLTO_X64_PREFIX = ENV(GCCNOLTO_BIN) > + > DEFINE GCC5_IA32_PREFIX= ENV(GCC5_BIN) > DEFINE GCC5_X64_PREFIX = ENV(GCC5_BIN) > +DEFINE GCC_IA32_PREFIX = ENV(GCC_BIN) > +DEFINE GCC_X64_PREFIX =

Re: [edk2-devel] [edk2-platforms][PATCH 3/3] ManageabilityPkg: Support AARCH64

2023-04-17 Thread Tinh Nguyen via groups.io
Reviewed-by: Tinh Nguyen On 15/04/2023 18:57, abner.ch...@amd.com wrote: [EXTERNAL EMAIL NOTICE: This email originated from an external sender. Please be mindful of safe email handling and proprietary information protection practices.] From: Abner Chang Add AARCH64 support in

Re: [edk2-devel] [edk2-platforms][PATCH 1/3] ManageabilityPkg/IpmiPpi: Fix duplicate library instance

2023-04-17 Thread Tinh Nguyen via groups.io
Hi Abner, Please assist me in changing the email address to tinhngu...@os.amperecomputing.com. Reviewed-by: Tinh Nguyen On 15/04/2023 18:57, abner.ch...@amd.com wrote: [EXTERNAL EMAIL NOTICE: This email originated from an external sender. Please be mindful of safe email handling and

Re: [edk2-devel] [PATCH 0/5] Platforms cleanup v1

2023-04-17 Thread Sunil V L
On Thu, Apr 13, 2023 at 08:38:24AM +, Chai, Evan wrote: > Hi Sunil, >Sorry to remind, do we need one more reviewer for it? Or you can help to > merge it now? > Merged. Thanks, Sunil -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply

Re: [edk2-devel] [PATCH v4 0/2] Set Firmware Version from build command line

2023-04-17 Thread Gerd Hoffmann
On Fri, Apr 14, 2023 at 06:13:03AM -0600, Rebecca Cran wrote: > Sorry for not commenting on this earlier. > > Would it be better to have people use the build `--pcd` option instead? e.g. > build > --pcd="gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString=edk2-stable202302". Possible, but

Re: [edk2-devel] Strange behavior between GCC 11 and GCC 12

2023-04-17 Thread Gerd Hoffmann
On Fri, Apr 14, 2023 at 04:39:23PM -0500, Tom Lendacky wrote: > On 4/14/23 15:23, Tom Lendacky wrote: > > I've been trying to debug a problem I'm seeing when I moved to the GCC 12 > > compiler. Under SEV it results in the guest crashing. > > False alarm, I was on the wrong branch that does not

[edk2-devel] [PATCH 2/4] OvmfPkg/VirtioSerialDxe: add driver

2023-04-17 Thread Gerd Hoffmann
Add a driver for the virtio serial device. The virtio serial device also known as virtio console device because initially it had only support for a single tty, intended to be used as console. Support for multiple streams and named data ports has been added later on. The driver supports tty

[edk2-devel] [PATCH 4/4] OvmfPkg/PlatformBootManagerLib: setup virtio serial console

2023-04-17 Thread Gerd Hoffmann
In case a virtio-serial device is present in the system register the first serial port as console. Signed-off-by: Gerd Hoffmann --- .../PlatformBootManagerLib/BdsPlatform.c | 47 +++ 1 file changed, 47 insertions(+) diff --git

[edk2-devel] [PATCH 3/4] OvmfPkg/VirtioSerialDxe: wire up in OvmfPkg*

2023-04-17 Thread Gerd Hoffmann
Add the driver to the ovmf builds. Signed-off-by: Gerd Hoffmann --- OvmfPkg/Microvm/MicrovmX64.dsc | 1 + OvmfPkg/OvmfPkgIa32.dsc| 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/Microvm/MicrovmX64.fdf | 1 + OvmfPkg/OvmfPkgIa32.fdf| 1 +

[edk2-devel] [PATCH 0/4] OvmfPkg: add virtio serial driver

2023-04-17 Thread Gerd Hoffmann
Gerd Hoffmann (4): OvmfPkg: add IndustryStandard/VirtioSerial.h OvmfPkg/VirtioSerialDxe: add driver OvmfPkg/VirtioSerialDxe: wire up in OvmfPkg* OvmfPkg/PlatformBootManagerLib: setup virtio serial console OvmfPkg/Microvm/MicrovmX64.dsc| 1 + OvmfPkg/OvmfPkgIa32.dsc

[edk2-devel] [PATCH 1/4] OvmfPkg: add IndustryStandard/VirtioSerial.h

2023-04-17 Thread Gerd Hoffmann
Add header files with structs and defines for the virtio serial device. The virtio serial device also known as virtio console device because initially it had only support for a single tty, intended to be used as console. Support for multiple streams and named data ports has been added later on.