]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c0355cefffbccdd641492f21bf57e774172d82d
tree0c659e7f0d9af18bad57f705a7099f37157c245a
parent6cb37f6aa6f73250bd8ff8aade268ea26ebcd342
PCI: Make the intel-iommu_wait_op macro work when jiffies are not running

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