From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755260AbbKCQEz (ORCPT ); Tue, 3 Nov 2015 11:04:55 -0500 Received: from mga03.intel.com ([134.134.136.65]:43150 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755300AbbKCQEE (ORCPT ); Tue, 3 Nov 2015 11:04:04 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,239,1444719600"; d="scan'208";a="810753631" Date: Tue, 3 Nov 2015 21:36:22 +0530 From: Vinod Koul To: Dan Williams Cc: Sinan Kaya , "dmaengine@vger.kernel.org" , timur@codeaurora.org, cov@codeaurora.org, jcm@redhat.com, "linux-kernel@vger.kernel.org" Subject: Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions Message-ID: <20151103160622.GC12910@localhost> 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> <20151103063009.GT21326@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 02, 2015 at 11:44:23PM -0800, Dan Williams wrote: > Originally ioatdma and iop-adma had local self tests before Haavard > created dmatest. I agree having the drivers also do a test each boot > is redundant, but then again dmatest is not automatic and I saw the > local self test catch an interrupt setup regression. Well the question here is not about why selftest but rather code duplication and using same routines for both selftest as well as dmatest > > Maybe you could arrange for drivers to do a quick autorun through > dmatest on load if dmatest is enabled, but otherwise load without > testing? That would be a good thing to do, but then most distro just enable all config options, so this should be protected for "test" builds > Just my 2 cents from a dmaengine spectator. Thats an understatement :) > -- > To unsubscribe from this list: send the line "unsubscribe dmaengine" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- ~Vinod