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

Timur Tabi
2015-11-03T16:48:26Z

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.