From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from edu-smtp-02.edutel.nl (edu-smtp-02.edutel.nl [88.159.1.222]) by ozlabs.org (Postfix) with ESMTP id 1E043B7BAE for ; Sat, 31 Oct 2009 02:48:15 +1100 (EST) Message-ID: <4AEB0ABB.8070605@neli.hopto.org> Date: Fri, 30 Oct 2009 16:48:11 +0100 From: Micha Nelissen MIME-Version: 1.0 To: Michael Buesch Subject: Re: Accessing flash directly from User Space [SOLVED] References: <200910301556.11349.mb@bu3sch.de> <20091030150855.GA15046@mail.gnudd.com> <200910301624.03989.mb@bu3sch.de> In-Reply-To: <200910301624.03989.mb@bu3sch.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: scottwood@freescale.com, Alessandro Rubini , bgat@billgatliff.com, linuxppc-dev@lists.ozlabs.org, Jonathan.Haws@sdl.usu.edu List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Michael Buesch wrote: > Yes, I think the barrier is wrong. > Please try with > > #define mb() __asm__ __volatile__("eieio\n sync\n" : : : "memory") For uncached memory, eieio should be enough. Micha