From: Ben Hutchings Date: Wed, 12 Jun 2013 17:09:08 +0000 (+0100) Subject: sfc: Improve test for IOMMU in use X-Git-Tag: v3.11-rc1~64^2~151^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636d73da27e83ce4882f8823f79063bb37980961;p=pandora-kernel.git sfc: Improve test for IOMMU in use The device::iommu_group field may be set even if no IOMMU is in use. iommu_present() is still a better indicator, although it doesn't tell us whether *our* device is affected. Reported-by: Alex Williamson Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed