Given all the trouble we've had recently with ACPI tables and gEfiPciEnumerationCompleteProtocolGuid, this series attempts to remove the gEfiPciEnumerationCompleteProtocolGuid dependency by instead delaying publishing of ACPI tables until the ReadyToBoot signal.
Unfortunately, some S3 code wants the FACS and FACP tables published earlier, so this series publishes those tables at the driver entry point, and the remaining tables at the ReadyToBoot event. Since gEfiPciEnumerationCompleteProtocolGuid is removed as a dependency, the Xen issue should be resolved. For QEMU without fw-cfg, this series should cause the full tables to be published earlier. https://github.com/jljusten/edk2.git acpi-split-publish Jordan Justen (8): OvmfPkg/PlatformBdsLib: Signal ReadyToBoot before booting QEMU kernel OvmfPkg/QemuFwCfgAcpiPlatformDxe: Move entry point to QemuFwCfgAcpi.c OvmfPkg/AcpiPlatformDxe: Assert if AcpiTable protocol is not found OvmfPkg/AcpiPlatformDxe: Start to add support for 2 stage table upload OvmfPkg/AcpiPlatformDxe: Add extra debug message for tables OvmfPkg/AcpiPlatformDxe: Split ACPI table publishing into two phases OvmfPkg/AcpiPlatformDxe: Delay publishing some tables until ReadyToBoot OvmfPkg/AcpiPlatformDxe: Don't depend on PciEnumerationComplete OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 6 +- OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 4 +- OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 2 +- OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c | 193 +++++++++++++++++++-- OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatform.c | 52 ------ .../AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf | 1 - OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 1 + OvmfPkg/Library/PlatformBdsLib/QemuKernel.c | 6 + 8 files changed, 192 insertions(+), 73 deletions(-) delete mode 100644 OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatform.c -- 2.1.4 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel