Skip to content
Commit 19d78a61 authored by Dimitri Sivanich's avatar Dimitri Sivanich Committed by Dan Williams
Browse files

x86: poll waiting for I/OAT DMA channel status



For certain system configurations a 5 usec udelay before checking I/OAT DMA
channel status is sometimes not sufficient, resulting in a false failure
status and unnecessary freeing of channel resources.  Conversely, for many
configurations 5 usec is longer than necessary.

Loop for up to 20 usec waiting for successful status before failing.

Signed-off-by: default avatarDimitri Sivanich <sivanich@sgi.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 5dbd05d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment