Prevent oops at boot with VT-d
authorDirk Hohndel <hohndel@linux.intel.com>
Sun, 11 Jan 2009 15:33:51 +0000 (15:33 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Jan 2009 16:03:46 +0000 (08:03 -0800)
commit288e4877f94a3b144aadc206e7796921d02432c1
tree468a77a0c6e22a3d1076d2d98c4dde5c3f8a3ebc
parent37a76bd4f1b716949fc38a6842e89f0ccb8384d0
Prevent oops at boot with VT-d

With some broken BIOSs when VT-d is enabled, the data structures are
filled incorrectly. This can cause a NULL pointer dereference in very
early boot.

Signed-off-by: Dirk Hohndel <hohndel@linux.intel.com>
Acked-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/intel-iommu.c