]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
intel-iommu: Handle PCI domains appropriately.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Apr 2009 00:45:37 +0000 (01:45 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Apr 2009 09:43:31 +0000 (10:43 +0100)
commit276dbf997043cbf38f0087624e0f9c51742c8885
treeeface2519a6ad4c25c2864ee1ee69361ea3f594c
parent924b6231edfaf1e764ffb4f97ea382bf4facff58
intel-iommu: Handle PCI domains appropriately.

We were comparing {bus,devfn} and assuming that a match meant it was the
same device. It doesn't -- the same {bus,devfn} can exist in
multiple PCI domains. Include domain number in device identification
(and call it 'segment' in most places, because there's already a lot of
references to 'domain' which means something else, and this code is
infected with ACPI thinking already).

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/dmar.c
drivers/pci/intel-iommu.c
include/linux/dmar.h