Skip to content

RFC q35: add legacy pci acpi hotplug support

Marcel Apfelbaum qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/acpi: remove dead acpi codehw/i386/acpi-build.c+0 -101 reply
2/7hw/acpi: simplify dsdt building codehw/i386/acpi-build.c+26 -321 reply
3/7hw/acpi: fix a DSDT table issue when a pxb is present.hw/i386/acpi-build.c+4 -02 replies
4/7hw/apci: fix pcihp io initializationhw/i386/acpi-build.c+6 -44 replies
5/7hw/acpi: prepare pci hotplug IO for ich9hw/i386/acpi-build.c+5 -70 replies
6/7hw/acpi: extend acpi pci hotplug support for pci expresshw/i386/acpi-build.c+32 -175 replies
7/7hw/ich9: enable pci acpi hotplughw/acpi/ich9.c hw/isa/lpc_ich9.c include/hw/acpi/ich9.h +1 more+53 -14 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchIgor Mammedov
1/7R-b
2/7R-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH RFC 0/7] q35: add legacy pci acpi hotplug support

The series adds hotplug support to legacy PCI buses for Q35 machines. The ACPI hotplug code is emitted if at least one legacy pci-bridge is present.

It is still RFC because:
- the compat code is for 2.6 machines
- it works only for pci-bridge, there are still some issues with i82801b11-bridge
- needs more testing

The current implementation does not include PCIe Root Port support.

Patches 1-4: various acpi pre-requisites fixes
Patch 5: adds pcihp initialization code to Q35
Patch 6: makes acpi pci hotplug generic by handling PCIe cases Patch 7: Adds pchihp support to ich9.

Thanks,
Marcel

Marcel Apfelbaum (7):
hw/acpi: remove dead acpi code
hw/acpi: simplify dsdt building code
hw/acpi: fix a DSDT table issue when a pxb is present. hw/apci: fix pcihp io initialization
hw/acpi: prepare pci hotplug IO for ich9 hw/acpi: extend acpi pci hotplug support for pci express hw/ich9: enable pci acpi hotplug

 hw/acpi/ich9.c         |  31 +++++++++++++
 hw/i386/acpi-build.c   | 119 +++++++++++++++++++++++++------------------------
 hw/isa/lpc_ich9.c      |  12 +++++
 include/hw/acpi/ich9.h |   4 ++
 include/hw/i386/pc.h   |   7 ++-
 5 files changed, 114 insertions(+), 59 deletions(-)
Signature · 1 line
2.4.3