Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

From: Timur Tabi
Date: Tue Nov 03 2015 - 09:32:04 EST


Sinan Kaya wrote:

Almost all DMA engine drivers come with some sort of selftest code
called from probe. I followed the same design pattern.

As others have said, it appears that's outdated.

Is there a real possibility that the hardware could fail the test without trashing the system? It seems that if the DMA engine is faulty, it won't "politely" fail. The whole system will crash or some memory will get corrupted and you won't know it.

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, hosted by The Linux Foundation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/