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

From: Timur Tabi
Date: Tue Nov 03 2015 - 11:48:29 EST


Vinod Koul wrote:
Failing politely would be right thing to do. If DMA starts sending data to
anywhere in system memory due to bug or wrong addresses we can't do
anything to prevent that

My point is that I have a hard time believing that a DMA failure would likely result the driver politely detecting the problem and exiting properly. I just don't think it's realistic to expect that.

Now maybe it's better for a catastrophic failure to occur when the driver loads instead of during some critical network operation.

--
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/