From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) Date: Mon, 29 Jul 2013 17:14:26 +0200 Subject: [PATCH 1/2] dma: mv_xor: use readl/writel instead of __raw_{readl, writel} In-Reply-To: <20130729150827.GL24642@n2100.arm.linux.org.uk> References: <1375110310-26276-1-git-send-email-thomas.petazzoni@free-electrons.com> <1375110310-26276-2-git-send-email-thomas.petazzoni@free-electrons.com> <20130729150827.GL24642@n2100.arm.linux.org.uk> Message-ID: <20130729171426.4bbd320c@skate> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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