]> git.proxmox.com Git - mirror_qemu.git/commit
pcihp: compose PCNT callchain right before its user _GPE._E01
authorIgor Mammedov <imammedo@redhat.com>
Thu, 12 Jan 2023 14:02:53 +0000 (15:02 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 28 Jan 2023 11:21:29 +0000 (06:21 -0500)
commitddab4d3fae4e8cb3b1d70c9f2364987ddc18c6a3
tree14da72bf121d65449573a005aac0ae6fd6e21653
parentb111f43017ad22e44d114cf0adc932a32d16c405
pcihp: compose PCNT callchain right before its user _GPE._E01

it's a stepping stone to making build_append_pci_bus_devices() suitable
for AcpiDevAmlIfClass:build_dev_aml callback and lets further simplify
it by separating PCNT generation from slots descriptions.

It also makes PCNT callchain ASL much more readable since callchain
not longer cluttered by slots descriptors.

Plus, move will let next patch easily drop empty PCNT (pc/q35)
when there is nothing hotpluggable.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230112140312.3096331-22-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c