From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 996E8C433FE for ; Mon, 17 Oct 2022 20:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230218AbiJQUz2 (ORCPT ); Mon, 17 Oct 2022 16:55:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230234AbiJQUzZ (ORCPT ); Mon, 17 Oct 2022 16:55:25 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FEC876776; Mon, 17 Oct 2022 13:55:23 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8813B5C01E6; Mon, 17 Oct 2022 16:55:22 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Mon, 17 Oct 2022 16:55:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1666040122; x=1666126522; bh=+qBFyhMlkS abrrW/8a05Q/4iICjjOB6IvZsreneX9MQ=; b=bNvOlCVpzRp/2uZGEkvUxBx7iZ eU50zC56oAzMKdyPfOBkLM1ONdt0j2ao2ctXZBwDgrG5kS+YZnGDz+Nm+6FCONnO l8lXigm+EqRajvY0YYIRZVofgboZUr6aSdo1zhf7DT1M3Vo7mRQqjgfgi8vSN3Pi Wiy1fIcG5tnzQcKgsocVEB86f7jVVgIslrGkwh8hGZ+WYypHKNdNPjPtLpG/V89g oGBI+uuOzdgfhFPFGJhDWnxFNZQjLRCePyhvzw/QhaLpNpOeKgAzpTnnkB5eDWa0 57JhIWRQINgPxXglDvx2i9RHMWLWBZfxl0oX1iIVu3LlnBKbFWPsu5Ah6yIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1666040122; x=1666126522; bh=+qBFyhMlkSabrrW/8a05Q/4iICjj OB6IvZsreneX9MQ=; b=U6QVu6Zbk9rUuWnTFnnUiT/EfY+n7O+4l3ylSeogS9Lr fZ83IbXktouJ41DegoPQ4HU2G8gJt0NgywqKX2hqaGqSHdzSvQUbJbvT1mt6rsfR jMGDzxfVpt0KvsZ+3PAktkbuuYHmz/D3UCBaU2cRxSYbLMOpJGAKwljhilLusUGv f8B53D9i8+z73IJZjMayu6pB3jsWNcJJxG7JhYriAoWXOIAatCjTw73vbuzTxtA8 jjCoFn9plBxcYTnQHPQbQa/loEy6+0DJSBo1YDl07rEYNKZCrSKW0o8DDajIO0L8 UU2OeDtOyahFz8emUhXFLUuKZBdn0C3ZH5tvhbzmSQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeekledgudehhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffegffdutddvhefffeeltefhjeejgedvleffjeeigeeuteelvdettddulefg udfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2B047B60086; Mon, 17 Oct 2022 16:55:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1047-g9e4af4ada4-fm-20221005.001-g9e4af4ad Mime-Version: 1.0 Message-Id: In-Reply-To: <20221010101331.29942-1-parav@nvidia.com> References: <20221010101331.29942-1-parav@nvidia.com> Date: Mon, 17 Oct 2022 22:55:00 +0200 From: "Arnd Bergmann" To: "Parav Pandit" , bagasdotme@gmail.com, "Alan Stern" , parri.andrea@gmail.com, "Will Deacon" , "Peter Zijlstra" , boqun.feng@gmail.com, "Nicholas Piggin" , dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, "Paul E. McKenney" , "Akira Yokosawa" , dlustig@nvidia.com, "Joel Fernandes" , "Jonathan Corbet" , linux-kernel@vger.kernel.org, Linux-Arch , linux-doc@vger.kernel.org Subject: Re: [PATCH v4] locking/memory-barriers.txt: Improve documentation for writel() example Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Mon, Oct 10, 2022, at 12:13 PM, Parav Pandit wrote: > The cited commit describes that when using writel(), explcit wmb() > is not needed. wmb() is an expensive barrier. writel() uses the needed > platform specific barrier instead of expensive wmb(). > > Hence update the example to be more accurate that matches the current > implementation. > > commit 5846581e3563 ("locking/memory-barriers.txt: Fix broken DMA vs. > MMIO ordering example") > > Signed-off-by: Parav Pandit I have no objections, though I still don't see a real need to change the wording here. Acked-by: Arnd Bergmann