Date: Mon, 12 Jun 2023 15:18:44 +0200 From: =?UTF-8?q?Corvin=20K=C3=B6hne?= <corvink@FreeBSD.org> To: virtualization@freebsd.org Cc: =?UTF-8?q?Corvin=20K=C3=B6hne?= <corvink@FreeBSD.org> Subject: [PATCH 0/5] OvmfPkg/Bhyve: install ACPI tables by FwCfg Message-ID: <20230612132558.349152-1-corvink@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi, this is the next patch stack for EDKII. Bhyve is able to pass ACPI tables to the guest by FwCfg. This is more flexible and less space limited than our current approach of placing ACPI tables into memory. So, this patch stack modifes the guest firmware to pick up ACPI tables from FwCfg. If that's not possible, it's falls back to our old approach of picking up ACPI tables from memory. Any feedback, even if it's just a short "Looks good" or "Keep going", is appreciated. Kind regards, Corvin Corvin Köhne (5): OvmfPkg: move PciEncoding into AcpiPlatformLib OvmfPkg: move BootScript into AcpiPlatformLib OvmfPkg: move QemuFwCfgAcpi into AcpiPlatformLib OvmfPkg: avoid including AcpiPlatformLib twice OvmfPkg/Bhyve: install Acpi tables provided by FwCfg OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 10 +- .../Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf | 1 - .../AcpiPlatformLib/DxeAcpiPlatformLib.inf | 14 ++ OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 51 ---- OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h | 17 -- OvmfPkg/Include/Library/AcpiPlatformLib.h | 56 +++++ OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 3 + OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 5 + OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c | 232 ------------------ .../AcpiPlatformLib}/BootScript.c | 3 +- .../AcpiPlatformLib}/PciDecoding.c | 3 +- .../AcpiPlatformLib}/QemuFwCfgAcpi.c | 3 +- 13 files changed, 83 insertions(+), 316 deletions(-) delete mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c rename OvmfPkg/{AcpiPlatformDxe => Library/AcpiPlatformLib}/BootScript.c (96%) rename OvmfPkg/{AcpiPlatformDxe => Library/AcpiPlatformLib}/PciDecoding.c (96%) rename OvmfPkg/{AcpiPlatformDxe => Library/AcpiPlatformLib}/QemuFwCfgAcpi.c (96%) -- 2.41.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230612132558.349152-1-corvink>