Re: [edk2-devel] [PATCH v3 1/4] OvmfPkg/Sec: Setup MTRR early in the boot process.

2024-06-03 Thread Corvin Köhne
On Thu, 2024-05-30 at 11:03 +0200, Gerd Hoffmann wrote: >   Hi, > > > > -    SetMem (&MtrrSettings.Fixed, sizeof MtrrSettings.Fixed, > > > 0x06); > > > +    SetMem (&MtrrSettings.Fixed, sizeof MtrrSettings.Fixed, > > > MTRR_CACHE_WRITE_BACK); > > > ZeroMem (&MtrrSettings.Variables, sizeof > >

Re: [edk2-devel] [PATCH v3 1/4] OvmfPkg/Sec: Setup MTRR early in the boot process.

2024-05-22 Thread Corvin Köhne
On Tue, 2024-01-30 at 14:04 +0100, Gerd Hoffmann wrote: > Specifically before running lzma uncompress of the main firmware > volume. > This is needed to make sure caching is enabled, otherwise the > uncompress > can be extremely slow. > > Adapt the ASSERTs and MTRR setup in PlatformInitLib to the

Re: [edk2-devel] [PATCH 16/37] OvmfPkg: exclude NullMemoryTestDxe driver

2024-04-24 Thread Corvin Köhne
.) > > Cc: Anatol Belski > Cc: Andrei Warkentin > Cc: Anthony Perard > Cc: Ard Biesheuvel > Cc: Corvin Köhne > Cc: Erdem Aktas > Cc: Gerd Hoffmann > Cc: Jianyong Wu > Cc: Jiewen Yao > Cc: Michael Roth > Cc: Min Xu > Cc: Rebecca Cran > Cc: Sunil V

Re: [edk2-devel] [PATCH v3 1/4] OvmfPkg/Sec: Setup MTRR early in the boot process.

2024-04-10 Thread Corvin Köhne
On Tue, 2024-02-20 at 09:15 +0100, Gerd Hoffmann wrote: > On Tue, Feb 20, 2024 at 06:27:21AM +, Min Xu wrote: > > On Monday, February 12, 2024 11:22 PM, Gerd Hoffmann wrote: > > > On Thu, Feb 01, 2024 at 10:38:43AM +0100, Gerd Hoffmann wrote: > > > >   Hi, > > > > > > > > > > Can you confirm (

[edk2-devel] [PATCH v2 1/1] OvmfPkg/Bhyve: use a proper PCI IO range

2023-11-19 Thread Corvin Köhne
bfe2701fd38e593355d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157 [3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274389 Signed-off-by: Corvin Köhne Reviewed-by: Laszlo Ersek Reviewed-by: Rebecca Cran Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Liming Gao Cc: Jiewen Yao --- OvmfPkg/Bhyve/Pl

Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: use a proper PCI IO range

2023-11-19 Thread Corvin Köhne
On Fri, 2023-11-17 at 17:09 +0100, Laszlo Ersek wrote: > On 11/17/23 13:43, Corvin Köhne wrote: > > Bhyve uses an io port range of [ 0x2000, 0x1 ] [1]. At the > > moment, > > EDKII is using a subset of this range [ 0xC000, 0x1 ] [2]. Even > > though the EDKII ra

[edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: use a proper PCI IO range

2023-11-17 Thread Corvin Köhne
d38e593355d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157 Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Rebecca Cran --- OvmfPkg/Bhyve/PlatformPei/Platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OvmfPkg/Bhyve/PlatformPei/P

Re: [edk2-devel] [PATCH 00/37] OvmfPkg: remove the CSM (after edk2-stable202311)

2023-11-12 Thread Corvin Köhne
g care of this. > > Reviewed-by: Ard Biesheuvel Acked-by: Corvin Köhne > > > > -Original Message- > > > From: Laszlo Ersek > > > Sent: Saturday, November 11, 2023 7:58 AM > > > To: devel@edk2.groups.io > > > Cc: Anatol Belski ; Wa

[edk2-devel] [PATCH v1 0/1] OvmfPkg/Bhyve: properly fall back to static ACPI tables

2023-09-07 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4799 Corvin Köhne (1): OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) -- 2

[edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory

2023-09-07 Thread Corvin Köhne
If OVMF fails to find the RSDP in memory, it should fall back installing the statically provided ACPI tables. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran Cc: Peter Grehan --- OvmfPkg/Bhyve/AcpiPlatformDxe

Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB

2023-08-14 Thread Corvin Köhne
On Thu, 2023-08-10 at 15:54 -0400, Michael Kubacki wrote: > I'm not sure why test results are not being reported that may be a > larger issue. > > I pulled the branch locally, run uncrustify, and it automatically > fixed > the code to pass. > > The issue is the following function call: > >   

Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB

2023-08-10 Thread Corvin Köhne
On Thu, 2023-08-10 at 14:55 +0200, Ard Biesheuvel wrote: > On Thu, 10 Aug 2023 at 14:53, Corvin Köhne > wrote: > > > > On Tue, 2023-08-08 at 18:25 +0200, Ard Biesheuvel wrote: > > > On Tue, 8 Aug 2023 at 15:33, Rebecca Cran > > > wrote: > > > >

Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB

2023-08-10 Thread Corvin Köhne
On Tue, 2023-08-08 at 18:25 +0200, Ard Biesheuvel wrote: > On Tue, 8 Aug 2023 at 15:33, Rebecca Cran wrote: > > > > Nit: "sizeof" is normally used like a function. And this patch > > mixes the > > two styles. > > > > Actually, this is not unidiomatic for OVMF - sizeof takes either a > type name

Re: [edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB

2023-08-07 Thread Corvin Köhne
On Mon, 2023-07-24 at 14:59 +0200, Corvin Köhne wrote: > Copy the function BuildPlatformInfoHob() from OvmfPkg/PlatformPei. > > QemuFwCfgLib expect this HOB to be present, or fails to do anything. > InternalQemuFwCfgIsAvailable() from QemuFwCfgPeiLib module will not > check if the

[edk2-devel] [PATCH v1 0/1] OvmfPkg/Bhyve: build PlatformInfoHob

2023-07-24 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4676 Corvin Köhne (1): OvmfPkg/Bhyve: build platform info HOB OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf | 1 + OvmfPkg/Bhyve/PlatformPei/Platform.c | 20 2 files changed, 21 insertions(+) -- 2.41.0

[edk2-devel] [PATCH v1 1/1] OvmfPkg/Bhyve: build platform info HOB

2023-07-24 Thread Corvin Köhne
: cda98df16228970dcf9a4ce2af5368219711b4b0 ("OvmfPkg/QemuFwCfgLib: remove mQemuFwCfgSupported + mQemuFwCfgDmaSupported") Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran Cc: Peter Grehan --- OvmfPkg/Bhyve/PlatformPei/Platf

Re: [edk2-devel] [PATCH v2 0/3] OvmfPkg/Bhyve: enable bus enumeration

2023-07-24 Thread Corvin Köhne
On Tue, 2023-07-11 at 09:16 +0200, Corvin Köhne wrote: > CI: https://github.com/tianocore/edk2/pull/4543 > > Corvin Köhne (3): >   Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan" >   Revert "OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE > driver&

[edk2-devel] [PATCH v2 3/3] OvmfPkg/BhyvePkg: enable bus enumeration

2023-07-11 Thread Corvin Köhne
bhyve supports adding a ROM to PCI devices. It was added to support GPU passthrough of dedicated AMD GPUs. At the moment, this ROM file is mostly useless as it's not shadowed and executed by firmware. Change that by enabling bus enumeration. Signed-off-by: Corvin Köhne Acked-by: Peter Greha

[edk2-devel] [PATCH v2 1/3] Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan"

2023-07-11 Thread Corvin Köhne
We like to enable bus enumartion for bhyve. Therefore, this patch needs to be reverted. This reverts commit c2f24ba3218ae91a8d5a1a31c31dad3417850d0c. Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Rebecca Cran

[edk2-devel] [PATCH v2 2/3] Revert "OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE driver"

2023-07-11 Thread Corvin Köhne
We like to enable bus enumeration for bhyve. Therefore, this patch needs to be reverted. This reverts commit 8c8f886f27556f2fb6e8b502d32aa9ccee930acc. Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran

[edk2-devel] [PATCH v2 0/3] OvmfPkg/Bhyve: enable bus enumeration

2023-07-11 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4543 Corvin Köhne (3): Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan" Revert "OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE driver" OvmfPkg/BhyvePkg: enable bus enumeration OvmfPkg/Bhyve/BhyveX64.dsc | 4

Re: [edk2-devel] [PATCH v1 3/3] OvmfPkg/BhyvePkg: enable bus enumeration

2023-07-03 Thread Corvin Köhne
On Mon, 2023-06-12 at 11:20 +0200, Corvin Köhne wrote: > bhyve supports adding a ROM to PCI devices. It was added to support > GPU > passthrough of dedicated AMD GPUs. At the moment, this ROM file is > mostly useless as it's not shadowed and executed by firmware. Change >

[edk2-devel] [PATCH v4 6/6] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg

2023-06-21 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg

[edk2-devel] [PATCH v4 5/6] OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib

2023-06-21 Thread Corvin Köhne
This makes the InstallQemuFwcfgTables function reusable by bhyve. Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH v4 4/6] OvmfPkg: move BootScript into AcpiPlatformLib

2023-06-21 Thread Corvin Köhne
This is required to move InstallQemuFwCfgTables into AcpiPlatformLib. Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe

[edk2-devel] [PATCH v4 3/6] OvmfPkg: move PciEncoding into AcpiPlatformLib

2023-06-21 Thread Corvin Köhne
Bhyve supports providing ACPI tables by FwCfg. Therefore, InstallQemuFwCfgTables should be moved to AcpiPlatformLib to reuse the code. As first step, move PciEncoding into AcpiPlatformLib. Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao

[edk2-devel] [PATCH v4 2/6] OvmfPkg: avoid including AcpiPlatformLib twice

2023-06-21 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Acked-by: Peter Grehan Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Include/Library/AcpiPlatformLib.h | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg

[edk2-devel] [PATCH v4 1/6] OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory

2023-06-21 Thread Corvin Köhne
The definition and declaration of GetAcpiRsdpFromMemory doesn't match. We don't get a compile error yet because UINTN is the same as UINT64 on 64bit machines. As the function works on memory addresses, UINTN is the correct type of the input parameters. Signed-off-by: Corvin Köhne Teste

[edk2-devel] [PATCH v4 0/6] OvmfPkg/Bhyve: install Acpi tables by FwCfg

2023-06-21 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4545 Corvin Köhne (6): OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory OvmfPkg: avoid including AcpiPlatformLib twice OvmfPkg: move PciEncoding into AcpiPlatformLib OvmfPkg: move BootScript into AcpiPlatformLib OvmfPkg: move

[edk2-devel] [PATCH v3 6/6] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg

2023-06-20 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Bhyve

[edk2-devel] [PATCH v3 5/6] OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib

2023-06-20 Thread Corvin Köhne
This makes the InstallQemuFwcfgTables function reusable by bhyve. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH v3 4/6] OvmfPkg: move BootScript into AcpiPlatformLib

2023-06-20 Thread Corvin Köhne
This is required to move InstallQemuFwCfgTables into AcpiPlatformLib. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH v3 3/6] OvmfPkg: move PciEncoding into AcpiPlatformLib

2023-06-20 Thread Corvin Köhne
Bhyve supports providing ACPI tables by FwCfg. Therefore, InstallQemuFwCfgTables should be moved to AcpiPlatformLib to reuse the code. As first step, move PciEncoding into AcpiPlatformLib. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc

[edk2-devel] [PATCH v3 1/6] OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory

2023-06-20 Thread Corvin Köhne
The definition and declaration of GetAcpiRsdpFromMemory doesn't match. We don't get a compile error yet because UINTN is the same as UINT64 on 64bit machines. As the function works on memory addresses, UINTN is the correct type of the input parameters. Signed-off-by: Corvin Köhne Teste

[edk2-devel] [PATCH v3 2/6] OvmfPkg: avoid including AcpiPlatformLib twice

2023-06-20 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Include/Library/AcpiPlatformLib.h | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Include

[edk2-devel] [PATCH v3 0/6] OvmfPkg/Bhyve: install Acpi tables by FwCfg

2023-06-20 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4545 Corvin Köhne (6): OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory OvmfPkg: avoid including AcpiPlatformLib twice OvmfPkg: move PciEncoding into AcpiPlatformLib OvmfPkg: move BootScript into AcpiPlatformLib OvmfPkg: move

[edk2-devel] [PATCH v2 6/6] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg

2023-06-19 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Bhyve

[edk2-devel] [PATCH v2 5/6] OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib

2023-06-19 Thread Corvin Köhne
This makes the InstallQemuFwcfgTables function reusable by bhyve. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH v2 4/6] OvmfPkg: move BootScript into AcpiPlatformLib

2023-06-19 Thread Corvin Köhne
This is required to move InstallQemuFwCfgTables into AcpiPlatformLib. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH v2 3/6] OvmfPkg: move PciEncoding into AcpiPlatformLib

2023-06-19 Thread Corvin Köhne
Bhyve supports providing ACPI tables by FwCfg. Therefore, InstallQemuFwCfgTables should be moved to AcpiPlatformLib to reuse the code. As first step, move PciEncoding into AcpiPlatformLib. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc

[edk2-devel] [PATCH v2 2/6] OvmfPkg: avoid including AcpiPlatformLib twice

2023-06-19 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Include/Library/AcpiPlatformLib.h | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Include

[edk2-devel] [PATCH v2 1/6] OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory

2023-06-19 Thread Corvin Köhne
The definition and declaration of GetAcpiRsdpFromMemory doesn't match. We don't get a compile error yet because UINTN is the same as UINT64 on 64bit machines. As the function works on memory addresses, UINTN is the correct type of the input parameters. Signed-off-by: Corvin Köhn

[edk2-devel] [PATCH v2 0/6] OvmfPkg/Bhyve: install ACPI tables by FwCfg

2023-06-19 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4545 Corvin Köhne (6): OvmfPkg/Library: fix definition of GetAcpiRsdpFromMemory OvmfPkg: avoid including AcpiPlatformLib twice OvmfPkg: move PciEncoding into AcpiPlatformLib OvmfPkg: move BootScript into AcpiPlatformLib OvmfPkg: move

Re: [edk2-devel] [PATCH 1/5] OvmfPkg: avoid including AcpiPlatformLib twice

2023-06-19 Thread Corvin Köhne
On Mon, 2023-06-19 at 15:04 +0200, Gerd Hoffmann wrote: > On Mon, Jun 19, 2023 at 01:52:19PM +0200, Corvin Köhne wrote: > > On Mon, 2023-06-19 at 12:41 +0200, Gerd Hoffmann wrote: > > > On Wed, Jun 14, 2023 at 09:55:43AM +0200, Corvin Köhne wrote: > > > > Signed-of

[edk2-devel] [PATCH v3 1/1] OvmfPkg/Bhyve: include TPM driver

2023-06-19 Thread Corvin Köhne
Bhyve will gain support for TPM emulation in the near future. Therefore, prepare OVMF by copying all TPM driver used by qemu's OVMF DSC into the bhyve OVMF DSC. Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan J

[edk2-devel] [PATCH v3 0/1] OvmfPkg/Bhyve: add support for TPM

2023-06-19 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4531 Corvin Köhne (1): OvmfPkg/Bhyve: include TPM driver OvmfPkg/Bhyve/BhyveX64.dsc | 17 +++-- OvmfPkg/Bhyve/BhyveX64.fdf | 7 +++ 2 files changed, 22 insertions(+), 2 deletions(-) -- 2.41.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io

Re: [edk2-devel] [PATCH 1/5] OvmfPkg: avoid including AcpiPlatformLib twice

2023-06-19 Thread Corvin Köhne
On Mon, 2023-06-19 at 12:41 +0200, Gerd Hoffmann wrote: > On Wed, Jun 14, 2023 at 09:55:43AM +0200, Corvin Köhne wrote: > > Signed-off-by: Corvin Köhne > > Cc: Ard Biesheuvel > > Cc: Gerd Hoffmann > > Cc: Jiewen Yao > > Cc: Jordan Justen > > Cc: Leif

[edk2-devel] [PATCH 4/5] OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib

2023-06-14 Thread Corvin Köhne
This makes the InstallQemuFwcfgTables function reusable by bhyve. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH 5/5] OvmfPkg/Bhyve: install Acpi tables provided by FwCfg

2023-06-14 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Bhyve

[edk2-devel] [PATCH 3/5] OvmfPkg: move BootScript into AcpiPlatformLib

2023-06-14 Thread Corvin Köhne
This is required to move InstallQemuFwCfgTables into AcpiPlatformLib. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf

[edk2-devel] [PATCH 2/5] OvmfPkg: move PciEncoding into AcpiPlatformLib

2023-06-14 Thread Corvin Köhne
Bhyve supports providing ACPI tables by FwCfg. Therefore, InstallQemuFwCfgTables should be moved to AcpiPlatformLib to reuse the code. As first step, move PciEncoding into AcpiPlatformLib. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc

[edk2-devel] [PATCH 1/5] OvmfPkg: avoid including AcpiPlatformLib twice

2023-06-14 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Jordan Justen Cc: Leif Lindholm Cc: Peter Grehan Cc: Rebecca Cran Cc: Sami Mujawar --- OvmfPkg/Include/Library/AcpiPlatformLib.h | 5 + 1 file changed, 5 insertions(+) diff --git a/OvmfPkg/Include

[edk2-devel] [PATCH 0/5] OvmfPkg/Bhyve: install Acpi tables by FwCfg

2023-06-14 Thread Corvin Köhne
Hi, latest Bhyve exposes it's Acpi tables by FwCfg. This patch series reuses the Acpi Install method of Qemu for Bhyve. CI: https://github.com/tianocore/edk2/pull/4545 Kind regards, Corvin Corvin Köhne (5): OvmfPkg: avoid including AcpiPlatformLib twice OvmfPkg: move PciEncoding

[edk2-devel] [PATCH v1 3/3] OvmfPkg/BhyvePkg: enable bus enumeration

2023-06-12 Thread Corvin Köhne
bhyve supports adding a ROM to PCI devices. It was added to support GPU passthrough of dedicated AMD GPUs. At the moment, this ROM file is mostly useless as it's not shadowed and executed by firmware. Change that by enabling bus enumeration. Signed-off-by: Corvin Köhne Cc: Ard Biesheuve

[edk2-devel] [PATCH v1 2/3] Revert "OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE driver"

2023-06-12 Thread Corvin Köhne
We like to enable bus enumeration for bhyve. Therefore, this patch needs to be reverted. This reverts commit 8c8f886f27556f2fb6e8b502d32aa9ccee930acc. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran Cc: Peter Grehan

[edk2-devel] [PATCH v1 1/3] Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan"

2023-06-12 Thread Corvin Köhne
We like to enable bus enumartion for bhyve. Therefore, this patch needs to be reverted. This reverts commit c2f24ba3218ae91a8d5a1a31c31dad3417850d0c. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran Cc: Peter Grehan

[edk2-devel] [PATCH v1 0/3] OvmfPkg/Bhyve: enable bus enumeration

2023-06-12 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4543 Corvin Köhne (3): Revert "OvmfPkg/Bhyve: consume PciHostBridgeLibScan" Revert "OvmfPkg/Bhyve: remove IncompatiblePciDeviceSupport DXE driver" OvmfPkg/BhyvePkg: enable bus enumeration OvmfPkg/Bhyve/BhyveX64.dsc | 4

[edk2-devel] [PATCH v3 1/1] OvmfPkg/Bhyve: include TPM driver

2023-06-11 Thread Corvin Köhne
Bhyve will gain support for TPM emulation in the near future. Therefore, prepare OVMF by copying all TPM driver used by qemu's OVMF DSC into the bhyve OVMF DSC. Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffman

[edk2-devel] [PATCH v2 1/1] OvmfPkg/Bhyve: include TPM driver

2023-06-07 Thread Corvin Köhne
From: Corvin Köhne Bhyve will gain support for TPM emulation in the near future. Therefore, prepare OVMF by copying all TPM driver used by qemu's OVMF DSC into the bhyve OVMF DSC. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Re

[edk2-devel] [PATCH v2 0/1] bhyve: tpm support

2023-06-07 Thread Corvin Köhne
Hi, I'm working on TPM emulation for bhyve and would like to merge this patchset to edk2. As already send this patch to edk2 by mistake, I'm now resending this patch as v2. I've already created a PR to run all CI checks at: https://github.com/tianocore/edk2/pull/4531 Thanks,

Re: [edk2-devel] [PATCH 0/1] bhyve: TPM support for OVMF

2023-06-06 Thread Corvin Köhne
On Tue, 2023-06-06 at 15:20 +0200, Corvin Köhne wrote: > Hi, > > I'm currently working on TPM emulation for bhyve. Therefore, the > guest > firmware has to set up the TPM device properly for the guest OS. I'd > like to send the attached patch to the EDKII pr

[edk2-devel] [PATCH 0/1] bhyve: TPM support for OVMF

2023-06-06 Thread Corvin Köhne
Hi, I'm currently working on TPM emulation for bhyve. Therefore, the guest firmware has to set up the TPM device properly for the guest OS. I'd like to send the attached patch to the EDKII project. Any comments are appreciated. Thanks, Corvin Corvin Köhne (1): OvmfPkg/Bhyve: i

[edk2-devel] [PATCH 1/1] OvmfPkg/Bhyve: include TPM driver

2023-06-06 Thread Corvin Köhne
From: Corvin Köhne Bhyve will gain support for TPM emulation in the near future. Therefore, prepare OVMF by copying all TPM driver used by qemu's OVMF DSC into the bhyve OVMF DSC. Signed-off-by: Corvin Köhne --- OvmfPkg/Bhyve/BhyveX64.dsc | 17 +++-- OvmfPkg/Bhyve/BhyveX6

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

2023-06-06 Thread Corvin Köhne
emory. For that reason, pick up the ACPI tables from main memory. Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Acked-by: Peter Grehan Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen --- OvmfPkg/Bhyve/BhyveX64.dsc| 1 + .../Bhyve/

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

2023-06-06 Thread Corvin Köhne
This makes the function reuseable by bhyve. Signed-off-by: Corvin Köhne Reviewed-by: Anthony PERARD Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Julien Grall Cc: Rebecca Cran Cc: Peter Grehan --- .../XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf | 1

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

2023-06-06 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 Reviewed-by: Anthony PERARD Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen

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

2023-06-06 Thread Corvin Köhne
CI: https://github.com/tianocore/edk2/pull/4379/checks Corvin Köhne (3): OvmfPkg/Xen: export search of RSDP into a library function OvmfPkg/Xen: export AcpiTable installation into AcpiPlatformLib OvmfPkg/Bhyve: install ACPI tables from memory OvmfPkg/OvmfPkg.dec

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

2023-05-11 Thread Corvin Köhne
- Kind regards, Corvin On 5/11/23 06:02, Corvin Köhne wrote: > 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

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

2023-05-11 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

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

2023-05-11 Thread Corvin Köhne
emory. For that reason, pick up the ACPI tables from main memory. Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Acked-by: Peter Grehan Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen --- OvmfPkg/Bhyve/BhyveX64.dsc| 1 + .../Bhyve/

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

2023-05-11 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

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

2023-05-11 Thread Corvin Köhne
gt; > Cc: Gerd Hoffmann > > Cc: Rebecca Cran > > Cc: Peter Grehan > > Cc: Corvin Köhne > > Signed-off-by: Pedro Falcato > > --- > >  OvmfPkg/Bhyve/BhyveX64.dsc | 2 +- > >  OvmfPkg/Bhyve/BhyveX64.fdf | 2 +- > >  2 files changed, 2 insertions(+),

[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

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

2023-05-10 Thread Corvin Köhne
emory. For that reason, pick up the ACPI tables from main memory. Signed-off-by: Corvin Köhne Acked-by: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Rebecca Cran Cc: Peter Grehan --- OvmfPkg/Bhyve/BhyveX64.dsc| 1 + .../Bhyve/AcpiPlatformDxe/Acpi

[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

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

2023-05-07 Thread Corvin Köhne
On Fri, 2023-05-05 at 08:43 -0600, Rebecca Cran wrote: > On 5/3/23 01:32, Corvin Köhne wrote: > > > diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc > > b/OvmfPkg/Bhyve/BhyveX64.dsc > > index d0d2712c5662..465b81ffcd51 100644 > > --- a/OvmfPkg/Bhyve/BhyveX64.dsc > &

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

2023-05-03 Thread Corvin Köhne
On Tue, 2023-05-02 at 20:25 -0600, Rebecca Cran wrote: > I applied the patch and tested it. The UEFI Shell command "acpiview" > reports an error. I enabled the "acpiview" command with the patch: > > > diff --git a/OvmfPkg/Bhyve/BhyveX64.dsc b/OvmfPkg/Bhyve/BhyveX64.dsc > index d0d2712c5662..0c04

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

2023-05-03 Thread Corvin Köhne
emory. For that reason, pick up the ACPI tables from main memory. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca Cran Cc: Peter Grehan --- OvmfPkg/Bhyve/BhyveX64.dsc| 1 + .../Bhyve/AcpiPlatformDxe/AcpiPlatf

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

2023-05-03 Thread Corvin Köhne
This makes the function reuseable by bhyve. Signed-off-by: Corvin Köhne Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Anthony Perard Cc: Julien Grall Cc: Leif Lindholm Cc: Sami Mujawar --- .../XenAcpiPlatformDxe/XenAcpiPlatformDxe.inf | 1 - OvmfPkg/Include

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

2023-05-03 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 Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc

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 creat

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

2023-04-17 Thread Corvin Köhne
emory. For that reason, pick up the ACPI tables from main memory. Implementation is similar to OvmfPkg/XenAcpiPlatformDxe/Xen.c. Signed-off-by: Corvin Köhne Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Rebecca

[edk2-devel] Maintainer.txt: add myself as reviewer for bhyve's OvmfPkg

2022-12-20 Thread Corvin Köhne
Hi, can we merge this? https://edk2.groups.io/g/devel/message/97026 I've created a pull request if it's easier to merge for you: https://github.com/tianocore/edk2/pull/3718 -- Best regards, Corvin -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. Vie

[edk2-devel] [PATCH v2] Maintainer.txt: add myself as reviewer for bhyve's OvmfPkg

2022-12-06 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Reviewed-by: Peter Grehan Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Cc: devel@edk2.groups.io --- Maintainers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Maintainers.txt b/Maintainers.txt index 7e98083685

[edk2-devel] [PATCH] Maintainer.txt: add myself as reviewer for bhyve's OvmfPkg

2022-12-06 Thread Corvin Köhne
Signed-off-by: Corvin Köhne Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Cc: devel@edk2.groups.io --- Maintainers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Maintainers.txt b/Maintainers.txt index 7e98083685..3ea9a4cca6 100644 --- a/Maintainers.txt +++ b/Maintainers.txt

Re: [edk2-devel] [PATCH] OvmfPkg/BhyvePkg: use correct PlatformSecureLib

2022-09-06 Thread Corvin Köhne
Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 -Original Message- From: Ard Biesheuvel Sent: Monday, September 5, 2022 2:24 PM To: Corvin Köhne Cc: Ard Biesheuvel ; Jiewen Yao ; Jordan Justen ; Gerd Hoffmann ; Rebecca Cran ; Peter Grehan ; devel@edk2.groups.i

[edk2-devel] [PATCH] OvmfPkg/BhyvePkg: use correct PlatformSecureLib

2022-09-02 Thread Corvin Köhne
There's no bhyve specific PlatformSecureLib any more. Use the default one of OvmfPkg which works too. Signed-off-by: Corvin Köhne CC: Ard Biesheuvel CC: Jiewen Yao CC: Jordan Justen CC: Gerd Hoffmann CC: Rebecca Cran CC: Peter Grehan CC: devel@edk2.groups.io --- OvmfPkg/Bhyve/Bhy

Re: [edk2-devel] Build edk2 fail

2022-06-15 Thread Corvin Köhne
Hi, Don't know if the issue is still present for someone. I've encountered the same issue. Updating my OS from Debian 9 to Debian 10 solved it. Probably the ASL compiler is too old. So, try updating iasl. Best regards, Corvin -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages se

Re: [edk2-devel] [PATCH v5] OvmfPkg/Bhyve: add support for QemuFwCfg

2022-05-02 Thread Corvin Köhne
Hi > CI runs on all pull requests, so just open a draft pull request, then > check pull request status. I know now. Thanks. I did so before sending v5 to the mailing list and all checks have passed. https://github.com/tianocore/edk2/pull/2830 Maybe something went wrong when sending the patch to

[edk2-devel] [PATCH v6] OvmfPkg/Bhyve: add support for QemuFwCfg

2022-04-27 Thread Corvin Köhne
QemuFwCfg is much more powerful than BhyveFwCtl. Sadly, BhyveFwCtl decided to use the same IO ports as QemuFwCfg. It's not possible to use both interfaces simultaneously. So, prefer QemuFwCfg over BhyveFwCtl. Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Acked-by: Gerd Hoffmann

Re: [edk2-devel] [PATCH v5] OvmfPkg/Bhyve: add support for QemuFwCfg

2022-04-27 Thread Corvin Köhne
-Original Message- From: Rebecca Cran Sent: Tuesday, April 26, 2022 4:23 PM To: devel@edk2.groups.io; jiewen....@intel.com; Corvin Köhne Cc: Ard Biesheuvel ; Justen, Jordan L ; FreeBSD Virtualization ; Gerd Hoffmann ; Rebecca Cran ; Peter Grehan Subject: Re: [edk2-devel] [PATCH v5]

[edk2-devel] [PATCH v5] OvmfPkg/Bhyve: add support for QemuFwCfg

2022-04-26 Thread Corvin Köhne
QemuFwCfg is much more powerful than BhyveFwCtl. Sadly, BhyveFwCtl decided to use the same IO ports as QemuFwCfg. It's not possible to use both interfaces simultaneously. So, prefer QemuFwCfg over BhyveFwCtl. Signed-off-by: Corvin Köhne Reviewed-by: Rebecca Cran Acked-by: Gerd Hoffmann

Re: [edk2-devel] [PATCH v4] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-26 Thread Corvin Köhne
rt: Guetersloh HRA 7075 -Original Message- From: Rebecca Cran Sent: Tuesday, April 26, 2022 4:39 AM To: Corvin Köhne Cc: Corvin Köhne ; Ard Biesheuvel ; Jordan Justen ; devel@edk2.groups.io; FreeBSD Virtualization ; Jiewen Yao ; Gerd Hoffmann ; Peter Grehan Subject: Re: [PAT

Re: [edk2-devel] [PATCH v4] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-25 Thread Corvin Köhne
Hi, does it require more review to get merged? Best regards Corvin Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 -Original Message- From: Corvin Köhne Sent: Friday, Apr

[edk2-devel] [PATCH v4] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-08 Thread Corvin Köhne
From: Corvin Köhne QemuFwCfg is much more powerful than BhyveFwCtl. Sadly, BhyveFwCtl decided to use the same IO ports as QemuFwCfg. It's not possible to use both interfaces simultaneously. So, prefer QemuFwCfg over BhyveFwCtl. Signed-off-by: Corvin Köhne Acked-by: Gerd Hoffmann Ack

Re: [edk2-devel] [PATCH v2] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-07 Thread Corvin Köhne
Hi Rebecca and Peter, thank you very much for your feedback. Best regards Corvin Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all m

[edk2-devel] [PATCH v3] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-07 Thread Corvin Köhne
From: Corvin Köhne QemuFwCfg is much more powerful than BhyveFwCtl. Sadly, BhyveFwCtl decided to use the same IO ports as QemuFwCfg. It's not possible to use both interfaces simultaneously. So, prefer QemuFwCfg over BhyveFwCtl. Signed-off-by: Corvin Köhne Acked-by: Gerd Hoffmann Ack

Re: [edk2-devel] [PATCH v2] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-06 Thread Corvin Köhne
Hi Peter and Rebecca, thanks for your feedback. This patch is backward compatible. It checks if QemuFwCfg is available and if QemuFwCfg is missing it falls back to BhyveFwCtl. So, should I add Reviewed-by (or Acked-by?) Peter and Rebecca to the commit message? Thanks Corvin Beckhoff Automation

Re: [edk2-devel] [PATCH v2] OvmfPkg/BhyveBhfPkg: add support for QemuFwCfg

2022-04-06 Thread Corvin Köhne
Any comments from bhyve folks on that? Best regards Corvin Beckhoff Automation GmbH & Co. KG | Managing Director: Dipl. Phys. Hans Beckhoff Registered office: Verl, Germany | Register court: Guetersloh HRA 7075 -Original Message- From: Corvin Köhne Sent: Tuesday, March 29, 2022 1

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

2022-04-05 Thread Corvin Köhne
Hi, > > I don't know if it's possible to extract it from host firmware within > > OS context easily. > > Extracting from firmware updates is probably easier. Good idea but I'll focus on the rest first because I have access to the GOP driver for my systems. > > According to Intel you should ask y

  1   2   >