diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-06-20 11:08:06 +0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-06-20 16:18:04 +0400 |
commit | 27e249501ca06a3010519c306206cc402b61b5ab (patch) | |
tree | a0d56fa11342b6c75ec8d194aca76b0528fbfa71 /drivers/iommu/amd_iommu_v2.c | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-27e249501ca06a3010519c306206cc402b61b5ab.tar.xz |
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: <stable@vger.kernel.org> # 3.15
Reported-by: Tom Mingarelli <thomas.mingarelli@hp.com>
Tested-by: Linda Knippers <linda.knippers@hp.com>
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_v2.c')
0 files changed, 0 insertions, 0 deletions