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

iommu/vt-d: Handle PCI bridge RMRR device scopes in intel_iommu_get_resv_regions


mainline inclusion
from mainline-5.3
commit 3855ba2d
category: bugfix
bugzilla: 17414
CVE: NA

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

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

Fixes: 0659b8dc ("iommu/vt-d: Implement reserved region get/put callbacks")

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 beb21ed0
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