WSL2-Linux-Kernel/drivers/dma/ioat
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
..
Makefile ioat2,3: convert to a true ring buffer 2009-09-08 17:29:55 -07:00
dca.c ioat: ___devinit annotate the initialization paths 2009-09-08 17:30:24 -07:00
dma.c ioat: switch watchdog and reset handler from workqueue to timer 2009-09-08 17:30:24 -07:00
dma.h ioat: switch watchdog and reset handler from workqueue to timer 2009-09-08 17:30:24 -07:00
dma_v2.c ioat: switch watchdog and reset handler from workqueue to timer 2009-09-08 17:30:24 -07:00
dma_v2.h ioat: switch watchdog and reset handler from workqueue to timer 2009-09-08 17:30:24 -07:00
hw.h ioat1: trim ioat_dma_desc_sw 2009-09-08 17:30:24 -07:00
pci.c ioat2,3: convert to a true ring buffer 2009-09-08 17:29:55 -07:00
registers.h ioat: switch watchdog and reset handler from workqueue to timer 2009-09-08 17:30:24 -07:00