From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754644AbbKCOcA (ORCPT ); Tue, 3 Nov 2015 09:32:00 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45921 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016AbbKCOb7 (ORCPT ); Tue, 3 Nov 2015 09:31:59 -0500 Subject: Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions To: Sinan Kaya , Vinod Koul Cc: 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> From: Timur Tabi Message-ID: <5638C55D.50001@codeaurora.org> Date: Tue, 3 Nov 2015 08:31:57 -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: <5638359D.9080507@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.