[linuxppc-release] [PATCH v4 7/7] fsl-dma: add memcpy self test interface
Ira W. Snyder
iws at ovro.caltech.edu
Tue Jul 31 04:33:23 EST 2012
On Mon, Jul 30, 2012 at 12:48:41PM -0500, Timur Tabi wrote:
> qiang.liu at freescale.com wrote:
> >
> > Add memory copy self test when probe device, fsl-dma will be disabled
> > if self test failed.
>
> Is this a real problem that can occur? The DMA driver used to have a
> self-test, but I removed it a long time ago because it was pointless. I
> don't see why we need to add another one back in.
>
> --
> Timur Tabi
> Linux kernel developer at Freescale
>
I made a comment that a test suite for the async_tx API would be very
helpful in diagnosing similar problems in this and other DMA drivers.
Something standalone, similar to the drivers/dma/dmatest.c driver, using
the async_tx API.
I think this was misinterpreted into me asking that the driver have a
built-in self test.
Ira
More information about the Linuxppc-dev
mailing list