ioat2,3: put channel hardware in known state at init
authorDan Williams <dan.j.williams@intel.com>
Sat, 19 Dec 2009 22:36:02 +0000 (15:36 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 19 Dec 2009 22:36:02 +0000 (15:36 -0700)
commita6d52d70677e99bdb89b6921c265d0a58c22e597
tree9310005efbfa5d3141c1bf9d9ed5464377419f1e
parente02a0e47a3f061c1a53fc4376332a988ec047e8a
ioat2,3: put channel hardware in known state at init

Put the ioat2 and ioat3 state machines in the halted state with all
errors cleared.

The ioat1 init path is not disturbed for stability, there are no
reported ioat1 initiaization issues.

Cc: <stable@kernel.org>
Reported-by: Roland Dreier <rdreier@cisco.com>
Tested-by: Roland Dreier <rdreier@cisco.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/dma_v2.h
drivers/dma/ioat/dma_v3.c
drivers/dma/ioat/registers.h