WSL2-Linux-Kernel/drivers/idle
Dan Williams 09c8a5b85e ioat: switch watchdog and reset handler from workqueue to timer
In order to support dynamic resizing of the descriptor ring or polling
for a descriptor in the presence of a hung channel the reset handler
needs to make progress while in a non-preemptible context.  The current
workqueue implementation precludes polling channel reset completion
under spin_lock().

This conversion also allows us to return to opportunistic cleanup in the
ioat2 case as the timer implementation guarantees at least one cleanup
after every descriptor is submitted.  This means the worst case
completion latency becomes the timer frequency (for exceptional
circumstances), but with the benefit of avoiding busy waiting when the
lock is contended.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-09-08 17:30:24 -07:00
..
Kconfig i7300_idle: Kconfig, show menu only on x86_64 2008-10-28 00:14:47 -04:00
Makefile i7300_idle driver v1.55 2008-10-21 23:58:41 -04:00
i7300_idle.c ioat: switch watchdog and reset handler from workqueue to timer 2009-09-08 17:30:24 -07:00