From: Joel Fernandes <joelf@ti.com>
To: Vinod Koul <vinod.koul@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
dan.j.williams@intel.com, nsekhar@ti.com,
Peter Ujfalusi <peter.ujfalusi@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [patch V2 0/6] dma: edma: Provide granular residue accounting
Date: Tue, 29 Apr 2014 23:25:02 -0500 [thread overview]
Message-ID: <53607B1E.2030906@ti.com> (raw)
In-Reply-To: <20140429084635.GN32284@intel.com>
On 04/29/2014 03:46 AM, Vinod Koul wrote:
[..]
> commit 770f0f3a20188b7e17db2790803b9da925dc0b94
> Author: Thomas Gleixner <tglx@linutronix.de>
> Date: Mon Apr 28 10:49:43 2014 +0000
>
> dmaengine: edma: Make reading the position of active channels work
>
> As Joel pointed out, edma_read_position() uses memcpy_fromio() to read
> the parameter ram. That's not synchronized with the internal update as
> it does a byte by byte copy. We need to do a 32bit read to get a
> consistent value.
>
> Further reading destination and source is pointless. In DEV_TO_MEM
> transfers we are only interested in the destination, in MEM_TO_DEV we
> care about the source. In MEM_TO_MEM it really does not matter which
> one you read.
>
> Simple solution: Remove the pointers, select dest/source via a bool
> and return the read value.
>
> Remove the export of this function while at it. The only potential
> user is the dmaengine and that's always builtin.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> You s-o-b missing in this one, also ack from Sekhar missing. Do you want to redo
> this or prefer me to cherry-pick patches adding acks and your s-o-b, since I
> already fetched your branch
>
> Either way is fine with me...
>
If its Ok with you, it would great if you could add my Ack and Sob.
Thanks a lot. Let me know if you'd want me to do anything else here.
Regards,
-Joel
next prev parent reply other threads:[~2014-04-30 4:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20140428104416.464002156@linutronix.de>
2014-04-28 20:47 ` [patch V2 0/6] dma: edma: Provide granular residue accounting Joel Fernandes
2014-04-29 8:46 ` Vinod Koul
2014-04-30 4:25 ` Joel Fernandes [this message]
2014-04-30 5:08 ` Vinod Koul
2014-05-01 1:57 ` Joel Fernandes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53607B1E.2030906@ti.com \
--to=joelf@ti.com \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=peter.ujfalusi@ti.com \
--cc=tglx@linutronix.de \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox