]> git.baikalelectronics.ru Git - kernel.git/commit
I/OAT: Add watchdog/reset functionality to ioatdma
authorMaciej Sosnowski <maciej.sosnowski@intel.com>
Tue, 22 Jul 2008 17:07:33 +0000 (10:07 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 22 Jul 2008 17:07:33 +0000 (10:07 -0700)
commit8a3915dab7470426803b06dddbeeae56a7ec0672
treece3cb72509cc6c03bfc5d70a3ca0901a44b87fc0
parent843a2a528e99f61fef6aee6a250188707c48ef5e
I/OAT: Add watchdog/reset functionality to ioatdma

Due to occasional DMA channel hangs observed for I/OAT versions 1.2 and 2.0
a watchdog has been introduced to check every 2 seconds
if all channels progress normally.
If stuck channel is detected, driver resets it.
The reset is done in two parts. The second part is scheduled
by the first one to reinitialize the channel after the restart.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat_dma.c
drivers/dma/ioatdma.h