diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-04 00:39:25 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-04 10:43:29 +0100 |
commit | 924b6231edfaf1e764ffb4f97ea382bf4facff58 (patch) | |
tree | b51226e356c458d58c20a4c0dd1cb17c12b67086 /include/linux/dmar.h | |
parent | d0b03bd1c6725a3463290d7f9626e4b583518a5a (diff) |
intel-iommu: Fix device-to-iommu mapping for PCI-PCI bridges.
When the DMAR table identifies that a PCI-PCI bridge belongs to a given
IOMMU, that means that the bridge and all devices behind it should be
associated with the IOMMU. Not just the bridge itself.
This fixes the device_to_iommu() function accordingly.
(It's broken if you have the same PCI bus numbers in multiple domains,
but this function was always broken in that way; I'll be dealing with
that later).
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/dmar.h')
0 files changed, 0 insertions, 0 deletions