From patchwork Thu May 22 16:47:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 30649 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 382F520C03 for ; Thu, 22 May 2014 16:54:41 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id wo20sf16375724obc.7 for ; Thu, 22 May 2014 09:54:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=M6Lbd3VblEjT/+t6FiddaAACpdl/lXomk2hR5hhyd+M=; b=VpDGFMhQYsHGOYqECFiIK2xgfAbbflZZpKybsjAzV10roKEzGD8MkB9ileVa02Ew4k JLCxCpYG2FS7kkNPBNezeo5vYMPKj92S3JCDR7prCagZ2lKZRW2fn2nikYL4GzHfXDnK 7HXqmXkF0hM0muXsvFOEN7mkHSuLbbC557qaD48MomJlThjphSqmPAoSpZ19RnKhE/SI kD9FI/oROPwqy7xBMwfnmJGJyDnxeA3OiZRlsK+BqknCNLLVY0qBfIvWZztCXcUA84JD SqkhtEWIhsG6LyzGLfKP4+LVJsI3TremYV0hGFucWd5XZTDNYQd6XyrxsNG41MjhfZLX mKnw== X-Gm-Message-State: ALoCoQk4yElc+B23SMm7Ur/pLmuDIm9uBU8lAAeGxEeqhrYlWirS9ddTPebFXMIGoPa13NMTYaXl X-Received: by 10.182.210.137 with SMTP id mu9mr9928119obc.48.1400777680888; Thu, 22 May 2014 09:54:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.28.195 with SMTP id 61ls212828qgz.77.gmail; Thu, 22 May 2014 09:54:40 -0700 (PDT) X-Received: by 10.52.250.4 with SMTP id yy4mr1710863vdc.56.1400777680753; Thu, 22 May 2014 09:54:40 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id u4si211789vcs.52.2014.05.22.09.54.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 09:54:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id db12so4694111veb.25 for ; Thu, 22 May 2014 09:54:40 -0700 (PDT) X-Received: by 10.220.195.196 with SMTP id ed4mr2073886vcb.42.1400777680667; Thu, 22 May 2014 09:54:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp215506vcb; Thu, 22 May 2014 09:54:40 -0700 (PDT) X-Received: by 10.68.137.33 with SMTP id qf1mr68030329pbb.99.1400777679898; Thu, 22 May 2014 09:54:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rt7si419508pab.181.2014.05.22.09.54.39; Thu, 22 May 2014 09:54:39 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753379AbaEVQyf (ORCPT + 27 others); Thu, 22 May 2014 12:54:35 -0400 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:48877 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751450AbaEVQsS (ORCPT ); Thu, 22 May 2014 12:48:18 -0400 Received: from edgewater-inn.cambridge.arm.com (edgewater-inn.cambridge.arm.com [10.1.203.25]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id s4MGlYwo028182; Thu, 22 May 2014 17:47:35 +0100 (BST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 8029B1AE340D; Thu, 22 May 2014 17:47:34 +0100 (BST) From: Will Deacon To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, monstr@monstr.eu, dhowells@redhat.com, broonie@linaro.org, benh@kernel.crashing.org, peterz@infradead.org, paulmck@linux.vnet.ibm.com, Will Deacon Subject: [PATCH v2 06/18] frv: io: implement dummy relaxed accessor macros for writes Date: Thu, 22 May 2014 17:47:18 +0100 Message-Id: <1400777250-17335-7-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1400777250-17335-1-git-send-email-will.deacon@arm.com> References: <1400777250-17335-1-git-send-email-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.deacon@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , write{b,w,l}_relaxed are implemented by some architectures in order to permit memory-mapped I/O accesses with weaker barrier semantics than the non-relaxed variants. This patch adds dummy macros for the write accessors to frv, in the same vein as the dummy definitions for the relaxed read accessors. Cc: David Howells Signed-off-by: Will Deacon --- arch/frv/include/asm/io.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/frv/include/asm/io.h b/arch/frv/include/asm/io.h index 8cb50a2fbcb2..99bb7efaf9b7 100644 --- a/arch/frv/include/asm/io.h +++ b/arch/frv/include/asm/io.h @@ -243,6 +243,9 @@ static inline void writel(uint32_t datum, volatile void __iomem *addr) __flush_PCI_writes(); } +#define writeb_relaxed writeb +#define writew_relaxed writew +#define writel_relaxed writel /* Values for nocacheflag and cmode */ #define IOMAP_FULL_CACHING 0