VT-d: fix segment number being ignored when searching DRHD
authorYu Zhao <yu.zhao@intel.com>
Mon, 22 Dec 2008 08:54:58 +0000 (16:54 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 11:05:28 +0000 (12:05 +0100)
commit2e824f79240476d57a8589f46232cabf151efe90
tree0e6011ff3237ba92ddae39029ea501358c7de6b7
parent19c239ce3d089fee339d1ab7e97b43d6f0557ce5
VT-d: fix segment number being ignored when searching DRHD

On platforms with multiple PCI segments, any of the segments can have a DRHD
with INCLUDE_PCI_ALL flag. So need to check the DRHD's segment number against
the PCI device's when searching its DRHD.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/pci/dmar.c