]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86 PCI: Fix identity mapping for sandy bridge
authorMike Travis <travis@sgi.com>
Fri, 10 Aug 2012 11:37:48 +0000 (04:37 -0700)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 10 Aug 2012 11:38:37 +0000 (04:38 -0700)
commitca22abadba4d686f44572a2edf590cfcd1590e12
tree57cff6e6723faf12281c36883a2d36f8e4576ee2
parent1b8abc48be5e896eec7469b792b05badea08fbd8
x86 PCI: Fix identity mapping for sandy bridge

With SandyBridge, Intel has changed these Socket PCI devices to have a class
type of "System Peripheral" & "Performance counter", rather than "HostBridge".
So instead of using a "special" case to detect which devices will not be
doing DMA, use the fact that a device that is not associated with an IOMMU,
will not need an identity map.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Mike Habeck <habeck@sgi.com>
drivers/pci/intel-iommu.c