From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753174AbaEWOyg (ORCPT ); Fri, 23 May 2014 10:54:36 -0400 Received: from terminus.zytor.com ([198.137.202.10]:38623 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752997AbaEWOyT (ORCPT ); Fri, 23 May 2014 10:54:19 -0400 Message-ID: <537F60E0.1060307@zytor.com> Date: Fri, 23 May 2014 07:53:20 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Will Deacon CC: "linux-arch@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "arnd@arndb.de" , "monstr@monstr.eu" , "dhowells@redhat.com" , "broonie@linaro.org" , "benh@kernel.crashing.org" , "peterz@infradead.org" , "paulmck@linux.vnet.ibm.com" , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH v2 16/18] x86: io: implement dummy relaxed accessor macros for writes References: <1400777250-17335-1-git-send-email-will.deacon@arm.com> <1400777250-17335-17-git-send-email-will.deacon@arm.com> <537E30AF.4070501@zytor.com> <20140523144604.GF21319@arm.com> In-Reply-To: <20140523144604.GF21319@arm.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/23/2014 07:46 AM, Will Deacon wrote: > > I would like the relaxed accessors to be ordered with respect to each other... > > What do you think? > I think "I would like" isn't a very good motivation. What are the semantics of these things supposed to be? It seems more than a bit odd to require them to be ordered with respect to each other and everything else (which is what a memory clobber does) and then call them "relaxed". -hpa