OSDN Git Service

acpi/gpex: Exclude pxb's resources from PCI0
authorJiahui Cen <cenjiahui@huawei.com>
Thu, 14 Jan 2021 10:06:40 +0000 (18:06 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 17 Jan 2021 11:42:54 +0000 (06:42 -0500)
commitaee519c210f2508b5070c4f85ed0e09892042e05
tree60ae582c43736778c19b459715e429804d822442
parent0cf8882fd06ba0aeb1e90fa6f23fce85504d7e14
acpi/gpex: Exclude pxb's resources from PCI0

Exclude the resources of extra root bridges from PCI0's _CRS. Otherwise,
the resource windows would overlap in guest, and the IO resource window
would fail to be registered.

Acked-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Message-Id: <20210114100643.10617-6-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-host/gpex-acpi.c