Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2056170lqb; Mon, 27 May 2024 06:37:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrF525pm1+cxVC11FnOHav4rgrA2Da3lgwcMU9CtEjj88oNysHlqmCz2D2qsmUV03yfXAZIsPXf1+J08QU4KHOCypZhXqACJyzr7+Feg== X-Google-Smtp-Source: AGHT+IGgOWuQgxKgUUq7bhOzfpEcXfLAsI9ud4vAeS4Y3zkwiRSvL6BjganuecH/1GtPpxiBrc/a X-Received: by 2002:a17:906:b0cf:b0:a59:aa7a:3b16 with SMTP id a640c23a62f3a-a62616defe6mr806809566b.4.1716817052561; Mon, 27 May 2024 06:37:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716817052; cv=pass; d=google.com; s=arc-20160816; b=VAXpGJ7P17s4Uehos22rJ1EklW77B5szaH2DWUnn8EIpBvkO2EUc8s1eMXt4YdgxZ1 1SrDTBg0krGLOoTaBnvyPVRqdPTOo/OlmbRmz6C4YWCo22Q8my1SDNLvt79bvYK4Y0ry ETd8UVe/HnxWfem9cw9xk1d/vIXQgDMA6rMtLeNx7LJXdSJ30PBa9kf6FdccDpq78UM/ vynIWs1cXvbYZyXYaB9Pl1LdYz309mf3grgiefgoFLhsX7p3wKZQQyMhvG3JA8L2G0aG a5X3sSCKWMwP0emHYo97M/LCtb7dBx/a0w1BDJJovaecRRXyuLbopdWL38gfu7Scu7hK tLKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=Gwx/aWtQgwLT5feweyxhM9LWIP1Lj/F23/cxWqR7snM=; fh=pR5kRAt/pC4rdZJByYaF2A5Wur2nD8WFEZRutqykobE=; b=ehkLjKUpSo7kTY2QAJniBV2Dzbq9MbiM5sfXVTz33FRQ3eooHg6wkEjzAwPjxZIIyh ZwLswBQa7ZsxjxzYJZLHTj7l6xILBLJL22OTS9nagkJhjxWVwjRvjY+zyh4jXZnWKGSn 1OZK3zxShcheQkU5tzCC8v8nfBHTzssBILpDogVH5LUdWD0LjeG480U4fFCt6lyoDV0V mIQfig27s+g8iO0LzoHODnM1iVhqqXQiH3WAKFAEs8TInxRVxJm5izWKNdPfZE5S7rnM 9FWPwIlQufuGHY6bsXmO5I1AzOuu+8ryORigYVHVGi/8IDsP9CYbI2xpKOvR0d+zLPKL e/dQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-190725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc38a68si395445566b.432.2024.05.27.06.37.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:37:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-190725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E40851F2282A for ; Mon, 27 May 2024 13:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63CD11607BB; Mon, 27 May 2024 13:33:46 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id D2D4615FCFC for ; Mon, 27 May 2024 13:33:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.131.102.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716816825; cv=none; b=Nfb88o7HX2tqckPds6S8KhKyq0GB+4nvI7Lz9fa1BE5hSmuJUK1FWZqEBtov7JeBygoORT8zznw4MldLLvoBsArc8PeIdxSa800NCWfDviDYHWcjQov22psDPSaQ1BfEf9JbF03sUDK+UbjlWgZ5EXldKj4BnK+W2b4swTWyGzc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716816825; c=relaxed/simple; bh=HLaKj1OSX8J0+4JnLklX1GmIqpZ/oWIWx0x5KuNhncQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mbskFbh2BMpsWEKCDQNXodHm69sjGb3I5W/4Kq1UyKrDggHpQD6vSBsbkMkonyeYDufMEu7VWyk/Mq6+jHLgBUujL8Uep3cv4sXOGXI8+DITaZVA8DqH5rKKSLAU4q67lH0/PszDn+tBQjKpDaOYfaFcWlOnEdGOj2u9m6z21Hw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu; spf=pass smtp.mailfrom=netrider.rowland.org; arc=none smtp.client-ip=192.131.102.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 659937 invoked by uid 1000); 27 May 2024 09:33:37 -0400 Date: Mon, 27 May 2024 09:33:37 -0400 From: Alan Stern To: Hernan Ponce de Leon Cc: Andrea Parri , will@kernel.org, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, paulmck@kernel.org, akiyks@gmail.com, dlustig@nvidia.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, jonas.oberhauser@huaweicloud.com Subject: Re: [PATCH] tools/memory-model: Document herd7 (internal) representation Message-ID: References: <20240524151356.236071-1-parri.andrea@gmail.com> <1c6d4146-86f8-4fd5-a23e-a95ba2464c9e@rowland.harvard.edu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, May 27, 2024 at 02:25:01PM +0200, Hernan Ponce de Leon wrote: > On 5/24/2024 6:00 PM, Andrea Parri wrote: > > > What's the difference between R and R*, or between W and W*? > > > > AFAIU, herd7 uses such notation, "*", to denote a load or a store which > > is also in RMW. > > I also got confused with this. What about the following notation? > > R[once,RMW] ->rmw W[once,RMW] Either way, it would be a good idea to add an explanation at the start of the file. Likewise, add an explanation that blank entries mean the same as the preceding row. Overall the table looks very good. Alan