Re: [Patch] iommu/vt-d: fix bug in handling multiple RMRRs for the same PCI device

Joerg Roedel <[email protected]> Fri, 20 Jun 2014 14:23:20 +0200
Newsgroups gmane.linux.kernel.pci,gmane.linux.kernel.iommu,gmane.linux.hotplug.devel,gmane.linux.kernel
Message-ID <[email protected]>
On Fri, Jun 20, 2014 at 03:08:06PM +0800, Jiang Liu wrote:
> 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: <[email protected]> # 3.15
> Reported-by: Tom Mingarelli <[email protected]>
> Tested-by: Linda Knippers <[email protected]>
> Signed-off-by: Jiang Liu <[email protected]>

Applied to iommu/fixes, thans Jiang.