This patch set tries to generalize MCFG table build process. Several patches are already merged and these two are left for the following reasons:
* conflict with latest upstream * ACPI_PCI dependency fix * missed reserved[8] in MCFG v4->v5: * ACPI_PCI depends on both ACPI and PCI * rebase on latest master, adjust arm Kconfig * miss the reserved[8] of MCFG, add it back * make sure bios-tables-test all OK Wei Yang (2): hw/acpi: Consolidate build_mcfg to pci.c acpi: pci: use build_append_foo() API to construct MCFG default-configs/i386-softmmu.mak | 1 + hw/acpi/Kconfig | 4 +++ hw/acpi/Makefile.objs | 1 + hw/acpi/pci.c | 61 ++++++++++++++++++++++++++++++++ hw/arm/Kconfig | 1 + hw/arm/virt-acpi-build.c | 17 --------- hw/i386/acpi-build.c | 18 +--------- include/hw/acpi/acpi-defs.h | 18 ---------- include/hw/acpi/pci.h | 1 + 9 files changed, 70 insertions(+), 52 deletions(-) create mode 100644 hw/acpi/pci.c -- 2.19.1