From: Yinghai Date: Fri, 9 Apr 2010 00:07:55 +0000 (+0100) Subject: intel-iommu: use physfn to search drhd for VF X-Git-Tag: v2.6.35-rc1~434^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda565492776b7dff5f8507298d868745e734aab;p=pandora-kernel.git intel-iommu: use physfn to search drhd for VF When virtfn is used, we should use physfn to find correct drhd -v2: add pci_physfn() Suggested by Roland Dreier do can remove ifdef in dmar.c -v3: Chris pointed out we need that for dma_find_matched_atsr_unit too also change dmar_pci_device_match() static Signed-off-by: Yinghai Lu Acked-by: Roland Dreier Acked-by: Chris Wright Acked-by: Jesse Barnes Signed-off-by: David Woodhouse --- Reading git-diff-tree failed