]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Handle PCI bridge RMRR device scopes in intel_iommu_get_resv_regions
authorEric Auger <eric.auger@redhat.com>
Mon, 3 Jun 2019 06:53:34 +0000 (08:53 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Jun 2019 08:32:59 +0000 (10:32 +0200)
commitdbfad038c87836e7e011a7e2e5a21f558062b578
treeb60b0250fb1f7d1a656fe4709b5f4e898d1e5c02
parent3557b32c2058bab0dfda70c8f4b9acf1583ab551
iommu/vt-d: Handle PCI bridge RMRR device scopes in intel_iommu_get_resv_regions

In the case the RMRR device scope is a PCI-PCI bridge, let's check
the device belongs to the PCI sub-hierarchy.

Fixes: 249e843b7304 ("iommu/vt-d: Implement reserved region get/put callbacks")
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