From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937234AbYEBWtW (ORCPT ); Fri, 2 May 2008 18:49:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934220AbYEBWtK (ORCPT ); Fri, 2 May 2008 18:49:10 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:36373 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S934198AbYEBWtI (ORCPT ); Fri, 2 May 2008 18:49:08 -0400 Date: Fri, 02 May 2008 15:49:07 -0700 (PDT) Message-Id: <20080502.154907.216403785.davem@davemloft.net> To: rdreier@cisco.com Cc: Eric.Moore@lsi.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: HELP: Is writeq an atomic operation?? From: David Miller In-Reply-To: References: <0631C836DBF79F42B5A60C8C8D4E822901047B1D@NAMAIL2.ad.lsil.com> <20080502.153210.122414532.davem@davemloft.net> X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Roland Dreier Date: Fri, 02 May 2008 15:43:32 -0700 > Are there any 32-bit platforms with writeq()? A quick grep suggests not. Right, I guess there aren't, but what drivers do currently is roll their own 64-bit MMIO for such cases. I noticed this when writing drivers/net/niu.c I suppose this is on purpose, so the driver can setup any such protection and handling, as needed.