[Qemu-devel] [PATCH v6 0/2] Extract build_mcfg Part 2

Wei Yang posted 2 patches 6 years, 8 months ago
Test FreeBSD passed
Test s390x passed
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190521062836.6541-1-richardw.yang@linux.intel.com
Maintainers: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Igor Mammedov <imammedo@redhat.com>, Shannon Zhao <shannon.zhaosl@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <rth@twiddle.net>, Eduardo Habkost <ehabkost@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>
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
[Qemu-devel] [PATCH v6 0/2] Extract build_mcfg Part 2
Posted by Wei Yang 6 years, 8 months ago
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