PCI: Make the intel-iommu_wait_op macro work when jiffies are not running
authormark gross <mgross@linux.intel.com>
Mon, 12 May 2008 20:41:57 +0000 (13:41 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 13 May 2008 16:51:54 +0000 (09:51 -0700)
The following patch changes the intel-iommu.c code to use the TSC
instead of jiffies for detecting bad DMAR functionality.  Some systems
with bad bios's have been seen to hang in early boot spinning in the
IOMMU_WAIT_IO macro.  This patch will replace the infinite loop with a call to
panic.

Signed-off-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/intel-iommu.c

Simple merge