From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18486.10385.934128.122054@cargo.ozlabs.ibm.com> Date: Fri, 23 May 2008 12:14:41 +1000 From: Paul Mackerras To: Nick Piggin Subject: Re: [patch 1/2] powerpc: rmb fix In-Reply-To: <20080521153247.GF8897@wotan.suse.de> References: <20080521141056.GC8897@wotan.suse.de> <1211383623.8297.197.camel@pasglop> <20080521153247.GF8897@wotan.suse.de> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Nick Piggin writes: > More than one device driver does raw/relaxed io accessors and expects the > *mb functions to order them. Can you point us at an example? I don't think the semantics of the raw accessors are particularly well defined (it's not even defined what endianness the data comes back in) so I'd be surprised if there was any real definition of their behaviour w.r.t. barriers. Paul.