This patch set tries to generalize MCFG table build process. And it is based on one un-merged patch from Igor, which is included in this serials.
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 v3->v4: * adjust comment to give more information about MCFG table v2->v3: * Includes the un-merged patch from Igor * use build_append_foo() API to construct MCFG Igor Mammedov (1): q35: acpi: do not create dummy MCFG table Wei Yang (5): hw/arm/virt-acpi-build: remove unnecessary variable mcfg_start i386, acpi: remove mcfg_ prefix in AcpiMcfgInfo members hw/arm/virt-acpi-build: pass AcpiMcfgInfo to build_mcfg() 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 | 57 ++++++++++++++++++++++++++++++++ hw/arm/Kconfig | 1 + hw/arm/virt-acpi-build.c | 31 +++++------------ hw/i386/acpi-build.c | 44 ++++-------------------- include/hw/acpi/acpi-defs.h | 18 ---------- include/hw/acpi/pci.h | 34 +++++++++++++++++++ 9 files changed, 113 insertions(+), 78 deletions(-) create mode 100644 hw/acpi/pci.c create mode 100644 include/hw/acpi/pci.h -- 2.19.1