From: Jiang Liu Date: Fri, 20 Jun 2014 07:08:06 +0000 (+0800) Subject: iommu/vt-d: fix bug in handling multiple RMRRs for the same PCI device X-Git-Tag: omap-for-v3.16/fixes-rc4~40^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e249501ca06a3010519c306206cc402b61b5ab;p=pandora-kernel.git iommu/vt-d: fix bug in handling multiple RMRRs for the same PCI device Function dmar_iommu_notify_scope_dev() makes a wrong assumption that there's one RMRR for each PCI device at most, which causes DMA failure on some HP platforms. So enhance dmar_iommu_notify_scope_dev() to handle multiple RMRRs for the same PCI device. Fixbug: https://bugzilla.novell.com/show_bug.cgi?id=879482 Cc: # 3.15 Reported-by: Tom Mingarelli Tested-by: Linda Knippers Signed-off-by: Jiang Liu Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed