]> git.proxmox.com Git - mirror_qemu.git/commit
acpi/gpex: Build tables for pxb
authorYubo Miao <miaoyubo@huawei.com>
Thu, 19 Nov 2020 01:48:37 +0000 (09:48 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (13:48 -0500)
commit6f9765fbad3d86de008f2e0f6821c29155eb0d85
treeea110efe9ff1522a23bf4efb4ff7694ea754756a
parent37d5c0a8ff812682c50865cd314348611319d872
acpi/gpex: Build tables for pxb

The resources of pxbs are obtained by crs_build and the resources
used by pxbs would be moved from the resources defined for host-bridge.

The resources for pxb are composed of following two parts:
1. The bar space of the pci-bridge/pcie-root-port behined it
2. The config space of devices behind it.

Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20201119014841.7298-6-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt-acpi-build.c
hw/pci-host/gpex-acpi.c
include/hw/pci-host/gpex.h