From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] dma: mv_xor: use readl/writel instead of __raw_{readl, writel}
Date: Mon, 29 Jul 2013 17:14:26 +0200 [thread overview]
Message-ID: <20130729171426.4bbd320c@skate> (raw)
In-Reply-To: <20130729150827.GL24642@n2100.arm.linux.org.uk>
Dear Russell King - ARM Linux,
On Mon, 29 Jul 2013 16:08:27 +0100, Russell King - ARM Linux wrote:
> On Mon, Jul 29, 2013 at 05:05:09PM +0200, Thomas Petazzoni wrote:
> > In order to support big-endian execution, the mv_xor driver is changed
> > to use thhe readl() and writel() accessors that properly convert from
> > the CPU endianess to the device endianess (which in the case of
> > Marvell XOR hardware is always little-endian).
>
> Is it necessary that all these be barrier-ied IO operations?
As they used to be __raw_..., I presume that those barrier-ied
operations are not strictly needed, so I could use the relaxed
variants instead.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-07-29 15:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 15:05 [PATCH 0/2] dma: mv_xor: big endian support Thomas Petazzoni
2013-07-29 15:05 ` [PATCH 1/2] dma: mv_xor: use readl/writel instead of __raw_{readl, writel} Thomas Petazzoni
2013-07-29 15:08 ` Russell King - ARM Linux
2013-07-29 15:14 ` Thomas Petazzoni [this message]
2013-07-29 15:05 ` [PATCH 2/2] dma: mv_xor: support big endian systems using descriptor swap feature Thomas Petazzoni
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=20130729171426.4bbd320c@skate \
--to=thomas.petazzoni@free-electrons.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.