Received: by 10.213.65.68 with SMTP id h4csp447117imn; Sat, 7 Apr 2018 02:14:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx48plH7HgRQoayD7m0BuAAtziJg3zLQxGnG2n5NrQTonw+C4l798N1ur7kugTaL0GAnz8jiH X-Received: by 10.98.67.141 with SMTP id l13mr22833154pfi.166.1523092445698; Sat, 07 Apr 2018 02:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523092445; cv=none; d=google.com; s=arc-20160816; b=Dkguxh0+dm/TzuhsuJrFaqs5MS7f78E2YajtK8rX6mxBrf9tyB6geVCpiXeXwIl2w/ WX6LB2rEBrCeTOvrZB4CvotsXZEZ+tBSvaCcYiNXX4HAZiHTDEH5OarT7yNImzxX2/7p +bhyq0AeQm4mMTvI0rFutBD24NW8yxK9CI4Xde3c3RtRb13tsCDfZ4lMx5OlgmFx7ikh Df/KDN+5OASwShW6DfS9kqup3TEsqUSWJLhFHlRhG+lSiNtOa5Rzsjs8t9zEKt74DD4Z SkFA06B/GXpX9K92mG6fH2j8YKFXHx+ItRm2mQfmCsdAj4fWczGi7BsJKleaunm8zeZH Xg0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=3uWikRwYHPnvqoddwL8KGmQtX4QbauW2Oo7u3DaC/I4=; b=Gh3fZZGKpL1XdGEv34wYVYcc3+GMxWt0LqRMtnZB2QBL4RnVVHP0tfCgQPZUfXKzbU Yf979IfdgtLrKtbBZxc1XuvPZO7LK5EPYiAYfb3Xj826roLJXIayU9k3GzoSU4PVQ5yK J2k5aIuuwQIko657Yi2ypipqovy2V+1CGnF4AY99j7Qac8e2ZaXG9lWxBTmnM5DJz1r9 CjqxTwU3sa09A0JhevSEAXU0hbUqzKWXmUTuQ0w8Yv9wPmiqdXgZVioIbfUxJ6Z75aRV 01+Jr9rKriHwNpJicBf5zwCy9/2ElfFerU7/54p1G+nEctyML4FLnkRzYv1R6sljZHHB Frfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Fkv/49/X; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si8579513pgu.263.2018.04.07.02.13.28; Sat, 07 Apr 2018 02:14:05 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=Fkv/49/X; 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 S1751402AbeDGJJj (ORCPT + 99 others); Sat, 7 Apr 2018 05:09:39 -0400 Received: from merlin.infradead.org ([205.233.59.134]:42646 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbeDGJJi (ORCPT ); Sat, 7 Apr 2018 05:09:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3uWikRwYHPnvqoddwL8KGmQtX4QbauW2Oo7u3DaC/I4=; b=Fkv/49/XYoZ4G0GTH7lBQ8nsb hHQFPmP7uDfa2PKjLla3SvUE+vAdTVSK5OuQnnPqjbq4G2TmQLX36rlETL43vhl+y/T1blVn6z2yO uhjTclbdL/VJ6QFNSECxhgWh+mMSUW/Vm93qe4MJRbMe2ynepuf0Q6ECi7Gr20gViMhNizzwjUk6l p1fxvh+QB6l19VdHpGOBLd2P4hGYZEcdHgkZK1B57n2n9zjybLRuwoT80M5y6gWtRfFw9YoQkntEf olXh1AlcIDsgAUp0mCwlV7XEeTZiRHu7Q2SnJwfmU5qwPgo3qj0OICDx9F0mSpo4uBGGlnhWX7E8J J1SAJDLdA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1f4jqM-0004CH-FI; Sat, 07 Apr 2018 09:09:06 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3D85620298CF9; Sat, 7 Apr 2018 11:09:05 +0200 (CEST) Date: Sat, 7 Apr 2018 11:09:05 +0200 From: Peter Zijlstra To: Stafford Horne Cc: LKML , Will Deacon , Jonas Bonn , Stefan Kristiansson , Masahiro Yamada , Thomas Gleixner , Jan Henrik Weinstock , Michael Ellerman , Nicolas Dichtel , openrisc@lists.librecores.org Subject: Re: [PATCH] openrisc: define mb() as its mandatory Message-ID: <20180407090905.GQ4082@hirez.programming.kicks-ass.net> References: <20180406205852.14821-1-shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180406205852.14821-1-shorne@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 07, 2018 at 05:58:49AM +0900, Stafford Horne wrote: > Following Peter Z's patch ("asm-generic: Disallow no-op mb() for SMP > systems") which makes mb() mandatory for SMP architectures we define it > as l.msync. On OpenRISC this will flush the current cores write buffer > and trigger remote cores to invalidate their caches of the written > memory. > > Signed-off-by: Stafford Horne > Link: https://lkml.org/lkml/2018/1/31/254 > Cc: Peter Zijlstra > Cc: Will Deacon > --- > > Notes: > - Sorry, its been a while since we discussed this patch is the parent to this > still going in Peter? Oops.. yes it should. It seems I also lost track of it. Thanks for the reminder!