Received: by 10.213.65.68 with SMTP id h4csp1074378imn; Sat, 7 Apr 2018 17:11:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx48vFyNAQ3vpynGApE/uoY+p94vOLXBiJNVyRU4mIP8vAiTNl2kg6j2BcKqfDMdW8M2356+m X-Received: by 10.99.117.12 with SMTP id q12mr7855293pgc.395.1523146309597; Sat, 07 Apr 2018 17:11:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523146309; cv=none; d=google.com; s=arc-20160816; b=hkwOVvDCt5dBqiHl9gHU+ELb+x9k4GIiFT7hL6VZY8zneYKBtOlJ9bvOYacQwHz/Bw 4wY1yfviQTbn598x9Vnu8MjasOVyWlI9CoOKVtYuK4t/Tack8uyp4Rl0hcliqF9aR/aF xK+v7kPThHt9YZeE61hYZUQLaRiG/9E7d62Jfs1wQbVdM6SAaoGVVa7NmpDW+vCE3IeX WToZyhehfi7DLRexCSnMVkmeYMs3pqUlKyUObJ2Zu7ljaZ2hIdTgJFMtJH/czcAo0Mlk dU5EQRfyowaPIeGQHwbX8eXGc+ftgGyDlvbwgNc8hcKyku6wXfQ199jZMd15wlScVD6Q OYqA== 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=zuVAfX64SBUgHI70olkt7fYtMhwE2Abf+ZOsshBrXg4=; b=rtAlnw+wFIVRCh2aIVwYzHu65HCS60kMag0OGJfOUHL+2h08x+OvAMZ1E67wG3tdRs /2pM9umZtnCl8v8AWxP7OA3jii1xW4ZBeAbpNKNS4Og+1QZp7+xwOu7erNy8BBool8Yx aEXswHz4wdRnOGnivheN0U+IXT26X/P+HjOxgju8IVIqphjoo3R9WIUso92c0VWltTHq pVquHcMxZyKoRCjCrnuxTU246WrA4oN7PgvSr3H6dQQMShc7nP+EImUf61iNYREhvrWF S4gxAi93mFNih7xSnMEaPuePQf8qIMSKWK1uANJKyWcsrGPx0LGcugW9u9bcnrtsqff/ OV/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gHc+heoe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8-v6si13768313pli.12.2018.04.07.17.11.01; Sat, 07 Apr 2018 17:11:49 -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=pass header.i=@gmail.com header.s=20161025 header.b=gHc+heoe; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752483AbeDHAHd (ORCPT + 99 others); Sat, 7 Apr 2018 20:07:33 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:40442 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752262AbeDHAHc (ORCPT ); Sat, 7 Apr 2018 20:07:32 -0400 Received: by mail-pl0-f68.google.com with SMTP id x4-v6so2882708pln.7 for ; Sat, 07 Apr 2018 17:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zuVAfX64SBUgHI70olkt7fYtMhwE2Abf+ZOsshBrXg4=; b=gHc+heoeUEfzUm9mZaXuJEeoNd/Rsa7dDDtORX8SUEHzslQMUXGQYjQgzDIiSAXuN8 xTRF3qFL+xsE00tLo1hBeXPJJWS4Yf9u7AQZh87yFjh0j93wH2GdmYLQl47KQ9GJHYfb CFzkgw9Qa6ALI9PAaxeweMN4cB6OXIjd9Sesw0xLNpXi0lpagHhz5jbsgw7reUbjL7jv 9R29jT7Spo5JgSgl3pkHjuuOCXhq/WYMUhNCz9sgAzJyBVNskNWq7vSVznNbp77yp/8I rtNV/4d4vXtqV8PnT2i6dgNkbyrRnt6WOmkhIQI6TDqHs/EFjxgupAgs/CxUntrKlQqM ifSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zuVAfX64SBUgHI70olkt7fYtMhwE2Abf+ZOsshBrXg4=; b=PfnD4vYyi7mjTF0dYzt6e5/8md2jTg4IoQhN21Q+cAGAe2D0HfPKrju2Tt2Kb4KTOa byx293MEUyTHEglc036w3z9f1BkkT6bpL7z2h405g6fJgB6jcUBMb02vP0/wq/QCjHwb 3sFHh6i7cslwvTeQ7RyToqjIp3cwrqjwynjg06QfpoT98eoAHZpkWmeIUiXX4qefOgjD h+A0k7MgcP133A0PWAMvdhlj33JiZoz/BAHju4GO3ziui26bt34VQu1p0kBgYr5+l5w2 wvHN9sYH9YhvUCA2+LtiOa2j9PU3LYvf6chIWKBxReQlzDrFUDjv5N2RdtUDv0CumNtB Sk5g== X-Gm-Message-State: AElRT7EienQrRh0DzcEcBlT+sEcj/5JHg1BsPIrXoLQviyoy9TfMXKod CpU5A338gEmiv7Amqy7DQvc= X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr32081381plb.208.1523146052027; Sat, 07 Apr 2018 17:07:32 -0700 (PDT) Received: from localhost (g6.211-132-165.ppp.wakwak.ne.jp. [211.132.165.6]) by smtp.gmail.com with ESMTPSA id p73sm6545452pfa.43.2018.04.07.17.07.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 07 Apr 2018 17:07:31 -0700 (PDT) Date: Sun, 8 Apr 2018 09:07:29 +0900 From: Stafford Horne To: Peter Zijlstra 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: <20180408000729.GM2836@lianli.shorne-pla.net> References: <20180406205852.14821-1-shorne@gmail.com> <20180407090905.GQ4082@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180407090905.GQ4082@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.9.1 (2017-09-22) 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 11:09:05AM +0200, Peter Zijlstra wrote: > 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! No Problem, If you think this patch makes sense I can just put it into my OpenRISC queue for 4.17. I dont see any reason to wait for yours. Any thoughts? -Stafford