Message ID | 20190301140348.25175-8-will.deacon@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp769585jad; Fri, 1 Mar 2019 06:04:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IaNqM/USPMuULxNLRzVygnneAJwUHDLQj590jn5DNXyucabGZNPB5tYo85CQa/3ZvGrR3/1 X-Received: by 2002:a62:1212:: with SMTP id a18mr5646240pfj.177.1551449073802; Fri, 01 Mar 2019 06:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551449073; cv=none; d=google.com; s=arc-20160816; b=ULQna7QT2mnaNObVEaHKltNZHCjqGKgmLp4xYxFEzb5q/3DF0EwcR23ouuAniAknfC GdmCK67Wm2HJLaJh1tUx5AJYLJxoSUnUSeJFpzugH4EW2yJ8rprOBK+t45zVTeZc46Zq BaZ1tyttdVPlIkXA+lnF7XuS/rLOYPGYIvyYvlGi80y8eihRMuqmADZfC0I3ptHDoHhc O3uC35P3UkfvWYh9BOheriz6Px96ZF9bsAcDN4HiwPGljAgXBrSGlKkiko5mT1M8Q2hQ 55nS6gwyNddM6lLoPNvGgjWpLcad2cBvmshBSobBRNeWNeRitX4R8L/UtRVy8rfyx2Fy VQRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=qt35XRz0jF/uIrZsMwdnO2/cXuGOMWjy9+rqRYzuhDc=; b=jqWqfE9qV/nP9mpYvQ1mEsYbBu7b0g/ls91jLz/VGe1EPBHpVtQDSeWcfP7F3Rpt7s zdrk75d1JKzcxPTC7a7iEpmq8dKd+kMNcUUvVRf4wMkrJUX8Ne47BaKoUlFR7Nh3vVw/ STzYTEtBEqzbIxCTJxdHX0RNEeQjxZfEXJGtW5IZY7cdszpoEh+DNgRCbW2AafvXIY46 p/sWl/n7p2ryyRLdfIIDNdkaU7WUvnsYYmlA0V4nBWU0bck0dbQ/yh1MROpzPPedOTj3 oq11U9IceR06x/xa78p99Q039Y5TLL/3J0rKcuz6cxs3b2Hvi0CZbxAMKrF3l5EHiDtT bb6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12si7577774pgq.156.2019.03.01.06.04.33; Fri, 01 Mar 2019 06:04:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388486AbfCAOEc (ORCPT <rfc822;mike.holmes@linaro.org> + 31 others); Fri, 1 Mar 2019 09:04:32 -0500 Received: from foss.arm.com ([217.140.101.70]:35752 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388460AbfCAOE0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 1 Mar 2019 09:04:26 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6B2B81993; Fri, 1 Mar 2019 06:04:26 -0800 (PST) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 271A63F720; Fri, 1 Mar 2019 06:04:23 -0800 (PST) From: Will Deacon <will.deacon@arm.com> To: linux-arch@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Will Deacon <will.deacon@arm.com>, "Paul E. McKenney" <paulmck@linux.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Michael Ellerman <mpe@ellerman.id.au>, Arnd Bergmann <arnd@arndb.de>, Peter Zijlstra <peterz@infradead.org>, Andrea Parri <andrea.parri@amarulasolutions.com>, Palmer Dabbelt <palmer@sifive.com>, Daniel Lustig <dlustig@nvidia.com>, David Howells <dhowells@redhat.com>, Alan Stern <stern@rowland.harvard.edu>, Linus Torvalds <torvalds@linux-foundation.org>, "Maciej W. Rozycki" <macro@linux-mips.org>, Paul Burton <paul.burton@mips.com>, Ingo Molnar <mingo@kernel.org>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, Tony Luck <tony.luck@intel.com> Subject: [PATCH 07/20] nds32/io: Remove useless definition of mmiowb() Date: Fri, 1 Mar 2019 14:03:35 +0000 Message-Id: <20190301140348.25175-8-will.deacon@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190301140348.25175-1-will.deacon@arm.com> References: <20190301140348.25175-1-will.deacon@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb())
|
expand
|
diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h index 71cd226d6863..5ef8ae5ba833 100644 --- a/arch/nds32/include/asm/io.h +++ b/arch/nds32/include/asm/io.h @@ -55,8 +55,6 @@ static inline u32 __raw_readl(const volatile void __iomem *addr) #define __iormb() rmb() #define __iowmb() wmb() -#define mmiowb() __asm__ __volatile__ ("msync all" : : : "memory"); - /* * {read,write}{b,w,l,q}_relaxed() are like the regular version, but * are not guaranteed to provide ordering against spinlocks or memory
mmiowb() only makes sense for SMP platforms, so we can remove it entirely for nds32. Signed-off-by: Will Deacon <will.deacon@arm.com> --- arch/nds32/include/asm/io.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0