Skip to content
Snippets Groups Projects
Commit c0175ca5 authored by Eric Auger's avatar Eric Auger Committed by Yang Yingliang
Browse files

iommu/vt-d: Introduce is_downstream_to_pci_bridge helper


mainline inclusion
from mainline-5.3
commit b9a7f981
category: bugfix
bugzilla: 17401
CVE: NA

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

Several call sites are about to check whether a device belongs
to the PCI sub-hierarchy of a candidate PCI-PCI bridge.
Introduce an helper to perform that check.

Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 77cf991c
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment