From: Jiang Liu Date: Fri, 11 Jul 2014 06:19:25 +0000 (+0800) Subject: iommu/vt-d: Match segment number when searching for dev_iotlb capable devices X-Git-Tag: omap-for-v3.17/fixes-against-rc2~158^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b497c6bb51a2be1173cbf1d1ef4ce5e88e722e;p=pandora-kernel.git iommu/vt-d: Match segment number when searching for dev_iotlb capable devices For virtual machine and static identity domains, there may be devices from different PCI segments associated with the same domain. So function iommu_support_dev_iotlb() should also match PCI segment number (iommu unit) when searching for dev_iotlb capable devices. Signed-off-by: Jiang Liu Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed