OSDN Git Service

ioatdma: Fix bug in selftest after removal of DMA_MEMSET.
authorDave Jiang <dave.jiang@intel.com>
Wed, 6 Nov 2013 15:50:09 +0000 (08:50 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 14 Nov 2013 19:04:41 +0000 (11:04 -0800)
commitac7d631f7d9f9e4e6116c4a72b6308067d0a2226
tree4d0dd8fd5866c28d56151a013108838a8eea7d0b
parent50137a7df982f3767fe0b3b0cd0b9cfaf09c2cd9
ioatdma: Fix bug in selftest after removal of DMA_MEMSET.

Commit 48a9db4 (3.11) removed the memset op in the xor selftest for ioatdma.
The issue is that with the removal of that op, it never replaced the memset
with a CPU memset. The memory being operated on is expected to be zeroes but
was not. This is causing the xor selftest to fail.

Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v3.c