From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org ([203.10.76.45]:8095 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S932681AbWCIAzV (ORCPT ); Wed, 8 Mar 2006 19:55:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17423.30924.278031.151438@cargo.ozlabs.ibm.com> Date: Thu, 9 Mar 2006 11:37:32 +1100 From: Paul Mackerras Subject: Re: [PATCH] Document Linux's memory barriers [try #2] In-Reply-To: <20060308194037.GO7301@parisc-linux.org> References: <20060308184500.GA17716@devserv.devel.redhat.com> <20060308173605.GB13063@devserv.devel.redhat.com> <20060308145506.GA5095@devserv.devel.redhat.com> <31492.1141753245@warthog.cambridge.redhat.com> <29826.1141828678@warthog.cambridge.redhat.com> <9834.1141837491@warthog.cambridge.redhat.com> <11922.1141842907@warthog.cambridge.redhat.com> <14275.1141844922@warthog.cambridge.redhat.com> <20060308194037.GO7301@parisc-linux.org> Sender: linux-arch-owner@vger.kernel.org To: Matthew Wilcox Cc: Linus Torvalds , David Howells , Alan Cox , akpm@osdl.org, mingo@redhat.com, linux-arch@vger.kernel.org, linuxppc64-dev@ozlabs.org, linux-kernel@vger.kernel.org List-ID: Matthew Wilcox writes: > Looking at the SGI implementation, it's smarter than you think. Looks > like there's a register in the local I/O hub that lets you determine > when this write has been queued in the appropriate host->pci bridge. Given that mmiowb takes no arguments, how does it know which is the appropriate PCI host bridge? Paul.