Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp1152124imb; Sat, 2 Mar 2019 04:57:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxbpzbQII4HlsdHplgQA0cgPY3XugqEZJKSe4g85oWsF4hJH/SWkENb6WwGxUnbasa9VYmh X-Received: by 2002:a17:902:bd96:: with SMTP id q22mr10708321pls.7.1551531467666; Sat, 02 Mar 2019 04:57:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551531467; cv=none; d=google.com; s=arc-20160816; b=AmxwJUXUdltf9vKt9kFXZeExvR679VcyA/MGHcACrd1oVgp2hu5uS1oQsT+iIG9Lw7 jVcuj/x7P6xrNkRT76unUy6mwz5DyQFvdoi1BbRUTXq/Mu3w2oYcO8p0yTvAp0vUg8n3 diyXThSBYiDWRmTOclcjHn+7TfK95/WTF65RAVULEICnOYlDT762wtlTqM1TpZ3s/dDy sDAcHsET8n2jj8ZKL+yyx+y1AzU7uxcQbBhPbdg8UzjSyZLWNyzCJ6p3Az/5g2j73w4y +zIiAbqC0nRtiP87iu2/5GlpimRt64fxGrjBbSVKM11YGgvujB9JprUzGRiqdrsd+hrN YI3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=FJY1DdJ77PxAj5+eIOjOY7h6buQjvkNJBuMIyyqDPtw=; b=t/hSnFdNsgFfS9WZJhoj0SLlYoRbp09Q2GbXlovUzw7tIm3VEKEywzxrIXMSM2VseX OSlu1rUoEfzg/7cWf+SX4nSHOtM9EoPUY0PczOh/rTir+VCmzlQkJtCzV+ymx6pu9dsg HoB0zpbpn/+sS0XqwYcy3wP2ro2hLAvkgs/v/89Dex6It/Dn4vpBZxiK7sELbc/9skum moGo0PuBP+PEL/VtySZQtkVb7EK1vEee5Ww7HM2eDpaWKR4oUX30DDDOEE0dxHQ4kQUM KLmv9vzcVDvnBnQx5XJ+foIfxPpgsb7dKMo7PC6CxV72SIXXjyg9vJlHd0BUQAWk+nO/ miZA== 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r9si567772pfh.188.2019.03.02.04.57.29; Sat, 02 Mar 2019 04:57:47 -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 S1726380AbfCBM4t (ORCPT + 99 others); Sat, 2 Mar 2019 07:56:49 -0500 Received: from ozlabs.org ([203.11.71.1]:58517 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbfCBM4t (ORCPT ); Sat, 2 Mar 2019 07:56:49 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 44BRBN5tbnz9s47; Sat, 2 Mar 2019 23:56:44 +1100 (AEDT) From: Michael Ellerman To: Linus Torvalds , Will Deacon Cc: linux-arch , Linux List Kernel Mailing , "Paul E. McKenney" , Benjamin Herrenschmidt , Arnd Bergmann , Peter Zijlstra , Andrea Parri , Palmer Dabbelt , Daniel Lustig , David Howells , Alan Stern , "Maciej W. Rozycki" , Paul Burton , Ingo Molnar , Yoshinori Sato , Rich Felker , Tony Luck Subject: Re: [PATCH 00/20] Remove Mysterious Macro Intended to Obscure Weird Behaviours (mmiowb()) In-Reply-To: References: <20190301140348.25175-1-will.deacon@arm.com> Date: Sat, 02 Mar 2019 23:56:44 +1100 Message-ID: <871s3pjuyb.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > Love the acronym, and the series looks good to me. > > Michael - can you check (or maybe you already did?) that this works > for ppc too, and doesn't have any gotcha's? Yeah it looks fine to me. I gave it a quick boot with a patch to count how many mb()s we actually issue in the spin_unlock() path and it's definitely hitting that path correctly. So it works at least as well as the old code. cheers