]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Introduce is_downstream_to_pci_bridge helper
authorEric Auger <eric.auger@redhat.com>
Mon, 3 Jun 2019 06:53:32 +0000 (08:53 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Jun 2019 08:32:59 +0000 (10:32 +0200)
commit3565e834c56ad4d3a459b5ba5973257d329b7126
tree4222f116d83c058cde1815a1fa37a4bfdf0ed86e
parentb06a019d21e82f46db4aa93282d1e7df4a6f6833
iommu/vt-d: Introduce is_downstream_to_pci_bridge helper

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: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c