From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754501AbcIILlf (ORCPT ); Fri, 9 Sep 2016 07:41:35 -0400 Received: from mga01.intel.com ([192.55.52.88]:13121 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbcIILlb (ORCPT ); Fri, 9 Sep 2016 07:41:31 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,304,1470726000"; d="scan'208";a="876815266" Date: Fri, 9 Sep 2016 17:19:35 +0530 From: Vinod Koul To: Stephen Barber Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Hsin-Yu Chao Subject: Re: [PATCH] dmaengine: pl330: fix residual for non-running BUSY descriptors Message-ID: <20160909114935.GP9355@localhost> References: <1471568399-35770-1-git-send-email-smbarber@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1471568399-35770-1-git-send-email-smbarber@chromium.org> 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 Thu, Aug 18, 2016 at 05:59:59PM -0700, Stephen Barber wrote: > Only one descriptor in the work list should be running at > any given time, but it's possible to have an enqueued BUSY > descriptor that has not yet transferred any data, or for > a BUSY descriptor to linger briefly before transitioning > to DONE. These cases should be handled to keep residual > calculations consistent even with the non-running BUSY > descriptors in the work list. Applied, thanks -- ~Vinod