android_kernel_xiaomi_sm8350/drivers/dma/ioat
Dan Williams cd78809f61 ioat3: fix p-disabled q-continuation
When continuing a pq calculation the driver needs 3 extra sources.  The
driver can perform a 3 source calculation with a single descriptor, but
needs an extended descriptor to process up to 8 sources in one
operation.  However, in the p-disabled case only one extra source is
needed.  When continuing a p-disabled operation there are occasions
(i.e. 0 < src_cnt % 8 < 3) where the tail operation does not need an
extended descriptor.  Properly account for this fact otherwise invalid
'dmacount' values will be written to hardware usually causing the
channel to halt with 'invalid descriptor' errors.

Cc: <stable@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-12-17 13:52:39 -07:00
..
dca.c ioat3: dca and raid operations are incompatible 2009-11-19 17:07:10 -07:00
dma_v2.c ioat2,3: report all uncorrectable errors 2009-11-19 23:21:03 -07:00
dma_v2.h Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
dma_v3.c ioat3: fix p-disabled q-continuation 2009-12-17 13:52:39 -07:00
dma.c Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
dma.h ioat2,3: report all uncorrectable errors 2009-11-19 23:21:03 -07:00
hw.h ioat3: dca and raid operations are incompatible 2009-11-19 17:07:10 -07:00
Makefile ioat3: split ioat3 support to its own file, add memset 2009-09-08 17:42:55 -07:00
pci.c dca: registering requesters in multiple dca domains 2009-09-10 10:00:05 -07:00
registers.h ioat2,3: disable asynchronous error notifications 2009-11-19 17:07:57 -07:00