From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Date: Mon, 10 Dec 2001 23:00:12 +0000 Subject: Re: [Linux-ia64] pio barriers Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Actually, I was thinking that for most platforms, mf.a should do a 'flushbus' (i.e. act as a barrier for all previous pio reads/writes). Of course, for SN, we'll need to do other stuff too, so I'd like to make a machine vector. Jesse On Mon, Dec 10, 2001 at 04:57:33PM -0600, Jack Steiner wrote: > There is a macro in io.h > > #define __ia64_mf_a() __asm__ __volatile__ ("mf.a" ::: "memory") > > > However, it is not clear to me when a mf.a is actually required?? Does > anyone have an opinion?? I dont see any clear need for it. Seems like places > where we might want to use it actually require a flushbus().