dmatest: add dma interrupts and callbacks
authorDan Williams <dan.j.williams@intel.com>
Wed, 25 Mar 2009 16:13:25 +0000 (09:13 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 25 Mar 2009 16:13:25 +0000 (09:13 -0700)
commite44e0aa3cfa97cddff01704751a4b25151830c72
tree9d876e5e47813101a4fc125831e0188664c486e0
parentb54d5cb9156868fb4f27ccd46a3afb0bf3ef8e0c
dmatest: add dma interrupts and callbacks

Use the callback infrastructure to report driver/hardware hangs or
missed interrupts.  Since this makes the test threads much more
aggressive (from: explicit 1ms sleep to: wait_for_completion) we set the
nice value to 10 so as to not swamp legitimate tasks.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c