OSDN Git Service

acpi/gpex: Fix cca attribute check for pxb device
authorXingang Wang <wangxingang5@huawei.com>
Fri, 5 Feb 2021 01:56:44 +0000 (01:56 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 15:06:55 +0000 (10:06 -0500)
commitb48088d60e8466eea2cc517dedb7ee0d97b7feab
tree3aea76b3a2c6d3c43ea099275ff9aac4d4ebdd2f
parent451730cfe455a00c6d36fc110ef9b7ab6d646a82
acpi/gpex: Fix cca attribute check for pxb device

When check DMA support for device attached to pxb,
the cache coherency attribute need to be set.
This add _CCA attribute for pxb DSDT.

Fixes: 6f9765fbad ("acpi/gpex: Build tables for pxb")

Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Xingang Wang <wangxingang5@huawei.com>
Message-Id: <1612490205-48788-3-git-send-email-wangxingang5@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/pci-host/gpex-acpi.c