Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652830

Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode
Date Tue, 30 May 2017 08:20:02 +0200
Message-ID <tMIFA-3sh-13@gated-at.bofh.it> (permalink)
References <tMIFA-3sh-15@gated-at.bofh.it>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.38,417,1491289200"; d="scan'208";a="108541834"
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 14
Organization linux.* mail to news gateway
X-Original-Cc Dan Williams <dan.j.williams@intel.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Geert Uytterhoeven <geert+renesas@glider.be>, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 30 May 2017 11:50:05 +0530
X-Original-Message-ID <20170530062005.GL15061@localhost>
X-Original-References <87shjwt5po.wl%kuninori.morimoto.gx@renesas.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1652830

Show key headers only | View raw


On Tue, May 23, 2017 at 07:08:43AM +0000, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> In descriptor mode, the descriptor running pointer is not maintained
> by the interrupt handler, thus, driver finds the running descriptor
> from the descriptor pointer field in the CHCRB register.
> But, CHCRB::DPTR indicates *next* descriptor pointer, not current.
> Thus, The residue calculation will be missed. This patch fixup it.

Applied, thanks

-- 
~Vinod

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] rcar-dmac: fixup descriptor pointer for descriptor mode Vinod Koul <vinod.koul@intel.com> - 2017-05-30 08:20 +0200

csiph-web