]> git.karo-electronics.de Git - karo-tx-linux.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)
commita7eb08c2a14f28cb652ea6ad1a8e2b8efc55fb9a
tree0c659e7f0d9af18bad57f705a7099f37157c245a
parent34a65055e5e7304b3d6ad0f7542bf66308eae50a
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