From: vinod.koul@intel.com (Vinod Koul)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model
Date: Tue, 9 Dec 2014 14:42:48 +0530 [thread overview]
Message-ID: <20141209091248.GA16827@intel.com> (raw)
In-Reply-To: <1413968035-12855-1-git-send-email-jingchang.lu@freescale.com>
On Wed, Oct 22, 2014 at 04:53:55PM +0800, Jingchang Lu wrote:
> The offset of all 8-/16-bit registers in big-endian eDMA model are
> swapped in a 32-bit size opposite those in the little-endian model.
>
> The hardware Scatter/Gather requires the subsequent TCDs stored in memory
> in little endian independent of the register endian model, the eDMA engine
> will do the swap if need.
>
> This patch also use regular assignment for tcd variables r/w
> instead of with io function previously that may not always be true.
Applied, thanks
--
~Vinod
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vinod.koul@intel.com>
To: Jingchang Lu <jingchang.lu@freescale.com>
Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model
Date: Tue, 9 Dec 2014 14:42:48 +0530 [thread overview]
Message-ID: <20141209091248.GA16827@intel.com> (raw)
In-Reply-To: <1413968035-12855-1-git-send-email-jingchang.lu@freescale.com>
On Wed, Oct 22, 2014 at 04:53:55PM +0800, Jingchang Lu wrote:
> The offset of all 8-/16-bit registers in big-endian eDMA model are
> swapped in a 32-bit size opposite those in the little-endian model.
>
> The hardware Scatter/Gather requires the subsequent TCDs stored in memory
> in little endian independent of the register endian model, the eDMA engine
> will do the swap if need.
>
> This patch also use regular assignment for tcd variables r/w
> instead of with io function previously that may not always be true.
Applied, thanks
--
~Vinod
next prev parent reply other threads:[~2014-12-09 9:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 8:53 [PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model Jingchang Lu
2014-10-22 8:53 ` Jingchang Lu
2014-11-21 9:09 ` Jingchang Lu
2014-11-21 9:09 ` Jingchang Lu
2014-12-01 9:56 ` Jingchang Lu
2014-12-01 9:56 ` Jingchang Lu
2014-12-09 9:12 ` Vinod Koul [this message]
2014-12-09 9:12 ` Vinod Koul
2014-12-09 9:35 ` Jingchang Lu
2014-12-09 9:35 ` Jingchang Lu
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=20141209091248.GA16827@intel.com \
--to=vinod.koul@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.