Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S272207AbUKARhO (ORCPT ); Mon, 1 Nov 2004 12:37:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271896AbUKARhO (ORCPT ); Mon, 1 Nov 2004 12:37:14 -0500 Received: from omx3-ext.sgi.com ([192.48.171.20]:20195 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S265766AbUKARgX (ORCPT ); Mon, 1 Nov 2004 12:36:23 -0500 From: Jesse Barnes To: Benjamin Herrenschmidt Subject: Re: [PATCH] document mmiowb and readX_relaxed a bit more in deviceiobook.tmpl Date: Mon, 1 Nov 2004 09:36:10 -0800 User-Agent: KMail/1.7 Cc: Andrew Morton , Linux Kernel list References: <200410291747.24035.jbarnes@engr.sgi.com> <1099103756.29689.194.camel@gaston> In-Reply-To: <1099103756.29689.194.camel@gaston> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411010936.10127.jbarnes@engr.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1074 Lines: 24 On Friday, October 29, 2004 7:35 pm, Benjamin Herrenschmidt wrote: > On Fri, 2004-10-29 at 17:47 -0700, Jesse Barnes wrote: > > This is a small patch to deviceiobook.tmpl to describe the new mmiowb > > routine a bit more completely. I've also updated it to provide pointers > > to drivers that do write flushing, use mmiowb, and use the readX_relaxed > > routines. > > It's all good, but your semantics and description are very tailored to > your specific arch problem vs. unlock. > > What about my suggestion of defining a broader semantic of mmiowb() as > beeing a barrier ordering MMIOs vs. the rest of the world ? The later > includes stores to memory _and_ spinlock/unlock. Yeah, that's ok with me, just be sure to update the documentation when you add the PPC stuff. Seems like a worthwhile optimization. thanks, Jesse - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/