dmatest: Use custom map/unmap for destination buffer
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 13 Jan 2009 16:22:20 +0000 (09:22 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 13 Jan 2009 16:22:20 +0000 (09:22 -0700)
commitd86be86e9aab221089d72399072511f13fe2a771
tree58da7322d8dfa58da5f03c117481df8ab93b7311
parent6527de6d6d25ebfae7c7572cb7a4ed768e2e20a5
dmatest: Use custom map/unmap for destination buffer

The dmatest driver should use DMA_BIDIRECTIONAL on the destination buffer
to ensure that the poison values are written to RAM and not just written
to cache and discarded.

Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c