]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: q35: isa bridge: use AcpiDevAmlIf interface to build ISA device descriptors
authorIgor Mammedov <imammedo@redhat.com>
Wed, 8 Jun 2022 13:53:25 +0000 (09:53 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Jun 2022 23:32:49 +0000 (19:32 -0400)
commit887e8e9d3a4578059bd0a213e9b3cae81943dc18
treee17f91cb25cc922a0301cb1fa369d45c705f3628
parent92ea7fb3fe311d30905e12a962b22a38251c1a79
acpi: q35: isa bridge: use AcpiDevAmlIf interface to build ISA device descriptors

replaces adhoc build_isa_devices_aml() with generic AcpiDevAmlIf
way to build bridge AML including all devices that are attached
to its ISA bus.

Later when PCI is converted to AcpiDevAmlIf, build_q35_isa_bridge()
will also be dropped since PCI parts itself will take care of
building device prologue/epilogue AML for each enumerated PCI device.

Expected AML change is contextual, where ISA devices are moved from
separately declared _SB.PCI0.ISA scope, directly under Device(ISA)
node.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220608135340.3304695-21-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
hw/isa/lpc_ich9.c