From: Mike Travis Date: Mon, 5 Mar 2012 23:05:16 +0000 (-0800) Subject: x86/iommu/intel: Fix identity mapping for sandy bridge X-Git-Tag: v3.4-rc1~196^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eae460b6590bb924d4e528d6cc7ccd4d993ff8dd;p=pandora-kernel.git x86/iommu/intel: 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 Signed-off-by: Mike Habeck Cc: Jack Steiner Cc: David Woodhouse Cc: Chris Wright Cc: Daniel Rahn Cc: Jesse Barnes Cc: Joerg Roedel Signed-off-by: Andrew Morton Link: http://lkml.kernel.org/n/tip-018fywmjs3lmzfyzjlktg8dx@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed