intel-iommu: Remove Host Bridge devices from identity mapping
commitb8f794de1463ab32ed90c97ad6edbcecd931abed
authorMike Travis <travis@sgi.com>
Sat, 28 May 2011 18:15:06 +0000 (28 13:15 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:31 +0000 (23 15:05 -0700)
treeb9ef9d5992e6ca4383acc7e2217846adfb4c8614
parent80ebe0ace73cb376f66bdeeb92f4e7b5d4a3f8fb
intel-iommu: Remove Host Bridge devices from identity mapping

commit 825507d6d059f1cbe2503e0e5a3926225b983aec upstream.

When using the 1:1 (identity) PCI DMA remapping, PCI Host Bridge devices
that do not use the IOMMU causes a kernel panic.  Fix that by not
inserting those devices into the si_domain.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/intel-iommu.c