From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965848AbcCJLF2 (ORCPT ); Thu, 10 Mar 2016 06:05:28 -0500 Received: from mga03.intel.com ([134.134.136.65]:23125 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965676AbcCJLDM (ORCPT ); Thu, 10 Mar 2016 06:03:12 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,315,1455004800"; d="scan'208";a="63465679" Date: Thu, 10 Mar 2016 16:37:19 +0530 From: Vinod Koul To: Ludovic Desroches Cc: david.engraf@sysgo.com, dmaengine@vger.kernel.org, cyrille.pitchen@atmel.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nicolas.ferre@atmel.com Subject: Re: [RESEND PATCH] dmaengine: at_xdmac: fix residue computation Message-ID: <20160310110718.GE11154@localhost> References: <1457601481-17405-1-git-send-email-ludovic.desroches@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457601481-17405-1-git-send-email-ludovic.desroches@atmel.com> 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, Mar 10, 2016 at 10:17:55AM +0100, Ludovic Desroches wrote: > When computing the residue we need two pieces of information: the current > descriptor and the remaining data of the current descriptor. To get > that information, we need to read consecutively two registers but we > can't do it in an atomic way. For that reason, we have to check manually > that current descriptor has not changed. Applied, thanks -- ~Vinod