Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp287947ybe; Tue, 3 Sep 2019 22:58:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1+3XTamsobNd4EtY9UrT7J838f5xrJoIWyZWp56FaqNKXy4hjCYQBJwfR+wd7bjWtAoaJ X-Received: by 2002:a63:a302:: with SMTP id s2mr33859257pge.125.1567576697834; Tue, 03 Sep 2019 22:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567576697; cv=none; d=google.com; s=arc-20160816; b=tTASrL4tVzZUarAuzUE7m/Up6THKCv8x83xMKM6222bYiUAY5WObQIhaTcaDxy26kL cCRCwVKmR/Ndq+ZlJceIeYs+pIVxZm45rTWuLnqs/N6n3D5nGcnwnChRyrhFXjvizPU8 FzXfAXG9sfiPdNswLlreb1mBsmhaAib3rnMU7LZRwqGn0Z4rc9NWZ/Cremsioi+pxMP3 uY6Q4ns6DVNzYR3eJ/fuiH4eQrr031yq+3PoEBCoK+Dtr6Mpqv4E5kbAT2Sbme5hMnWE ezDAWc2QkYpsWvbXw+nPnDcdr3q1ie/ti0VAygPPHs1Br4yh2c1S8FCwN84wFG2aouPf bKMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LRaaf00AQSeDoSJ/ZtcJ1V40NCtUtoStZgkwPz2mOiY=; b=BjlN0KdL+cfPUjmvqKGd6soPwxaLFNbPh473x/uJ86/I4NTP+KbznEKko4dv2oBTzY fxROgqq/y7Ar7eRCqb8e5PktPSPTILlH9ImiqCsYP3ZyC/qkvp7hVcqNCDBXXK+zGl8S /7eYX7/QZ1PFcmiAwMtkrRA+X+k7UKPi3MA0vaalbW/h/giuzjlQsEgfz0lHOd6iuunv C/pmResorVLVihuC1iePTN3fEvZcn2vW3WhXvel6H5GcjlHpKgM9wAkl9FjpQZY1EvmF JseegqtHv/Ia9FJyDSp994b9FK/i/cuXda8BdN8o7uKQaCXavalpYfmLGU5riSDpmJXB 9R3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n97BL6VG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si1470915pjv.25.2019.09.03.22.58.02; Tue, 03 Sep 2019 22:58:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n97BL6VG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728291AbfIDF5E (ORCPT + 99 others); Wed, 4 Sep 2019 01:57:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:52072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbfIDF5E (ORCPT ); Wed, 4 Sep 2019 01:57:04 -0400 Received: from localhost (unknown [122.182.201.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BD2FB23400; Wed, 4 Sep 2019 05:57:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567576623; bh=vHzjJabvLNobLJbAo+1Q1mNco/nbArtdiV86fXt8HaE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n97BL6VG/PiUpyRJrrHJrNi8SJ1v7450/uyMdXvkaqFJ2S47p6welwcU+R6u8OViV 1bMaGux6SPNAokx6QEGp3U4w4V6fp22ozmM2ebl7sUKNsC4U3EBLwR+qmsT+djwXWg 9nBzebhPlFtAzd18kU+v6fZ2bhOJDKdqV+FZgFmA= Date: Wed, 4 Sep 2019 11:25:55 +0530 From: Vinod Koul To: Baolin Wang Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, dan.j.williams@intel.com, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, eric.long@unisoc.com Subject: Re: [PATCH] dmaengine: sprd: Fix the DMA link-list configuration Message-ID: <20190904055555.GD2672@vkoul-mobl> References: <77868edb7aff9d5cb12ac3af8827ef2e244441a6.1567150471.git.baolin.wang@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <77868edb7aff9d5cb12ac3af8827ef2e244441a6.1567150471.git.baolin.wang@linaro.org> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30-08-19, 15:37, Baolin Wang wrote: > For the Spreadtrum DMA link-list mode, when the DMA engine got a slave > hardware request, which will trigger the DMA engine to load the DMA > configuration from the link-list memory automatically. But before the > slave hardware request, the slave will get an incorrect residue due > to the first node used to trigger the link-list was configured as the > last source address and destination address. > > Thus we should make sure the first node was configured the start source > address and destination address, which can fix this issue. Applied, thanks -- ~Vinod