Skip to content
Commit a7eb08c2 authored by mark gross's avatar mark gross Committed by Jesse Barnes
Browse files

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: default avatarMark Gross <mgross@linux.intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 34a65055
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment