From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 50C7667FAC for ; Mon, 22 Aug 2005 07:23:56 +1000 (EST) From: Benjamin Herrenschmidt To: Arthur Othieno In-Reply-To: <20050821011649.GA31839@mars> References: <20050821011649.GA31839@mars> Content-Type: text/plain Date: Mon, 22 Aug 2005 07:22:41 +1000 Message-Id: <1124659361.5197.121.camel@gaston> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org Subject: Re: [PATCH] ppc32: Big-endian I/O memory accessors. List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2005-08-20 at 21:16 -0400, Arthur Othieno wrote: > I/O memory accessors. Big-endian version. For those busses/devices > that do export big-endian I/O memory. > > Of notable relevance/reference: > > http://lwn.net/Articles/132804/ > http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019798.html > http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019752.html > > Signed-Off-By: Arthur Othieno > No, that's not correct. You need to use the in_be/out_be variants which provide proper memory barriers. Ben.