Return-Path: Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2001:470:1f0b:1c35:abcd:42:0:1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id F290BB6F7C for ; Tue, 6 Sep 2011 00:28:13 +1000 (EST) Date: Mon, 5 Sep 2011 16:28:03 +0200 From: Sebastian Andrzej Siewior To: Benjamin Herrenschmidt Subject: Re: [PATCH 14/14] arm/include/asm/io.h : added macros to read/write big/little endian register Message-ID: <20110905142802.GB24469@linutronix.de> References: <335243c9467c0127206234819a94c9f72358fdf2.1314704558.git.pratyush.anand@st.com> <1314961303.13112.1.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 In-Reply-To: <1314961303.13112.1.camel@pasglop> Cc: Pratyush Anand , viresh.kumar@st.com, vipulkumar.samar@st.com, bhupesh.sharma@st.com, tmarri@apm.com, linux-usb@vger.kernel.org, vipin.kumar@st.com, shiraz.hashim@st.com, Amit.VIRDI@st.com, rajeev-dlh.kumar@st.com, mmiesfeld@apm.com, deepak.sikri@st.com, linuxppc-dev@lists.ozlabs.org, fchen@apm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , * Benjamin Herrenschmidt | 2011-09-02 21:01:43 [+1000]: >or better, switch to the newer iomap variants which should be >provided in both endianness. I know some ppc-mmu provide the capability to perform the endian swap during page access. I wasn't aware that there is a kernel wide interface for this. What do you do on architectures which don't provide this? >Cheers, >Ben. Sebastian