Commit a684e5cb authored by LeoLiu-oc's avatar LeoLiu-oc Committed by Yang Yingliang
Browse files

iommu/vt-d: Add support for ACPI device use physical, node as pci device to...

iommu/vt-d: Add support for ACPI device use physical, node as pci device to establish identity mapping

zhaoxin inclusion
category: feature
bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=19


CVE: NA

----------------------------------------------------------------

When using ACPI device to create identity mapping, if the physical node of
the ACPI device is a pci device, domain_1 will be created for these two
devices. But if the pci device and other pci devices belong to another
domain_2, this will happen conflict and destroy another domain. Such as
PCI devices under the PCIE-to-PCI bridge. Therefore, when the physical
node of the ACPI device is a PCI device, this patch uses the PCI device to
create the domain. In this way, there is only one domain.

Signed-off-by: default avatarLeoLiu-oc <LeoLiu-oc@zhaoxin.com>
Reviewed-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 456b9b33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment