From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755225AbbKCQs0 (ORCPT ); Tue, 3 Nov 2015 11:48:26 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58718 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752641AbbKCQsW (ORCPT ); Tue, 3 Nov 2015 11:48:22 -0500 Subject: Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions To: Vinod Koul Cc: Sinan Kaya , dmaengine@vger.kernel.org, cov@codeaurora.org, jcm@redhat.com, Dan Williams , linux-kernel@vger.kernel.org References: <1446444460-21600-1-git-send-email-okaya@codeaurora.org> <1446444460-21600-3-git-send-email-okaya@codeaurora.org> <20151103041528.GS21326@localhost> <5638359D.9080507@codeaurora.org> <5638C55D.50001@codeaurora.org> <20151103161013.GE12910@localhost> From: Timur Tabi Message-ID: <5638E553.6050400@codeaurora.org> Date: Tue, 3 Nov 2015 10:48:19 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 MIME-Version: 1.0 In-Reply-To: <20151103161013.GE12910@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.