[PATCH] iommu/vt-d: fix bug in matching PCI devices with DRHD/RMRR descriptors

2014-04-14 Thread Jiang Liu
Commit "59ce0515cdaf iommu/vt-d: Update DRHD/RMRR/ATSR device scope caches when PCI hotplug happens" introduces a bug, which fails to match PCI devices with DMAR device scope entries if PCI path array in the entry has more than one level. For example, it fails to handle [1D2h 0466 1]

[PATCH] iommu/vt-d: fix bug in matching PCI devices with DRHD/RMRR descriptors

2014-04-14 Thread Jiang Liu
Commit 59ce0515cdaf iommu/vt-d: Update DRHD/RMRR/ATSR device scope caches when PCI hotplug happens introduces a bug, which fails to match PCI devices with DMAR device scope entries if PCI path array in the entry has more than one level. For example, it fails to handle [1D2h 0466 1] Device